iPXE
Data Fields
x509_certificate Struct Reference

An X.509 certificate. More...

#include <x509.h>

Data Fields

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

Detailed Description

An X.509 certificate.

Definition at line 207 of file x509.h.

Field Documentation

◆ refcnt

struct refcnt x509_certificate::refcnt

Reference count.

Definition at line 209 of file x509.h.

Referenced by certstore_discard(), certstore_init(), x509_get(), and x509_put().

◆ store

struct x509_link x509_certificate::store

◆ flags

unsigned int x509_certificate::flags

Flags.

Definition at line 215 of file x509.h.

Referenced by certstat(), certstore_del(), certstore_discard(), certstore_init(), and certstore_payload().

◆ root

struct x509_root* x509_certificate::root

Root against which certificate has been validated (if any)

Definition at line 217 of file x509.h.

Referenced by ocsp_check(), ocsp_validate(), x509_free(), x509_invalidate(), x509_is_valid(), and x509_set_valid().

◆ path_remaining

unsigned int x509_certificate::path_remaining

Maximum number of subsequent certificates in chain.

Definition at line 219 of file x509.h.

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

◆ raw

struct asn1_cursor x509_certificate::raw

Raw certificate.

Definition at line 222 of file x509.h.

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

◆ version

unsigned int x509_certificate::version

Version.

Definition at line 224 of file x509.h.

Referenced by x509_parse_version().

◆ serial

struct x509_serial x509_certificate::serial

Serial number.

Definition at line 226 of file x509.h.

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

◆ tbs

struct asn1_cursor x509_certificate::tbs

Raw tbsCertificate.

Definition at line 228 of file x509.h.

Referenced by x509_check_signature(), and x509_parse_tbscertificate().

◆ signature_algorithm

struct asn1_algorithm* x509_certificate::signature_algorithm

Signature algorithm.

Definition at line 230 of file x509.h.

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

◆ issuer

struct x509_issuer x509_certificate::issuer

◆ validity

struct x509_validity x509_certificate::validity

Validity.

Definition at line 234 of file x509.h.

Referenced by x509_check_time(), and x509_parse_validity().

◆ subject

struct x509_subject x509_certificate::subject

◆ signature

struct x509_signature x509_certificate::signature

Signature.

Definition at line 238 of file x509.h.

Referenced by x509_check_signature(), and x509_parse().

◆ extensions

struct x509_extensions x509_certificate::extensions

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