aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/pkcs11
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-08 10:33:45 -0500
committerJack Lloyd <[email protected]>2016-11-08 10:33:45 -0500
commitfc44288f56588fdafb54aedb00458fd75472d6aa (patch)
tree9f9aa771c1b29cd64189bce210e4428d8c0c750e /src/lib/prov/pkcs11
parent181777189eceab70ec6ff19104902ab3ac8255c5 (diff)
Remove Key_Type typedefs
Also part of Algo_Registry and not needed after #668
Diffstat (limited to 'src/lib/prov/pkcs11')
-rw-r--r--src/lib/prov/pkcs11/p11_rsa.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/prov/pkcs11/p11_rsa.cpp b/src/lib/prov/pkcs11/p11_rsa.cpp
index 014419233..1e5f3341f 100644
--- a/src/lib/prov/pkcs11/p11_rsa.cpp
+++ b/src/lib/prov/pkcs11/p11_rsa.cpp
@@ -114,7 +114,6 @@ namespace {
class PKCS11_RSA_Decryption_Operation final : public PK_Ops::Decryption
{
public:
- typedef PKCS11_RSA_PrivateKey Key_Type;
PKCS11_RSA_Decryption_Operation(const PKCS11_RSA_PrivateKey& key,
const std::string& padding,
@@ -173,7 +172,6 @@ class PKCS11_RSA_Decryption_Operation final : public PK_Ops::Decryption
class PKCS11_RSA_Encryption_Operation : public PK_Ops::Encryption
{
public:
- typedef PKCS11_RSA_PublicKey Key_Type;
PKCS11_RSA_Encryption_Operation(const PKCS11_RSA_PublicKey& key, const std::string& padding)
: m_key(key), m_mechanism(MechanismWrapper::create_rsa_crypt_mechanism(padding))
@@ -205,7 +203,6 @@ class PKCS11_RSA_Encryption_Operation : public PK_Ops::Encryption
class PKCS11_RSA_Signature_Operation : public PK_Ops::Signature
{
public:
- typedef PKCS11_RSA_PrivateKey Key_Type;
PKCS11_RSA_Signature_Operation(const PKCS11_RSA_PrivateKey& key, const std::string& padding)
: m_key(key), m_mechanism(MechanismWrapper::create_rsa_sign_mechanism(padding))
@@ -266,7 +263,6 @@ class PKCS11_RSA_Signature_Operation : public PK_Ops::Signature
class PKCS11_RSA_Verification_Operation : public PK_Ops::Verification
{
public:
- typedef PKCS11_RSA_PublicKey Key_Type;
PKCS11_RSA_Verification_Operation(const PKCS11_RSA_PublicKey& key, const std::string& padding)
: m_key(key), m_mechanism(MechanismWrapper::create_rsa_sign_mechanism(padding))