#include <ASN1Helper.h>

TSP-enforcing: No
Definition at line 43 of file ASN1Helper.h.
Public Types | |
| typedef T *this_type::* | unspecified_bool_type |
Public Member Functions | |
| CPKIFASNWrapper (int(*pEncode)(OOCTXT *, T *, ASN1TagType), int(*pDecode)(OOCTXT *, T *, ASN1TagType, int)) | |
| ~CPKIFASNWrapper () | |
| T * | data () const |
| T * | operator-> () const |
| operator unspecified_bool_type () const | |
| bool | operator! () const |
| T * | Decode (const unsigned char *buf, int bufLen) |
| ASN1OpenType * | Encode (const T *ptrData) |
| void | clear () |
| T * | Decode (const ASN1OpenType &encoded_) |
| void | InitContext () |
| typedef T* this_type::* CPKIFASNWrapper< T >::unspecified_bool_type |
Definition at line 92 of file ASN1Helper.h.
| CPKIFASNWrapper< T >::CPKIFASNWrapper | ( | int(*)(OOCTXT *, T *, ASN1TagType) | pEncode, | |
| int(*)(OOCTXT *, T *, ASN1TagType, int) | pDecode | |||
| ) | [inline] |
| CPKIFASNWrapper< T >::~CPKIFASNWrapper | ( | ) | [inline] |
Interface: Subsystem
Destructor
Definition at line 71 of file ASN1Helper.h.
References CPKIFASNWrapper< T >::clear().
| T* CPKIFASNWrapper< T >::data | ( | ) | const [inline] |
Interface: Subsystem
This function returns a pointer to the object that is being encodes or decoded.
Definition at line 83 of file ASN1Helper.h.
Referenced by CPKIFGeneralName::Decode(), CPKIFContentCollection::Decode(), and CPKIFContentInfo::Decode().
| T* CPKIFASNWrapper< T >::operator-> | ( | ) | const [inline] |
Interface: Subsystem
-> operator that returns a pointer to the object that is being encodes or decoded.
Definition at line 91 of file ASN1Helper.h.
| CPKIFASNWrapper< T >::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 93 of file ASN1Helper.h.
| bool CPKIFASNWrapper< T >::operator! | ( | ) | const [inline] |
Interface: Subsystem
! operator that returns true if the object that is being encodes or decoded is NULL false otherwise
Definition at line 105 of file ASN1Helper.h.
| T* CPKIFASNWrapper< T >::Decode | ( | const unsigned char * | buf, | |
| int | bufLen | |||
| ) | [inline] |
Interface: Subsystem
Decode function that decodes the appropriate template object
Definition at line 116 of file ASN1Helper.h.
References COMMON_INVALID_INPUT, and TOOLKIT_ASN.
Referenced by CPKIFGeneralName::Decode(), CPKIFContentCollection::Decode(), CPKIFContentInfo::Decode(), and CPKIFOCSPRequest::GetRequest().
| ASN1OpenType* CPKIFASNWrapper< T >::Encode | ( | const T * | ptrData | ) | [inline] |
Interface: Subsystem
Encode function that encodes the appropriate template object
Definition at line 134 of file ASN1Helper.h.
References ASN1_ENCODE_ERROR, and TOOLKIT_ASN.
Referenced by CPKIFSigningTimeAttribute::GetValues(), and CPKIFSigningCertificateAttribute::GetValues().
| void CPKIFASNWrapper< T >::clear | ( | ) | [inline] |
Interface: Subsystem
This function frees the context used by objective
Definition at line 161 of file ASN1Helper.h.
References FreeASN1Context().
Referenced by CPKIFASNWrapper< T >::~CPKIFASNWrapper().
| T* CPKIFASNWrapper< T >::Decode | ( | const ASN1OpenType & | encoded_ | ) | [inline] |
Interface: Subsystem
Decode function that decodes the appropriate template object
Definition at line 180 of file ASN1Helper.h.
References ASN1_DECODE_ERROR, FreeASN1Context(), and TOOLKIT_ASN.
| void CPKIFASNWrapper< T >::InitContext | ( | ) | [inline] |
Interface: Subsystem
This function initializes objective context
Definition at line 216 of file ASN1Helper.h.
1.5.6