From 8131e3eb23a764c79113fd71f52ca127018527b7 Mon Sep 17 00:00:00 2001 From: davidben Date: Mon, 25 Jan 2016 16:28:58 -0800 Subject: Fix RSAPrivateKey::ExportPrivateKey documentation. It's a PKCS#8 PrivateKeyInfo blob, not a PKCS#1 RSAPrivateKey. BUG=none Review URL: https://codereview.chromium.org/1639553002 Cr-Commit-Position: refs/heads/master@{#371377} --- crypto/rsa_private_key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto') diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h index 9703334..d4808f5 100644 --- a/crypto/rsa_private_key.h +++ b/crypto/rsa_private_key.h @@ -200,7 +200,7 @@ class CRYPTO_EXPORT RSAPrivateKey { // Creates a copy of the object. RSAPrivateKey* Copy() const; - // Exports the private key to a PKCS #1 PrivateKey block. + // Exports the private key to a PKCS #8 PrivateKeyInfo block. bool ExportPrivateKey(std::vector* output) const; // Exports the public key to an X509 SubjectPublicKeyInfo block. -- cgit v1.1