x509

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 ## Name x509 -- <dsig:X509Certificate/> node parser. ## Synopsis
    #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
    int                 xmlSecX509DataGetNodeContent        (xmlNodePtr node,
                                                             int deleteChildren,
                                                             xmlSecKeyInfoCtxPtr keyInfoCtx);
## Description <dsig:X509Certificate/> node parser. ## Details ### 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. ### xmlSecX509DataGetNodeContent ()
    int                 xmlSecX509DataGetNodeContent        (xmlNodePtr node,
                                                             int deleteChildren,
                                                             xmlSecKeyInfoCtxPtr keyInfoCtx);
Reads the contents of <dsig:X509Data/> node and returns it as a bits mask.
`node` : | the pointer to <dsig:X509Data/> node.
`deleteChildren` : | the flag that indicates whether to remove node children after reading.
`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.