stack_st_X509

Synopsis

Declared in <openssl/pkcs7.h>

struct stack_st_X509;

Non-Member Functions

NameDescription
CMS_encryptCreate a CMS EnvelopedData or AuthEnvelopedData encrypting content for recipient certificates.
CMS_encrypt_exCreate a CMS EnvelopedData or AuthEnvelopedData encrypting content for recipient certificates.
CMS_get0_signersReturn the signer certificates collected during a successful CMS_verify().
CMS_get1_certsReturn a new stack of all certificates carried in a CMS ContentInfo.
OCSP_resp_get0_certsReturn the optional certificate stack embedded in a basic OCSP response.
OSSL_CMP_CTX_get0_untrustedReturn the untrusted certificate stack configured on the context.
OSSL_CMP_CTX_get1_caPubsReturn a copy of CA certificates (caPubs) from the last certRep.
OSSL_CMP_CTX_get1_extraCertsInReturn a copy of extraCerts received in the last CMP message.
OSSL_CMP_CTX_get1_newChainReturn a copy of the newly obtained certificate chain from the last transaction.
OSSL_CMP_ITAV_new_caCertsCreate a caCerts ITAV containing a copy of the given CA certificate stack.
OSSL_STACK_OF_X509_freeFree a STACK_OF(X509) and the certificates it owns (sk_X509_pop_free).
PKCS7_encryptCreate a PKCS#7 envelopedData encrypting in for each recipient in certs.
PKCS7_encrypt_exCreate a PKCS#7 envelopedData encrypting in for each recipient in certs.
PKCS7_get0_signersReturn the signer certificates used by PKCS7_verify() without duplicating them.
SSL_get0_verified_chainReturn the verified peer certificate chain including the end-entity certificate.
SSL_get_peer_cert_chainReturn the certificate chain as sent by the peer (not necessarily the verified chain).
TS_CONF_load_certsLoad a stack of X.509 certificates from a PEM file for TSA configuration.
TS_VERIFY_CTX_set_certsSet the untrusted certificate stack used when verifying a time-stamp token.
X509_STORE_CTX_get0_chainReturn the verified certificate chain built for ctx without transferring ownership.
X509_STORE_CTX_get0_untrustedReturn the stack of untrusted certificates associated with a verification context.
X509_STORE_CTX_get1_certsReturn certificates from the store whose subject name matches nm.
X509_STORE_CTX_get1_chainReturn a new reference to the verified certificate chain built for ctx.
X509_STORE_get1_all_certsReturn a new stack of every X.509 certificate currently cached in a store.
X509_add_certAdd a certificate to a stack of X.509 certificates under flags.
X509_add_certsAppend certificates from certs onto stack sk according to flags.
X509_build_chainBuild a certificate chain for target using untrusted certs and trusted store.
X509_chain_up_refDuplicate a certificate stack and up-ref every certificate it contains.
X509_find_by_issuer_and_serialFind a certificate in a stack by issuer name and serial number.
X509_find_by_subjectFind the first certificate in a stack whose subject name equals name.
X509v3_addr_validate_resource_setValidate that IP address blocks in ext are covered by ancestors in chain.
X509v3_asid_validate_resource_setValidate that AS identifiers in ext are covered by ancestors in chain.