

|
errors
Synopsis
#define XMLSEC_ERRORS_R_MALLOC_FAILED
#define XMLSEC_ERRORS_R_XMLSEC_FAILED
#define XMLSEC_ERRORS_R_CRYPTO_FAILED
#define XMLSEC_ERRORS_R_XML_FAILED
#define XMLSEC_ERRORS_R_XSLT_FAILED
#define XMLSEC_ERRORS_R_IO_FAILED
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM_DATA
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM_OR_KEY
#define XMLSEC_ERRORS_R_INVALID_KEY
#define XMLSEC_ERRORS_R_INVALID_KEY_DATA
#define XMLSEC_ERRORS_R_INVALID_KEY_SIZE
#define XMLSEC_ERRORS_R_INVALID_KEY_ORIGIN
#define XMLSEC_ERRORS_R_KEY_NOT_FOUND
#define XMLSEC_ERRORS_R_INVALID_SIZE
#define XMLSEC_ERRORS_R_INVALID_DATA
#define XMLSEC_ERRORS_R_INVALID_TYPE
#define XMLSEC_ERRORS_R_INVALID_USAGE
#define XMLSEC_ERRORS_R_INVALID_NODE
#define XMLSEC_ERRORS_R_INVALID_NODESET
#define XMLSEC_ERRORS_R_INVALID_NODE_CONTENT
#define XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE
#define XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT
#define XMLSEC_ERRORS_R_SAME_DOCUMENT_REQUIRED
#define XMLSEC_ERRORS_R_NODE_NOT_FOUND
#define XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL
#define XMLSEC_ERRORS_R_CERT_VERIFY_FAILED
#define XMLSEC_ERRORS_R_CERT_NOT_FOUND
#define XMLSEC_ERRORS_R_CERT_REVOKED
#define XMLSEC_ERRORS_R_CERT_ISSUER_FAILED
#define XMLSEC_ERRORS_R_CERT_NOT_YET_VALID
#define XMLSEC_ERRORS_R_CERT_HAS_EXPIRED
#define XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE
#define XMLSEC_ERRORS_R_INVALID_STATUS
#define XMLSEC_ERRORS_R_DATA_NOT_MATCH
#define XMLSEC_ERRORS_R_UNEXPECTED_NODE
#define XMLSEC_ERRORS_R_INVALID_URI_TYPE
#define XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL
#define XMLSEC_ERRORS_R_ASSERTION
#define XMLSEC_ERRORS_R_DISABLED
#define XMLSEC_ERRORS_R_NOT_IMPLEMENTED
#define XMLSEC_ERRORS_R_TRANSFORM_DISABLED
#define XMLSEC_ERRORS_R_KEYDATA_DISABLED
#define XMLSEC_ERRORS_MAX_NUMBER
void (*xmlSecErrorsCallback) (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg);
void xmlSecErrorsInit (void);
void xmlSecErrorsShutdown (void);
void xmlSecErrorsSetCallback (xmlSecErrorsCallback callback);
void xmlSecErrorsDefaultCallback (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg);
int xmlSecErrorsGetCode (size_t pos);
const char* xmlSecErrorsGetMsg (size_t pos);
#define XMLSEC_ERRORS_HERE
#define xmlSecErrorsSafeString (str)
#define XMLSEC_ERRORS_NO_MESSAGE
const char* xmlSecErrorGetEmptyMessage (void);
void xmlSecError (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg,
...);
#define xmlSecAssert ( p )
#define xmlSecAssert2 ( p, ret ) |
Details
XMLSEC_ERRORS_R_MALLOC_FAILED
#define XMLSEC_ERRORS_R_MALLOC_FAILED 1 |
Failed to allocate memory error.
XMLSEC_ERRORS_R_XMLSEC_FAILED
#define XMLSEC_ERRORS_R_XMLSEC_FAILED 2 |
An XMLSec function failed.
XMLSEC_ERRORS_R_CRYPTO_FAILED
#define XMLSEC_ERRORS_R_CRYPTO_FAILED 3 |
Crypto (OpenSSL) function failed.
XMLSEC_ERRORS_R_XML_FAILED
#define XMLSEC_ERRORS_R_XML_FAILED 4 |
LibXML function failed.
XMLSEC_ERRORS_R_XSLT_FAILED
#define XMLSEC_ERRORS_R_XSLT_FAILED 5 |
LibXSLT function failed.
XMLSEC_ERRORS_R_IO_FAILED
#define XMLSEC_ERRORS_R_IO_FAILED 6 |
IO operation failed.
XMLSEC_ERRORS_R_INVALID_TRANSFORM
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM 10 |
Invlaid transform.
XMLSEC_ERRORS_R_INVALID_TRANSFORM_DATA
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM_DATA 11 |
Invlaid transform data.
XMLSEC_ERRORS_R_INVALID_TRANSFORM_OR_KEY
#define XMLSEC_ERRORS_R_INVALID_TRANSFORM_OR_KEY 12 |
Invalid transform or key.
XMLSEC_ERRORS_R_INVALID_KEY
#define XMLSEC_ERRORS_R_INVALID_KEY 13 |
Key is invalid.
XMLSEC_ERRORS_R_INVALID_KEY_DATA
#define XMLSEC_ERRORS_R_INVALID_KEY_DATA 14 |
Key data is invalid.
XMLSEC_ERRORS_R_INVALID_KEY_SIZE
#define XMLSEC_ERRORS_R_INVALID_KEY_SIZE 15 |
Invalid key size.
XMLSEC_ERRORS_R_INVALID_KEY_ORIGIN
#define XMLSEC_ERRORS_R_INVALID_KEY_ORIGIN 16 |
Invalid key origin.
XMLSEC_ERRORS_R_KEY_NOT_FOUND
#define XMLSEC_ERRORS_R_KEY_NOT_FOUND 17 |
Key not found.
XMLSEC_ERRORS_R_INVALID_SIZE
#define XMLSEC_ERRORS_R_INVALID_SIZE 18 |
Invalid size.
XMLSEC_ERRORS_R_INVALID_DATA
#define XMLSEC_ERRORS_R_INVALID_DATA 19 |
Invalid data.
XMLSEC_ERRORS_R_INVALID_TYPE
#define XMLSEC_ERRORS_R_INVALID_TYPE 21 |
Invalid type.
XMLSEC_ERRORS_R_INVALID_USAGE
#define XMLSEC_ERRORS_R_INVALID_USAGE 22 |
Invalid usage.
XMLSEC_ERRORS_R_INVALID_NODE
#define XMLSEC_ERRORS_R_INVALID_NODE 23 |
Invalid node,
XMLSEC_ERRORS_R_INVALID_NODESET
#define XMLSEC_ERRORS_R_INVALID_NODESET 24 |
Invalid nodes set,
XMLSEC_ERRORS_R_INVALID_NODE_CONTENT
#define XMLSEC_ERRORS_R_INVALID_NODE_CONTENT 25 |
Invalid node content.
XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE
#define XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE 26 |
Invalid node attribute.
XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT
#define XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT 27 |
Node already present,
XMLSEC_ERRORS_R_SAME_DOCUMENT_REQUIRED
#define XMLSEC_ERRORS_R_SAME_DOCUMENT_REQUIRED 28 |
The transform requires the same document.
XMLSEC_ERRORS_R_NODE_NOT_FOUND
#define XMLSEC_ERRORS_R_NODE_NOT_FOUND 29 |
Node not found.
XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL
#define XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL 30 |
Max allowed retrievals level reached.
XMLSEC_ERRORS_R_CERT_VERIFY_FAILED
#define XMLSEC_ERRORS_R_CERT_VERIFY_FAILED 41 |
Certificate verification failed.
XMLSEC_ERRORS_R_CERT_NOT_FOUND
#define XMLSEC_ERRORS_R_CERT_NOT_FOUND 42 |
Requested certificate is not found.
XMLSEC_ERRORS_R_CERT_REVOKED
#define XMLSEC_ERRORS_R_CERT_REVOKED 43 |
The certificate is revoked.
XMLSEC_ERRORS_R_CERT_ISSUER_FAILED
#define XMLSEC_ERRORS_R_CERT_ISSUER_FAILED 44 |
Failed to get certificate issuer.
XMLSEC_ERRORS_R_CERT_NOT_YET_VALID
#define XMLSEC_ERRORS_R_CERT_NOT_YET_VALID 45 |
"Not valid before" verification failed.
XMLSEC_ERRORS_R_CERT_HAS_EXPIRED
#define XMLSEC_ERRORS_R_CERT_HAS_EXPIRED 46 |
"Not valid after" verification failed.
XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE
#define XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE 51 |
The <dsig:Reference> validation failed.
XMLSEC_ERRORS_R_INVALID_STATUS
#define XMLSEC_ERRORS_R_INVALID_STATUS 52 |
Invalid status.
XMLSEC_ERRORS_R_DATA_NOT_MATCH
#define XMLSEC_ERRORS_R_DATA_NOT_MATCH 53 |
The data do not match our expectation.
XMLSEC_ERRORS_R_UNEXPECTED_NODE
#define XMLSEC_ERRORS_R_UNEXPECTED_NODE 54 |
Unexpected node.
XMLSEC_ERRORS_R_INVALID_URI_TYPE
#define XMLSEC_ERRORS_R_INVALID_URI_TYPE 55 |
Invalid URI type.
XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL
#define XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL 56 |
Max EncryptedKey level reached.
XMLSEC_ERRORS_R_ASSERTION
#define XMLSEC_ERRORS_R_ASSERTION 100 |
Invalid assertion.
XMLSEC_ERRORS_R_DISABLED
#define XMLSEC_ERRORS_R_DISABLED 101 |
The feature is disabled during compilation.
Check './configure --help' for details on how to
enable it.
XMLSEC_ERRORS_R_NOT_IMPLEMENTED
#define XMLSEC_ERRORS_R_NOT_IMPLEMENTED 102 |
Feature is not implemented.
XMLSEC_ERRORS_R_TRANSFORM_DISABLED
#define XMLSEC_ERRORS_R_TRANSFORM_DISABLED 111 |
XMLSEC_ERRORS_R_KEYDATA_DISABLED
#define XMLSEC_ERRORS_R_KEYDATA_DISABLED 112 |
XMLSEC_ERRORS_MAX_NUMBER
#define XMLSEC_ERRORS_MAX_NUMBER 256 |
xmlSecErrorsCallback ()
void (*xmlSecErrorsCallback) (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg); |
The errors reporting callback function typedef.
xmlSecErrorsInit ()
void xmlSecErrorsInit (void); |
Initializes the errors reporting. It is called from xmlSecInit() function.
and applications must not call this function directly.
xmlSecErrorsShutdown ()
void xmlSecErrorsShutdown (void); |
Cleanups the errors reporting. It is called from xmlSecShutdown() function.
and applications must not call this function directly.
xmlSecErrorsSetCallback ()
Sets the errors callback function callback that will be called
every time an error occurs.
xmlSecErrorsDefaultCallback ()
void xmlSecErrorsDefaultCallback (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg); |
xmlSecErrorsGetCode ()
int xmlSecErrorsGetCode (size_t pos); |
xmlSecErrorsGetMsg ()
const char* xmlSecErrorsGetMsg (size_t pos); |
XMLSEC_ERRORS_HERE
#define XMLSEC_ERRORS_HERE __FILE__,__LINE__,__FUNCTION__ |
The macro that specifies the location (file, line and function)
for the xmlSecError() function.
xmlSecErrorsSafeString()
#define xmlSecErrorsSafeString(str) |
XMLSEC_ERRORS_NO_MESSAGE
#define XMLSEC_ERRORS_NO_MESSAGE xmlSecErrorGetEmptyMessage() |
xmlSecErrorGetEmptyMessage ()
const char* xmlSecErrorGetEmptyMessage (void); |
xmlSecError ()
void xmlSecError (const char *file,
int line,
const char *func,
const char *errorObject,
const char *errorSubject,
int reason,
const char *msg,
...); |
Reports an error.
xmlSecAssert()
#define xmlSecAssert( p ) |
Macro. Verifies that p is true and calls return() otherwise.
xmlSecAssert2()
#define xmlSecAssert2( p, ret ) |
Macro. Verifies that p is true and calls return(ret) otherwise.
|
Aleksey Sanin
|
|