RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

r_format.h File Reference

This file contains public defines and functions for handling data encoding format identifiers.

#include "r_com.h"

Go to the source code of this file.

Defines

#define R_FORMAT_BINARY
 Indicates that the data is binary encoded.

#define R_FORMAT_TEXT
 Indicates that the data is text format encoded.

#define R_FORMAT_PEM
 Indicates that the data is Privacy Enhanced Mail (PEM) encoded.

#define R_FORMAT_CODE_BINARY
 Indicates that the data is in a C code function format.

#define R_FORMAT_CODE_FIELDS
 Indicates that the data is in a C code fields format.

#define R_FORMAT_CODE_HEX
 Indicates that the data is in a C code data format.

#define R_FORMAT_HEX
 Indicates that the data is in a plain hexadecimal Bytes format.


Typedefs

typedef int R_FORMAT
 The format flag. More...


Functions

int R_FORMAT_from_string (char *str, R_FORMAT *format)
 Converts the string str into a format identifier which is then returned. More...

int R_FORMAT_to_string (R_FORMAT format, size_t max_str_len, char *str)
 Returns the string for the format identifier type. More...


Copyright (c) 1999-2002 RSA Security Inc. All rights reserved. 061-001005-150-001-000-3768 - 1.5