File: x509.h

package info (click to toggle)
xmlsec1 1.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,144 kB
  • sloc: ansic: 101,545; xml: 20,100; sh: 3,804; makefile: 1,215; javascript: 434; perl: 199
file content (40 lines) | stat: -rw-r--r-- 1,271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * XML Security Library (http://www.aleksey.com/xmlsec).
 *
 * This is free software; see Copyright file in the source
 * distribution for preciese wording.
 *
 * Copyright (C) 2002-2024 Aleksey Sanin <aleksey@aleksey.com>. All Rights Reserved.
 */
#ifndef __XMLSEC_X509_H__
#define __XMLSEC_X509_H__

/**
 * xmlSecKeyX509DataValue:
 * @cert:              the certificate from &lt;dsig:X509Certificate/&gt; node.
 * @crl:               the crl from &lt;dsig:X509CRL/&gt; node.
 * @ski:               the ski from &lt;dsig:X509SKI/&gt; node.
 * @subject:           the subject name from <dsig:X509SubjectName /> node.
 * @issuerName:        the ski from &lt;dsig:X509IssuerSerial/&gt; node.
 * @issuerSerial:      the ski from &lt;dsig:X509IssuerSerial/&gt; node.
 * @digestAlgorithm:   the @digest algorithm from &lt;dsig11:X509Digest/&gt; node.
 * @digest:            the digest from &lt;dsig11:X509Digest/&gt; node.
 *
 * The content of a child of <X509Data/> node. Not all values will be set!
 */
struct _xmlSecKeyX509DataValue {
    xmlSecBuffer cert;
    xmlSecBuffer crl;

    xmlSecBuffer ski;

    xmlChar* subject;

    xmlChar* issuerName;
    xmlChar* issuerSerial;

    xmlChar* digestAlgorithm;
    xmlSecBuffer digest;
};

#endif /* __XMLSEC_X509_H__ */