summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-03-15 20:24:40 +0100
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-04-28 14:10:45 +0200
commit1751768cd191c3541dc89a2bb24da1e506385c37 (patch)
tree8921c0c143160551591d5d2e3f9b3a62ee419a6a /include/crypto
parent624359374b9af4f99ce1bfaf89e28b7306987777 (diff)
ESS: Export three core functions, clean up TS and CMS CAdES-BES usage
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14601)
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/ess.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/include/crypto/ess.h b/include/crypto/ess.h
index 1961e39067..7a687d47cc 100644
--- a/include/crypto/ess.h
+++ b/include/crypto/ess.h
@@ -11,27 +11,16 @@
# define OSSL_CRYPTO_ESS_H
# pragma once
-/* internal ESS related stuff */
+/* internal ESS related functions used for TS */
+/* TODO move these four decls to a new include/crypto/ts.h */
ESS_SIGNING_CERT *ossl_ess_get_signing_cert(const PKCS7_SIGNER_INFO *si);
int ossl_ess_signing_cert_add(PKCS7_SIGNER_INFO *si, ESS_SIGNING_CERT *sc);
-ESS_SIGNING_CERT *ossl_ess_signing_cert_new_init(X509 *signcert,
- STACK_OF(X509) *certs,
- int issuer_needed);
-
ESS_SIGNING_CERT_V2 *ossl_ess_get_signing_cert_v2(const PKCS7_SIGNER_INFO *si);
int ossl_ess_signing_cert_v2_add(PKCS7_SIGNER_INFO *si, ESS_SIGNING_CERT_V2 *sc);
-ESS_SIGNING_CERT_V2 *ossl_ess_signing_cert_v2_new_init(const EVP_MD *hash_alg,
- X509 *signcert,
- STACK_OF(X509) *certs,
- int issuer_needed);
-
-int ossl_ess_check_signing_certs(const ESS_SIGNING_CERT *ss,
- const ESS_SIGNING_CERT_V2 *ssv2,
- const STACK_OF(X509) *chain,
- int require_signing_cert);
+/* internal ESS stuff */
/*-
* IssuerSerial ::= SEQUENCE {