DName Struct Reference

#include <cert.h>

Collaboration diagram for DName:

Collaboration graph

Detailed Description

Data type used for representing and processing X.500 distinguished names.


Public Member Functions

void clear ()
 Clear the DName object.
str toasn1 () const
 Get an ASN.1 DER-encoded string representation of the DN.

Data Fields

str country
 country name
str cname
 common name
str org
 organization name
str orgunit
 organizational unit name 1
str orgunit2
 organizational unit name 2
str title
 title
str city
 locality name
str state
 state or province name
str uid
 unique ID
str email
 e-mail address (deprecated)
str serial
 serial number


Member Function Documentation

void clear (  ) 

Clear the DName object.

Remarks:
All data members are zeroized.

str toasn1 (  )  const

Get an ASN.1 DER-encoded string representation of the DN.

Input: The data members to be ASN.1 encoded have been filled in.

Returns:
an ASN.1 DER-encoded representation of the DN.


The documentation for this struct was generated from the following file:
ISC Cryptographic Development Kit - User's Guide
ISC website
Questions? E-mail ISC technical support
Copyright© 2002-2006 Information Security Corp. All rights reserved.