iPXE
Data Fields
x509_certificate Struct Reference

An X.509 certificate. More...

#include <x509.h>

Data Fields

struct refcnt refcnt
 Reference count.
struct x509_link store
 Link in certificate store.
unsigned int flags
 Flags.
unsigned int path_remaining
 Maximum number of subsequent certificates in chain.
struct asn1_cursor raw
 Raw certificate.
unsigned int version
 Version.
struct x509_serial serial
 Serial number.
struct asn1_cursor tbs
 Raw tbsCertificate.
struct asn1_algorithmsignature_algorithm
 Signature algorithm.
struct x509_issuer issuer
 Issuer.
struct x509_validity validity
 Validity.
struct x509_subject subject
 Subject.
struct x509_signature signature
 Signature.
struct x509_extensions extensions
 Extensions.

Detailed Description

An X.509 certificate.

Definition at line 185 of file x509.h.


Field Documentation

Reference count.

Definition at line 187 of file x509.h.

Referenced by certstore_discard(), and certstore_init().

Link in certificate store.

Definition at line 190 of file x509.h.

Referenced by cert_exec(), certstore_add(), certstore_del(), certstore_discard(), certstore_find(), certstore_find_key(), and certstore_found().

Maximum number of subsequent certificates in chain.

Definition at line 195 of file x509.h.

Referenced by ocsp_prepare_test(), x509_invalidate(), and x509_validate().

Raw certificate.

Definition at line 198 of file x509.h.

Referenced by certstore_find(), tls_send_certificate(), x509_chain_okx(), x509_fingerprint(), and x509_parse().

Version.

Definition at line 200 of file x509.h.

Referenced by x509_parse_version().

Serial number.

Definition at line 202 of file x509.h.

Referenced by cms_find_issuer_serial(), ocsp_request(), and x509_parse_serial().

Raw tbsCertificate.

Definition at line 204 of file x509.h.

Referenced by x509_check_signature(), and x509_parse_tbscertificate().

Signature algorithm.

Definition at line 206 of file x509.h.

Referenced by certstore_find_key(), tls_send_certificate_verify(), x509_check_signature(), and x509_parse_tbscertificate().

Validity.

Definition at line 210 of file x509.h.

Referenced by x509_check_time(), and x509_parse_validity().

Signature.

Definition at line 214 of file x509.h.

Referenced by x509_check_signature(), and x509_parse().


The documentation for this struct was generated from the following file: