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 /src/pk_algs.cpp | |
parent | e00227828d80f9c9a17ef236586211faa01e4193 (diff) |
Rename instances of X509_PublicKey and PKCS8_PrivateKey
Diffstat (limited to 'src/pk_algs.cpp')
-rw-r--r-- | src/pk_algs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pk_algs.cpp b/src/pk_algs.cpp index e042a84f4..43332d66a 100644 --- a/src/pk_algs.cpp +++ b/src/pk_algs.cpp @@ -16,7 +16,7 @@ namespace Botan { /************************************************* * Get an PK public key object * *************************************************/ -X509_PublicKey* get_public_key(const std::string& alg_name) +Public_Key* get_public_key(const std::string& alg_name) { if(alg_name == "RSA") return new RSA_PublicKey; else if(alg_name == "DSA") return new DSA_PublicKey; @@ -31,7 +31,7 @@ X509_PublicKey* get_public_key(const std::string& alg_name) /************************************************* * Get an PK private key object * *************************************************/ -PKCS8_PrivateKey* get_private_key(const std::string& alg_name) +Private_Key* get_private_key(const std::string& alg_name) { if(alg_name == "RSA") return new RSA_PrivateKey; else if(alg_name == "DSA") return new DSA_PrivateKey; |