x509: XML Security Library Reference Manual

Home Download News Documentation FAQ Tutorial API reference Examples XML Digital Signature Online Verifier XML Encryption XML Canonicalization Reporting Bugs Mailing list Related Authors
## x509 x509 — <dsig:X509Certificate/> node parser. |
## Functions
int | xmlSecX509DataGetNodeContent ()
## Types and Values
#define | XMLSEC_X509DATA_CERTIFICATE_NODE
#define | XMLSEC_X509DATA_SUBJECTNAME_NODE
#define | XMLSEC_X509DATA_ISSUERSERIAL_NODE
#define | XMLSEC_X509DATA_SKI_NODE
#define | XMLSEC_X509DATA_CRL_NODE
#define | XMLSEC_X509DATA_DEFAULT
## Description <dsig:X509Certificate/> node parser. ## Functions ### xmlSecX509DataGetNodeContent ()
    int
    xmlSecX509DataGetNodeContent (xmlNodePtr node,
                                  xmlSecKeyInfoCtxPtr keyInfoCtx);
Reads the contents of <dsig:X509Data/> node and returns it as a bits mask. #### Parameters
node | the pointer to <dsig:X509Data/> node. |
keyInfoCtx | the pointer to <dsig:KeyInfo/> node processing context. |
#### Returns the bit mask representing the <dsig:X509Data/> node content or a negative value if an error occurs. ## Types and Values ### XMLSEC_X509DATA_CERTIFICATE_NODE
    #define XMLSEC_X509DATA_CERTIFICATE_NODE                        0x00000001
<dsig:X509Certificate/> node found or would be written back. ### XMLSEC_X509DATA_SUBJECTNAME_NODE
    #define XMLSEC_X509DATA_SUBJECTNAME_NODE                        0x00000002
<dsig:X509SubjectName/> node found or would be written back. ### XMLSEC_X509DATA_ISSUERSERIAL_NODE
    #define XMLSEC_X509DATA_ISSUERSERIAL_NODE                       0x00000004
<dsig:X509IssuerSerial/> node found or would be written back. ### XMLSEC_X509DATA_SKI_NODE
    #define XMLSEC_X509DATA_SKI_NODE                                0x00000008
<dsig:X509SKI/> node found or would be written back. ### XMLSEC_X509DATA_CRL_NODE
    #define XMLSEC_X509DATA_CRL_NODE                                0x00000010
<dsig:X509CRL/> node found or would be written back. ### XMLSEC_X509DATA_DEFAULT
    #define             XMLSEC_X509DATA_DEFAULT
Default set of nodes to write in case of empty <dsig:X509Data/> node template.