Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Variables
secdert.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DERTemplateStr

Defines

#define DER_DEFAULT_CHUNKSIZE   (2048)
#define DER_TAG_MASK   0xff
#define DER_TAGNUM_MASK   0x1f
#define DER_BOOLEAN   0x01
#define DER_INTEGER   0x02
#define DER_BIT_STRING   0x03
#define DER_OCTET_STRING   0x04
#define DER_NULL   0x05
#define DER_OBJECT_ID   0x06
#define DER_SEQUENCE   0x10
#define DER_SET   0x11
#define DER_PRINTABLE_STRING   0x13
#define DER_T61_STRING   0x14
#define DER_IA5_STRING   0x16
#define DER_UTC_TIME   0x17
#define DER_VISIBLE_STRING   0x1a
#define DER_HIGH_TAG_NUMBER   0x1f
#define DER_METHOD_MASK   0x20
#define DER_PRIMITIVE   0x00
#define DER_CONSTRUCTED   0x20
#define DER_CLASS_MASK   0xc0
#define DER_UNIVERSAL   0x00
#define DER_APPLICATION   0x40
#define DER_CONTEXT_SPECIFIC   0x80
#define DER_PRIVATE   0xc0
#define DER_OPTIONAL   0x00100
#define DER_EXPLICIT   0x00200
#define DER_ANY   0x00400
#define DER_INLINE   0x00800
#define DER_POINTER   0x01000
#define DER_INDEFINITE   0x02000
#define DER_DERPTR   0x04000
#define DER_SKIP   0x08000
#define DER_FORCE   0x10000
#define DER_OUTER   0x40000 /* for DER_DERPTR */
#define DER_ConvertBitString(item)

Typedefs

typedef struct DERTemplateStr

Variables

DERTemplate SECAnyTemplate []
DERTemplate SECBitStringTemplate []
DERTemplate SECBooleanTemplate []
DERTemplate SECIA5StringTemplate []
DERTemplate SECIntegerTemplate []
DERTemplate SECNullTemplate []
DERTemplate SECObjectIDTemplate []
DERTemplate SECOctetStringTemplate []
DERTemplate SECPrintableStringTemplate []
DERTemplate SECT61StringTemplate []
DERTemplate SECUTCTimeTemplate []
DERTemplate SECAlgorithmIDTemplate []

Class Documentation

struct DERTemplateStr

Definition at line 56 of file secdert.h.

Class Members
unsigned long arg
unsigned long kind
unsigned int offset
DERTemplate * sub

Define Documentation

#define DER_ANY   0x00400

Definition at line 142 of file secdert.h.

#define DER_APPLICATION   0x40

Definition at line 131 of file secdert.h.

#define DER_BIT_STRING   0x03

Definition at line 107 of file secdert.h.

#define DER_BOOLEAN   0x01

Definition at line 105 of file secdert.h.

#define DER_CLASS_MASK   0xc0

Definition at line 129 of file secdert.h.

#define DER_CONSTRUCTED   0x20

Definition at line 127 of file secdert.h.

Definition at line 132 of file secdert.h.

Value:
{                                    \
    (item)->len = ((item)->len + 7) >> 3; \
}

Definition at line 155 of file secdert.h.

Definition at line 91 of file secdert.h.

#define DER_DERPTR   0x04000

Definition at line 146 of file secdert.h.

#define DER_EXPLICIT   0x00200

Definition at line 141 of file secdert.h.

#define DER_FORCE   0x10000

Definition at line 148 of file secdert.h.

Definition at line 118 of file secdert.h.

#define DER_IA5_STRING   0x16

Definition at line 115 of file secdert.h.

#define DER_INDEFINITE   0x02000

Definition at line 145 of file secdert.h.

#define DER_INLINE   0x00800

Definition at line 143 of file secdert.h.

#define DER_INTEGER   0x02

Definition at line 106 of file secdert.h.

#define DER_METHOD_MASK   0x20

Definition at line 125 of file secdert.h.

#define DER_NULL   0x05

Definition at line 109 of file secdert.h.

#define DER_OBJECT_ID   0x06

Definition at line 110 of file secdert.h.

Definition at line 108 of file secdert.h.

#define DER_OPTIONAL   0x00100

Definition at line 140 of file secdert.h.

#define DER_OUTER   0x40000 /* for DER_DERPTR */

Definition at line 149 of file secdert.h.

#define DER_POINTER   0x01000

Definition at line 144 of file secdert.h.

#define DER_PRIMITIVE   0x00

Definition at line 126 of file secdert.h.

Definition at line 113 of file secdert.h.

#define DER_PRIVATE   0xc0

Definition at line 133 of file secdert.h.

#define DER_SEQUENCE   0x10

Definition at line 111 of file secdert.h.

#define DER_SET   0x11

Definition at line 112 of file secdert.h.

#define DER_SKIP   0x08000

Definition at line 147 of file secdert.h.

#define DER_T61_STRING   0x14

Definition at line 114 of file secdert.h.

#define DER_TAG_MASK   0xff

Definition at line 96 of file secdert.h.

#define DER_TAGNUM_MASK   0x1f

Definition at line 104 of file secdert.h.

#define DER_UNIVERSAL   0x00

Definition at line 130 of file secdert.h.

#define DER_UTC_TIME   0x17

Definition at line 116 of file secdert.h.

Definition at line 117 of file secdert.h.


Typedef Documentation

typedef struct DERTemplateStr

Definition at line 46 of file secdert.h.


Variable Documentation

DERTemplate SECAlgorithmIDTemplate[]

Definition at line 78 of file nsKeygenHandler.cpp.

DERTemplate SECAnyTemplate[]

Definition at line 43 of file derenc.c.

DERTemplate SECBitStringTemplate[]

Definition at line 48 of file derenc.c.

DERTemplate SECBooleanTemplate[]

Definition at line 53 of file derenc.c.

DERTemplate SECIA5StringTemplate[]

Definition at line 58 of file derenc.c.

DERTemplate SECIntegerTemplate[]

Definition at line 63 of file derenc.c.

DERTemplate SECNullTemplate[]

Definition at line 68 of file derenc.c.

DERTemplate SECObjectIDTemplate[]

Definition at line 73 of file derenc.c.

DERTemplate SECOctetStringTemplate[]

Definition at line 78 of file derenc.c.

Definition at line 83 of file derenc.c.

DERTemplate SECT61StringTemplate[]

Definition at line 88 of file derenc.c.

DERTemplate SECUTCTimeTemplate[]

Definition at line 93 of file derenc.c.