summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2015-08-02 21:54:23 +0000
committercvs2svn <admin@example.com>2015-08-02 21:54:23 +0000
commit67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a (patch)
tree5609c82060f75c53af0a7641d9b33a88574876cd /src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod
parented40f444ba01bcae1d8540f9c26d79537ab5baf2 (diff)
downloadopenbsd-libressl-v2.2.2.tar.gz
openbsd-libressl-v2.2.2.tar.bz2
openbsd-libressl-v2.2.2.zip
This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.libressl-v2.2.2
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod')
-rw-r--r--src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod b/src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod
deleted file mode 100644
index 8ff597d44a..0000000000
--- a/src/lib/libcrypto/doc/EVP_PKEY_get_default_digest.pod
+++ /dev/null
@@ -1,41 +0,0 @@
1=pod
2
3=head1 NAME
4
5EVP_PKEY_get_default_digest_nid - get default signature digest
6
7=head1 SYNOPSIS
8
9 #include <openssl/evp.h>
10 int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
11
12=head1 DESCRIPTION
13
14The EVP_PKEY_get_default_digest_nid() function sets B<pnid> to the default
15message digest NID for the public key signature operations associated with key
16B<pkey>.
17
18=head1 NOTES
19
20For all current standard OpenSSL public key algorithms SHA1 is returned.
21
22=head1 RETURN VALUES
23
24The EVP_PKEY_get_default_digest_nid() function returns 1 if the message digest
25is advisory (that is other digests can be used) and 2 if it is mandatory (other
26digests can not be used). It returns 0 or a negative value for failure. In
27particular a return value of -2 indicates the operation is not supported by the
28public key algorithm.
29
30=head1 SEE ALSO
31
32L<EVP_PKEY_CTX_new(3)|EVP_PKEY_CTX_new(3)>,
33L<EVP_PKEY_sign(3)|EVP_PKEY_sign(3)>,
34L<EVP_PKEY_verify(3)|EVP_PKEY_verify(3)>,
35L<EVP_PKEY_verify_recover(3)|EVP_PKEY_verify_recover(3)>,
36
37=head1 HISTORY
38
39This function was first added to OpenSSL 1.0.0.
40
41=cut