summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-25 01:13:05 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-25 01:13:05 +0200
commit51bf2bbe7f6ee1142448ee987aee6aa6d1ecd7e1 (patch)
treefc42e25209988e6950d8003e08a2d0477268f2da
parent3b2db636857095c748ba1c245a7518b6d4ab60b9 (diff)
downloadgnutls-51bf2bbe7f6ee1142448ee987aee6aa6d1ecd7e1.tar.gz
corrected documentation
-rw-r--r--lib/x509/privkey_pkcs8.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/x509/privkey_pkcs8.c b/lib/x509/privkey_pkcs8.c
index 95919fa372..2e942d3174 100644
--- a/lib/x509/privkey_pkcs8.c
+++ b/lib/x509/privkey_pkcs8.c
@@ -489,10 +489,9 @@ error:
* replaced by the actual size of parameters)
*
* This function will export the private key to a PKCS8 structure.
- * Currently only RSA keys can be exported since there is no documented
- * standard for other keys. If the flags do not
- * specify the encryption cipher, then the default 3DES (PBES2) will
- * be used.
+ * Currently RSA and DSA keys can be exported. For DSA keys we use
+ * PKCS #11 definitions. If the flags do not specify the encryption
+ * cipher, then the default 3DES (PBES2) will be used.
*
* The @password can be either ASCII or UTF-8 in the default PBES2
* encryption schemas, or ASCII for the PKCS12 schemas.
@@ -1039,7 +1038,7 @@ error:
*
* This function will convert the given DER or PEM encoded PKCS8 2.0 encrypted key
* to the native gnutls_x509_privkey_t format. The output will be stored in @key.
- * Currently only RSA keys can be imported, and flags can only be used to indicate
+ * Currently RSA and DSA keys can be imported, and flags can only be used to indicate
* an unencrypted key.
*
* The @password can be either ASCII or UTF-8 in the default PBES2