Module: Miscellaneous
Definition in file ASN1Errors.h.
#include "components.h"
Go to the source code of this file.
Defines | |
#define | ASN1_DECODE_ERROR TOOLKIT_ASN_ERROR_BASE + 1 |
#define | ASN1_ENCODE_ERROR TOOLKIT_ASN_ERROR_BASE + 2 |
#define | ASN1_UNRECOGNIZED_TIME_FORMAT TOOLKIT_ASN_ERROR_BASE + 3 |
A parsed time value was in an unrecognized format. | |
#define | ASN1_INVALID_PERIOD TOOLKIT_ASN_ERROR_BASE + 4 |
An invalid time period was specified, e.g. end time before start time. | |
#define | ASN1_INVALID_TIME TOOLKIT_ASN_ERROR_BASE + 5 |
An invalid time value was encountered, e.g. February 30th. | |
#define | ASN1_INVALID_OID TOOLKIT_ASN_ERROR_BASE + 6 |
An invalid object identifier value was encountered, e.g. 1.2.X.3.4. |
#define ASN1_DECODE_ERROR TOOLKIT_ASN_ERROR_BASE + 1 |
An attempt to parse an encoded object failed. Possible causes include: the encoded object is not of the type being parsed; the encoding is incorrect; the encoded data is corrupt
Definition at line 12 of file ASN1Errors.h.
Referenced by CompareHashes(), CPKIFTSTInfo::Decode(), CPKIFTimeStampResponse::Decode(), CPKIFOCSPResponse::Decode(), CPKIFOCSPRequest::Decode(), CPKIFBasicOCSPResponse::Decode(), CPKIFASNWrapper< T >::Decode(), CPKIFEnvelopedData::Decrypt(), CPKIFEncryptedData::Decrypt(), CPKIFPathBasicChecks2::DoChecks(), GetErrorCodeString(), IPKIFHasExtensions::GetExtension(), and GetSymmetricKey().
#define ASN1_ENCODE_ERROR TOOLKIT_ASN_ERROR_BASE + 2 |
An attempt to produce an encoded version of an object failed. Typically this occurs because the object being encoded is incomplete or a component required to produce the encoding (e.g. a private key to generate a signature) is not available
Definition at line 17 of file ASN1Errors.h.
Referenced by CPKIFASNWrapper< T >::Encode(), EncodeIVAsOctetString(), GetErrorCodeString(), CPKIFMessageDigestAttribute::GetValues(), and CPKIFContentTypeAttribute::GetValues().
#define ASN1_INVALID_OID TOOLKIT_ASN_ERROR_BASE + 6 |
An invalid object identifier value was encountered, e.g. 1.2.X.3.4.
Definition at line 29 of file ASN1Errors.h.
Referenced by CPKIFOID::CPKIFOID(), and CPKIFOID::ToString().
#define ASN1_INVALID_PERIOD TOOLKIT_ASN_ERROR_BASE + 4 |
An invalid time period was specified, e.g. end time before start time.
Definition at line 23 of file ASN1Errors.h.
Referenced by CPKIFPeriod::CPKIFPeriod(), CPKIFPeriod::end(), GetErrorCodeString(), and CPKIFPeriod::start().
#define ASN1_INVALID_TIME TOOLKIT_ASN_ERROR_BASE + 5 |
An invalid time value was encountered, e.g. February 30th.
Definition at line 26 of file ASN1Errors.h.
Referenced by fromGenTime(), fromUtcTime(), GetErrorCodeString(), and CPKIFTime::set().
#define ASN1_UNRECOGNIZED_TIME_FORMAT TOOLKIT_ASN_ERROR_BASE + 3 |
A parsed time value was in an unrecognized format.
Definition at line 20 of file ASN1Errors.h.
Referenced by GetErrorCodeString().