cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Typedefs | Functions | Variables
dn.h File Reference

Go to the source code of this file.

Classes

struct  DC
 
struct  DN_COMPONENT_INFO
 

Macros

#define DN_FLAG_NONE   0x00 /* No DN flag */
 
#define DN_FLAG_CONTINUED   0x01 /* RDN continues with another AVA */
 
#define DN_FLAG_LOCKED   0x02 /* RDN can't be modified */
 
#define DN_FLAG_NOCHECK   0x08 /* Don't check validity of components */
 
#define DN_FLAG_MAX   0x0F /* Maximum possible flag value */
 
#define DN_FLAGS_COMPARE_MASK   ( DN_FLAG_CONTINUED )
 

Typedefs

typedef struct DC DN_COMPONENT
 

Functions

CHECK_RETVAL_PTR STDC_NONNULL_ARG ((1)) const DN_COMPONENT_INFO *findDNInfoByOID(IN_BUFFER(oidLength) const BYTE *oid
 
CHECK_RETVAL_PTR STDC_NONNULL_ARG ((1, 3, 7)) int insertDNstring(INOUT DN_COMPONENT **dnComponentListPtrPtr
 
CHECK_RETVAL_PTR IN_INT const int IN_BUFFER (valueLength) const void *value
 
CHECK_RETVAL_PTR IN_INT const
int IN_LENGTH_SHORT const int 
IN_RANGE (1, 20) const int valueStringType
 
CHECK_RETVAL_PTR IN_INT const
int IN_LENGTH_SHORT const int 
IN_FLAGS_Z (DN) const int flags
 
CHECK_RETVAL_PTR IN_INT const
int IN_LENGTH_SHORT const int 
OUT_ENUM_OPT (CRYPT_ERRTYPE_TYPE) CRYPT_ERRTYPE_TYPE *errorType)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 3, 4, 5)) int getAsn1StringInfo(IN_BUFFER(stringLen) const void *string
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
OUT_RANGE (0, 20) int *stringType
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 3, 4)) int copyToAsn1String(OUT_BUFFER(destMaxLen
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int 
IN_BUFFER (sourceLen) const void *source
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int
IN_LENGTH_SHORT const int 
IN_RANGE (0, 20) const int stringType)
 

Variables

CHECK_RETVAL_PTR IN_LENGTH_OID
const int 
oidLength
 
CHECK_RETVAL_PTR IN_INT const int type
 
CHECK_RETVAL_PTR IN_INT const
int IN_LENGTH_SHORT const int 
valueLength
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
stringLen
 
CHECK_RETVAL IN_LENGTH_SHORT
const int int * 
asn1StringType
 
CHECK_RETVAL IN_LENGTH_SHORT
const int int
OUT_LENGTH_SHORT_Z int * 
asn1StringLen
 
CHECK_RETVAL *destLen void * dest
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int 
destMaxLen
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int * 
destLen
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int
IN_LENGTH_SHORT const int 
sourceLen
 
CHECK_RETVAL *destLen void
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int
IN_LENGTH_SHORT const int
IN_TAG_ENCODED const int 
stringTag
 

Macro Definition Documentation

#define DN_FLAG_CONTINUED   0x01 /* RDN continues with another AVA */

Definition at line 28 of file dn.h.

#define DN_FLAG_LOCKED   0x02 /* RDN can't be modified */

Definition at line 29 of file dn.h.

#define DN_FLAG_MAX   0x0F /* Maximum possible flag value */

Definition at line 31 of file dn.h.

#define DN_FLAG_NOCHECK   0x08 /* Don't check validity of components */

Definition at line 30 of file dn.h.

#define DN_FLAG_NONE   0x00 /* No DN flag */

Definition at line 27 of file dn.h.

#define DN_FLAGS_COMPARE_MASK   ( DN_FLAG_CONTINUED )

Definition at line 37 of file dn.h.

Typedef Documentation

typedef struct DC DN_COMPONENT

Function Documentation

CHECK_RETVAL_PTR IN_INT const int IN_BUFFER ( valueLength  ) const
CHECK_RETVAL * destLen void IN_LENGTH_SHORT const int OUT_LENGTH_SHORT_Z int IN_BUFFER ( sourceLen  ) const
CHECK_RETVAL_PTR IN_INT const int IN_LENGTH_SHORT const int IN_FLAGS_Z ( DN  ) const
CHECK_RETVAL_PTR IN_INT const int IN_LENGTH_SHORT const int IN_RANGE ( ,
20   
) const
CHECK_RETVAL * destLen void IN_LENGTH_SHORT const int OUT_LENGTH_SHORT_Z int IN_LENGTH_SHORT const int IN_RANGE ( ,
20   
) const
CHECK_RETVAL *destLen void IN_LENGTH_SHORT const int OUT_LENGTH_SHORT_Z int OUT_RANGE ( ,
20   
)
CHECK_RETVAL_PTR STDC_NONNULL_ARG ( (1)  ) const
CHECK_RETVAL_PTR STDC_NONNULL_ARG ( (1, 3, 7)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3, 4, 5)  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3, 4)  )

Variable Documentation

Definition at line 115 of file dn.h.

CHECK_RETVAL IN_LENGTH_SHORT const int int* asn1StringType

Definition at line 115 of file dn.h.

CHECK_RETVAL *destLen void * dest

Definition at line 118 of file dn.h.

CHECK_RETVAL *destLen void OUT_LENGTH_Z int * destLen

Definition at line 118 of file dn.h.

CHECK_RETVAL *destLen void IN_LENGTH_SHORT const int destMaxLen

Definition at line 118 of file dn.h.

Definition at line 93 of file dn.h.

Definition at line 122 of file dn.h.

Definition at line 113 of file dn.h.

Definition at line 130 of file dn.h.

Definition at line 101 of file dn.h.

Definition at line 103 of file dn.h.