|
#define | XM_SEEK 0x01 |
|
#define | XM_ADVANCE 0x02 |
|
#define | XM_DYNAMIC 0x04 |
|
#define | XM_SKIP 0x08 |
|
#define | XM_OPTIONAL 0x10 |
|
#define | ASN_K_MAXDEPTH 32 |
|
#define | ASN_K_MAXENUM 100 |
|
#define | ASN_K_MAXERRP 5 |
|
#define | ASN_K_MAXERRSTK 8 |
|
#define | ASN_K_ENCBUFSIZ 16*1024 |
|
#define | ASN_K_MEMBUFSEG 1024 |
|
#define | OSRTINDENTSPACES 3 |
|
#define | ASN1_K_PLUS_INFINITY 0x40 |
|
#define | ASN1_K_MINUS_INFINITY 0x41 |
|
#define | ASN1_K_NOT_A_NUMBER 0x42 |
|
#define | ASN1_K_MINUS_ZERO 0x43 |
|
#define | REAL_BINARY 0x80 |
|
#define | REAL_SIGN 0x40 |
|
#define | REAL_EXPLEN_MASK 0x03 |
|
#define | REAL_EXPLEN_1 0x00 |
|
#define | REAL_EXPLEN_2 0x01 |
|
#define | REAL_EXPLEN_3 0x02 |
|
#define | REAL_EXPLEN_LONG 0x03 |
|
#define | REAL_FACTOR_MASK 0x0c |
|
#define | REAL_BASE_MASK 0x30 |
|
#define | REAL_BASE_2 0x00 |
|
#define | REAL_BASE_8 0x10 |
|
#define | REAL_BASE_16 0x20 |
|
#define | REAL_ISO6093_MASK 0x3F |
|
#define | ASN1REALMAX (OSREAL)DBL_MAX |
|
#define | ASN1REALMIN (OSREAL)-DBL_MAX |
|
#define | ASN_K_MAXSUBIDS 128 /* maximum sub-id's in an object ID */ |
|
#define | ASN1DynOctStr OSDynOctStr |
|
#define | ASN1DynOctStr64 OSDynOctStr64 |
|
#define | OSSETBIT(bitStr, bitIndex) rtxSetBit (bitStr.data, bitStr.numbits, bitIndex) |
|
#define | OSSETBITP(pBitStr, bitIndex) rtxSetBit ((pBitStr)->data, (pBitStr)->numbits, bitIndex) |
|
#define | OSCLEARBIT(bitStr, bitIndex) rtxClearBit (bitStr.data, bitStr.numbits, bitIndex) |
|
#define | OSCLEARBITP(pBitStr, bitIndex) rtxClearBit ((pBitStr)->data, (pBitStr)->numbits, bitIndex) |
|
#define | OSTESTBIT(bitStr, bitIndex) rtxTestBit (bitStr.data, bitStr.numbits, bitIndex) |
|
#define | OSTESTBITP(pBitStr, bitIndex) rtxTestBit ((pBitStr)->data, (pBitStr)->numbits, bitIndex) |
|
#define | ASN1TIMEFIELD_CENTURY 0x01 |
|
#define | ASN1TIMEFIELD_YEAR 0x02 |
|
#define | ASN1TIMEFIELD_MONTH 0x04 |
|
#define | ASN1TIMEFIELD_DAY 0x08 |
|
#define | ASN1TIMEFIELD_WEEK 0x10 |
|
#define | ASN1TIMEFIELD_HOUR 0x20 |
|
#define | ASN1TIMEFIELD_MIN 0x40 |
|
#define | ASN1TIMEFIELD_SEC 0x80 |
|
#define | ASN1TIMEFIELD_Z 0x0100 |
|
#define | ASN1TIMEFIELD_DIFF 0x0200 |
|
#define | ASN1TIMEFIELD_INTERVAL_SE 0x0400 |
|
#define | ASN1TIMEFIELD_DURATION 0x0800 |
|
#define | ASN1TIMEFIELD_INTERVAL_SD 0x1000 |
|
#define | ASN1TIMEFIELD_INTERVAL_DE 0x2000 |
|
#define | ASN1TIMEFIELD_RECUR_INF 0x4000 |
|
#define | ASN1TIMEFIELD_POINT |
|
#define | ASN1_K_CCBMaskSize 32 |
|
#define | ASN1_K_NumBitsPerMask 16 |
|
#define | ASN1_K_MaxSetElements (ASN1_K_CCBMaskSize*ASN1_K_NumBitsPerMask) |
|
#define | ALLOC_ASN1ARRAY(pctxt, pseqof, type) |
|
#define | ALLOC_ASN1ARRAY1(pctxt, pseqof, type) |
|
#define | ASN1NUMOCTS(nbits) ((nbits>0)?(((nbits-1)/8)+1):0) |
|
|
void | rtSetOID (ASN1OBJID *ptarget, ASN1OBJID *psource) |
|
void | rtAddOID (ASN1OBJID *ptarget, ASN1OBJID *psource) |
|
OSBOOL | rtOIDsEqual (const ASN1OBJID *pOID1, const ASN1OBJID *pOID2) |
|
int | rtOIDParseCompList (const char *str, OSSIZE strlen, ASN1OBJID *pvalue) |
|
int | rtOIDParseString (const char *oidstr, OSSIZE oidstrlen, ASN1OBJID *pvalue) |
|
int | rtRelOIDParseCompList (const char *str, OSSIZE strlen, ASN1OBJID *pvalue) |
|
int | rtRelOIDParseString (const char *oidstr, OSSIZE oidstrlen, ASN1OBJID *pvalue) |
|
int | rtOIDParseDottedNumberString (const char *oidstr, OSSIZE oidstrlen, ASN1OBJID *pvalue) |
|
OSBOOL | rtOIDIsValid (const ASN1OBJID *pvalue) |
|
int | rtDecOIDSubIds (OSCTXT *pctxt, OSUINT32 subidArray[], OSSIZE subidArraySize, int enclen) |
|
int | rtMakeGeneralizedTime (OSCTXT *pctxt, const OSNumDateTime *dateTime, char **outdata, size_t outdataSize) |
|
int | rtMakeTime (OSCTXT *pctxt, const ASN1Time *timeVal, char **outdata, size_t outdataSize) |
|
int | rtMakeUTCTime (OSCTXT *pctxt, const OSNumDateTime *dateTime, char **outdata, size_t outdataSize) |
|
int | rtParseGeneralizedTime (OSCTXT *pctxt, const char *value, OSNumDateTime *dateTime) |
|
int | rtParseGeneralizedTime2 (OSCTXT *pctxt, const char *value, OSNumDateTime *dateTime, OSBOOL logCanon) |
|
int | rtParseUTCTime (OSCTXT *pctxt, const char *value, OSNumDateTime *dateTime) |
|
int | rtParseUTCTime2 (OSCTXT *pctxt, const char *value, OSNumDateTime *dateTime, OSBOOL logCanon) |
|
int | rtParseTime (OSCTXT *pctxt, const char *value, ASN1Time *timeVal, OSBOOL logCanon) |
|
void | normalizeTimeZone (OSNumDateTime *pvalue) |
|
int | rtValidateStr (ASN1TAG tag, const char *pdata) |
|
int | rtValidateChars (ASN1TAG tag, const char *pdata, size_t nchars) |
|
const char * | rtBMPToCString (ASN1BMPString *pBMPString, char *cstring, OSSIZE cstrsize) |
|
const char * | rtBMPToNewCString (ASN1BMPString *pBMPString) |
|
const char * | rtBMPToNewCStringEx (OSCTXT *pctxt, ASN1BMPString *pBMPString) |
|
ASN1BMPString * | rtCToBMPString (OSCTXT *pctxt, const char *cstring, ASN1BMPString *pBMPString, Asn116BitCharSet *pCharSet) |
|
OSBOOL | rtIsIn16BitCharSet (OSUNICHAR ch, Asn116BitCharSet *pCharSet) |
|
const char * | rtUCSToCString (ASN1UniversalString *pUCSString, char *cstring, OSSIZE cstrsize) |
|
const char * | rtUCSToNewCString (ASN1UniversalString *pUCSString) |
|
const char * | rtUCSToNewCStringEx (OSCTXT *pctxt, ASN1UniversalString *pUCSString) |
|
ASN1UniversalString * | rtCToUCSString (OSCTXT *pctxt, const char *cstring, ASN1UniversalString *pUCSString, Asn132BitCharSet *pCharSet) |
|
OSBOOL | rtIsIn32BitCharSet (OS32BITCHAR ch, Asn132BitCharSet *pCharSet) |
|
wchar_t * | rtUCSToWCSString (ASN1UniversalString *pUCSString, wchar_t *wcstring, OSUINT32 wcstrsize) |
|
ASN1UniversalString * | rtWCSToUCSString (OSCTXT *pctxt, wchar_t *wcstring, ASN1UniversalString *pUCSString, Asn132BitCharSet *pCharSet) |
|
int | rtUnivStrToUTF8 (OSCTXT *pctxt, const ASN1UniversalString *pUnivStr, OSOCTET *outbuf, size_t outbufsiz) |
|
int | rtUTF8StrToASN1DynBitStr (OSCTXT *pctxt, const OSUTF8CHAR *utf8str, ASN1DynBitStr *pvalue) |
|
int | rtUTF8StrnToASN1DynBitStr (OSCTXT *pctxt, const OSUTF8CHAR *utf8str, size_t nbytes, ASN1DynBitStr *pvalue) |
|
Common ASN.1 runtime constants, data structure definitions, and run-time functions to support the BER/DER/PER/XER as defined in the ITU-T standards.