diff options
author | lloyd <[email protected]> | 2006-09-06 19:51:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-06 19:51:17 +0000 |
commit | 559e2860f0716dc5c40697a08a790d3b7c42ce8e (patch) | |
tree | 358bafd6ffd1609da224fb100cb2f39f3af3af03 /include/rsa.h | |
parent | e00227828d80f9c9a17ef236586211faa01e4193 (diff) |
Rename instances of X509_PublicKey and PKCS8_PrivateKey
Diffstat (limited to 'include/rsa.h')
-rw-r--r-- | include/rsa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rsa.h b/include/rsa.h index aff873c54..776ddffec 100644 --- a/include/rsa.h +++ b/include/rsa.h @@ -27,7 +27,7 @@ class RSA_PublicKey : public PK_Encrypting_Key, std::string algo_name() const { return "RSA"; } RSA_PublicKey() {} private: - friend X509_PublicKey* get_public_key(const std::string&); + friend Public_Key* get_public_key(const std::string&); }; /************************************************* @@ -48,7 +48,7 @@ class RSA_PrivateKey : public RSA_PublicKey, const BigInt& = 0, const BigInt& = 0); RSA_PrivateKey(u32bit, u32bit = 65537); private: - friend PKCS8_PrivateKey* get_private_key(const std::string&); + friend Private_Key* get_private_key(const std::string&); BigInt private_op(const byte[], u32bit) const; RSA_PrivateKey() {} }; |