RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

r_oid_str.h File Reference

This file contains the functionality that manages the certificate Object Identifier (OID).

Go to the source code of this file.

Defines

#define R_OID_FORMAT_LONG_NAME
 Indicates a long format name. More...

#define R_OID_FORMAT_SHORT_NAME
 Indicates a short format name. More...

#define R_OID_FORMAT_DOTTED_NUMBER
 Indicates a dotted number format. More...

#define R_OID_DYNAMIC_OID
 Indicates that the R_OID structure was dynamically allocated.

#define R_OID_DYNAMIC_DATA
 Indicates that R_OID.data was dynamically allocated.


Typedefs

typedef int R_OID_FORMAT
 Indicates the format of an OID when represented as a string.

typedef int R_CERT_NAME_ENTRY_TYPE
 Indicates the type of certificate name type.

typedef struct r_oid_st R_OID
 Indicates the type of an object identifier.


Functions

int R_OID_init_with_constant (R_OID *oid, char *constant)
 Initializes an R_OID with an R_OID_* constant. More...

int R_CDECL R_OID_new (R_LIB_CTX *lib_ctx, R_OID **oid)
 Returns a new OID. More...

int R_CDECL R_OID_free (R_OID *oid)
 Frees an OID. More...

int R_CDECL R_OID_init (R_OID *oid, int flag, unsigned char *data, unsigned int len)
 Initializes an OID. More...

int R_CDECL R_OID_to_string (R_OID *oid, R_OID_FORMAT format, unsigned int max_str_len, char *str)
 Returns a string representation for the specified ASN.1 Object Identifier (OID) for the Distinguished Name (DN) elements. More...

int R_CDECL R_OID_from_string (R_LIB_CTX *lib_ctx, R_OID_FORMAT format, char *str, R_OID **oid)
 Returns an ASN.1 OID for the OID name string str. More...


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1