iPXE
|
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_root * | root |
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_algorithm * | signature_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... | |
struct refcnt x509_certificate::refcnt |
Reference count.
Definition at line 187 of file x509.h.
Referenced by certstore_discard(), certstore_init(), x509_get(), and x509_put().
struct x509_link x509_certificate::store |
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(), certstore_found(), cms_verify(), cms_verify_signer_info(), x509_validate_chain_fail_okx(), and x509_validate_chain_okx().
unsigned int x509_certificate::flags |
Flags.
Definition at line 193 of file x509.h.
Referenced by certstat(), certstore_del(), certstore_discard(), certstore_init(), and certstore_payload().
struct x509_root* x509_certificate::root |
Root against which certificate has been validated (if any)
Definition at line 195 of file x509.h.
Referenced by ocsp_check(), ocsp_validate(), x509_free(), x509_invalidate(), x509_is_valid(), and x509_set_valid().
unsigned int x509_certificate::path_remaining |
Maximum number of subsequent certificates in chain.
Definition at line 197 of file x509.h.
Referenced by x509_invalidate(), x509_set_valid(), and x509_validate().
struct asn1_cursor x509_certificate::raw |
Raw certificate.
Definition at line 200 of file x509.h.
Referenced by certstore_find(), icert_encode(), tls_send_certificate(), x509_fingerprint(), and x509_parse().
unsigned int x509_certificate::version |
struct x509_serial x509_certificate::serial |
Serial number.
Definition at line 204 of file x509.h.
Referenced by cms_find_issuer_serial(), ocsp_request(), and x509_parse_serial().
struct asn1_cursor x509_certificate::tbs |
Raw tbsCertificate.
Definition at line 206 of file x509.h.
Referenced by x509_check_signature(), and x509_parse_tbscertificate().
struct asn1_algorithm* x509_certificate::signature_algorithm |
Signature algorithm.
Definition at line 208 of file x509.h.
Referenced by certstore_find_key(), tls_send_certificate_verify(), x509_check_signature(), and x509_parse_tbscertificate().
struct x509_issuer x509_certificate::issuer |
Issuer.
Definition at line 210 of file x509.h.
Referenced by cms_find_issuer_serial(), cms_parse_signer_identifier(), ocsp_prepare_test(), ocsp_request(), validator_start_download(), validator_step(), x509_auto_append(), x509_check_issuer(), x509_check_issuer_fail_okx(), x509_check_issuer_okx(), x509_parse_issuer(), and x509_validate_chain().
struct x509_validity x509_certificate::validity |
Validity.
Definition at line 212 of file x509.h.
Referenced by x509_check_time(), and x509_parse_validity().
struct x509_subject x509_certificate::subject |
Subject.
Definition at line 214 of file x509.h.
Referenced by certstore_find_key(), cms_verify_digest(), ocsp_check_signature(), ocsp_compare_responder_key_hash(), ocsp_compare_responder_name(), ocsp_request(), tls_validator_done(), x509_check_issuer(), x509_check_name(), x509_find_subject(), x509_name(), x509_parse_common_name(), x509_parse_public_key(), and x509_parse_subject().
struct x509_signature x509_certificate::signature |
Signature.
Definition at line 216 of file x509.h.
Referenced by x509_check_signature(), and x509_parse().
struct x509_extensions x509_certificate::extensions |
Extensions.
Definition at line 218 of file x509.h.
Referenced by cms_verify_signer_info(), ocsp_required(), ocsp_uri_string(), ocsp_validate(), x509_check_issuer(), x509_check_name(), x509_parse_basic_constraints(), x509_parse_key_purpose(), x509_parse_key_usage(), x509_parse_ocsp(), x509_parse_subject_alt_name(), and x509_set_valid().