aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/doc
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-06-12 16:26:35 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:42 +0200
commit3cde11a94c2761aa8980931f455734d8870446b3 (patch)
tree81f5ab253b965e952c389fc19fa7d31f24b44c0a /lib/public_key/doc
parent95b2d97ecfeb4f1f254e4b7c16ea2ec8b4698dd0 (diff)
downloadotp-3cde11a94c2761aa8980931f455734d8870446b3.tar.gz
otp-3cde11a94c2761aa8980931f455734d8870446b3.tar.bz2
otp-3cde11a94c2761aa8980931f455734d8870446b3.zip
public_key: Generalised API
Diffstat (limited to 'lib/public_key/doc')
-rw-r--r--lib/public_key/doc/src/public_key.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml
index 0b6673e826..0c9e0c9013 100644
--- a/lib/public_key/doc/src/public_key.xml
+++ b/lib/public_key/doc/src/public_key.xml
@@ -5,7 +5,7 @@
<header>
<copyright>
<year>2008</year>
- <year>2011</year>
+ <year>2012</year>
<holder>Ericsson AB, All Rights Reserved</holder>
</copyright>
<legalnotice>
@@ -84,7 +84,7 @@
<p><code> rsa_digest_type() = 'md5' | 'sha' </code></p>
- <p><code> dss_digest_type() = 'none' | 'sha' </code></p>
+ <p><code> dss_digest_type() = 'sha' </code></p>
<p><code> ssh_file() = openssh_public_key | rfc4716_public_key |
known_hosts | auth_keys </code></p>
@@ -398,9 +398,9 @@
<type>
<v>Msg = binary()</v>
<d>The msg is either the binary "plain text" data to be
- signed or in the case that digest type is <c>none</c>
+ signed or in the case that digest type is <c>{digest, DigestType}</c>
it is the hashed value of "plain text" i.e. the digest.</d>
- <v>DigestType = rsa_digest_type() | dsa_digest_type()</v>
+ <v>DigestType = rsa_digest_type() | dsa_digest_type() | {digest, rsa_digest_type() | dsa_digest_type()}</v>
<v>Key = rsa_private_key() | dsa_private_key()</v>
</type>
<desc>
@@ -463,9 +463,9 @@
<type>
<v>Msg = binary()</v>
<d>The msg is either the binary "plain text" data
- or in the case that digest type is <c>none</c>
+ or in the case that digest type is <c>{digest, DigestType}</c>
it is the hashed value of "plain text" i.e. the digest.</d>
- <v>DigestType = rsa_digest_type() | dsa_digest_type()</v>
+ <v>DigestType = rsa_digest_type() | dsa_digest_type() | {digest, rsa_digest_type() | dsa_digest_type()}</v>
<v>Signature = binary()</v>
<v>Key = rsa_public_key() | dsa_public_key()</v>
</type>