diff options
Diffstat (limited to 'src/include/openssl/x509.h')
-rw-r--r-- | src/include/openssl/x509.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/openssl/x509.h b/src/include/openssl/x509.h index 987c353..2a79887 100644 --- a/src/include/openssl/x509.h +++ b/src/include/openssl/x509.h @@ -1178,6 +1178,17 @@ OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs); * |crls| to |out|. It returns one on success and zero on error. */ OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls); +/* PKCS7_get_PEM_certificates reads a PEM-encoded, PKCS#7, SignedData structure + * from |pem_bio| and appends the included certificates to |out_certs|. It + * returns one on success and zero on error. */ +OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, + BIO *pem_bio); + +/* PKCS7_get_PEM_CRLs reads a PEM-encoded, PKCS#7, SignedData structure from + * |pem_bio| and appends the included CRLs to |out_crls|. It returns one on + * success and zero on error. */ +OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, + BIO *pem_bio); /* EVP_PK values indicate the algorithm of the public key in a certificate. */ |