summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-10-26 10:54:08 +0200
committerRichard Levitte <levitte@openssl.org>2017-10-30 18:16:29 +0100
commit5e006082199e9a0f37ba35116ff217bc643dd317 (patch)
tree06a3ed6ba9cb630da696a10f5ff2f33e25811727 /include
parentf403feea11d1ea26fd5b7d9732361cfc3f9f91a9 (diff)
EVP_PKEY_ASN1_METHOD: add functions to set siginf_set and pkey_check methods
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/4589)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/evp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 40ed8d2db2..90add836c0 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -1198,6 +1198,14 @@ void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
X509_ALGOR *alg2,
ASN1_BIT_STRING *sig));
+void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth,
+ int (*siginf_set) (X509_SIG_INFO *siginf,
+ const X509_ALGOR *alg,
+ const ASN1_STRING *sig));
+
+void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
+ int (*pkey_check) (const EVP_PKEY *pk));
+
void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
int (*pkey_security_bits) (const EVP_PKEY
*pk));