diff options
author | Sverker Eriksson <[email protected]> | 2011-12-05 15:37:26 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-12-05 16:17:05 +0100 |
commit | 12c427fea2b0932b526a05ccf80844e847b81684 (patch) | |
tree | c317679116d6e24909bd81a6647fb28d7581cb3e /lib/crypto/doc/src/crypto.xml | |
parent | b6e702835f72372a4222bf3c75f9a066875f9920 (diff) | |
download | otp-12c427fea2b0932b526a05ccf80844e847b81684.tar.gz otp-12c427fea2b0932b526a05ccf80844e847b81684.tar.bz2 otp-12c427fea2b0932b526a05ccf80844e847b81684.zip |
crypto: Add sha256,384,512 in documentation for rsa_verify
Diffstat (limited to 'lib/crypto/doc/src/crypto.xml')
-rw-r--r-- | lib/crypto/doc/src/crypto.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 48243fd693..dc22f2aa14 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -896,7 +896,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]> <v>Key = [E, N]</v> <v>E, N = Mpint</v> <d>Where <c>E</c> is the public exponent and <c>N</c> is public modulus.</d> - <v>DigestType = md5 | sha</v> + <v>DigestType = md5 | sha | sha256 | sha384 | sha512</v> <d> The default <c>DigestType</c> is sha.</d> <v>Mpint = binary()</v> </type> @@ -905,6 +905,8 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]> and verifies that the digest matches the RSA signature using the signer's public key <c>Key</c>. </p> + <p>May throw exception <c>notsup</c> in case the choosen <c>DigestType</c> + is not supported by the underlying OpenSSL implementation.</p> </desc> </func> |