RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Name Information Identifiers

This section lists the parts of an R_CERT_NAME that can be set and/or retrieved. The following table details the data types to pass into value when calling R_CERT_NAME_get_info().

Identifier Value Data Type
R_CERT_NAME_INFO_TYPE int *
R_CERT_NAME_INFO_ENTRY_COUNT int *
R_CERT_NAME_INFO_ENTRY R_INDEXED_INFO *
R_CERT_NAME_INFO_HASH R_UINT32 *

The following table details the data types to pass into value when calling R_CERT_NAME_set_info().

Identifier Value Data Type
R_CERT_NAME_INFO_ENTRY R_INDEXED_INFO *


Defines

#define R_CERT_NAME_INFO_TYPE
 Indicates the type of the name in the certificate. More...

#define R_CERT_NAME_INFO_R_CERT_CTX
 Indicates the certificate context used to generate the name.

#define R_CERT_NAME_INFO_ENTRY_COUNT
 Indicates the number of entries in the certificate name. More...

#define R_CERT_NAME_INFO_ENTRY
 Indicates an entry in the certificate name. More...

#define R_CERT_NAME_INFO_HASH
 Indicates an identifier for the certificate name. More...


Define Documentation

#define R_CERT_NAME_INFO_ENTRY
 

Indicates an entry in the certificate name. R_CERT_NAME_get_info() returns the index value specified by the caller and a reference to the certificate name entry.

Parameters:
value [In] A pointer to R_INDEXED_INFO.
value->index [In] The index into the list of name entries.
value->data [Out] The certificate name entry as an R_CERT_NAME_ENTRY object.
note.gif
Structure value fields value->len and value->value are ignored.
R_CERT_NAME_set_info() adds a certificate name entry to the list in the certificate name.
Parameters:
value [In] A pointer to R_ITEM.
value->index [Out] The index into the list of certificates.
value->data [In] The certificate name entry as an R_CERT_NAME_ENTRY object.
note.gif
Structure value fields value->len and value->value are ignored.

#define R_CERT_NAME_INFO_ENTRY_COUNT
 

Indicates the number of entries in the certificate name. The following table details the usage of the identifier in Name Functions.

Function Value Data Type Description
R_CERT_NAME_get_info() int * Returns the number of entries in the certificate name.

#define R_CERT_NAME_INFO_HASH
 

Indicates an identifier for the certificate name. The following table details the usage of the identifier in Name Functions.

Function Value Data Type Description
R_CERT_NAME_get_info() R_UINT32 * Returns an identifier for the certificate name.

#define R_CERT_NAME_INFO_TYPE
 

Indicates the type of the name in the certificate. The following table details the usage of the identifier in Name Functions.

Function Value Data Type Description
R_CERT_NAME_get_info() int * Returns the type of the name in the certificate. For names of an X.509 certificate the value will be R_CERT_TYPE_X509.


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