From 3cde11a94c2761aa8980931f455734d8870446b3 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 12 Jun 2012 16:26:35 +0200 Subject: public_key: Generalised API --- lib/public_key/doc/src/public_key.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/public_key/doc') 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 @@
2008 - 2011 + 2012 Ericsson AB, All Rights Reserved @@ -84,7 +84,7 @@

rsa_digest_type() = 'md5' | 'sha'

-

dss_digest_type() = 'none' | 'sha'

+

dss_digest_type() = 'sha'

ssh_file() = openssh_public_key | rfc4716_public_key | known_hosts | auth_keys

@@ -398,9 +398,9 @@ Msg = binary() The msg is either the binary "plain text" data to be - signed or in the case that digest type is none + signed or in the case that digest type is {digest, DigestType} it is the hashed value of "plain text" i.e. the digest. - DigestType = rsa_digest_type() | dsa_digest_type() + DigestType = rsa_digest_type() | dsa_digest_type() | {digest, rsa_digest_type() | dsa_digest_type()} Key = rsa_private_key() | dsa_private_key() @@ -463,9 +463,9 @@ Msg = binary() The msg is either the binary "plain text" data - or in the case that digest type is none + or in the case that digest type is {digest, DigestType} it is the hashed value of "plain text" i.e. the digest. - DigestType = rsa_digest_type() | dsa_digest_type() + DigestType = rsa_digest_type() | dsa_digest_type() | {digest, rsa_digest_type() | dsa_digest_type()} Signature = binary() Key = rsa_public_key() | dsa_public_key() -- cgit v1.2.3