diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-01-25 23:28:57 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-01-30 13:00:16 +0000 |
commit | 42ef7aead2b310a183e53a4d336a6706395b5c17 (patch) | |
tree | ced5f5016b35fb04c2ef84277efb73b3646e8de5 /include | |
parent | 5554facbe7f1ef4945fc03ae0a447c2396a80ef7 (diff) |
Add SSL_get_peer_signature_type_nid() function.
Add function to retrieve signature type: in the case of RSA
keys the signature type can be EVP_PKEY_RSA or EVP_PKEY_RSA_PSS.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2301)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/tls1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index 328b266116..a4258ac886 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -252,6 +252,8 @@ __owur int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, const unsigned char *p, size_t plen, int use_context); +int SSL_get_peer_signature_type_nid(const SSL *s, int *pnid); + int SSL_get_sigalgs(SSL *s, int idx, int *psign, int *phash, int *psignandhash, unsigned char *rsig, unsigned char *rhash); |