Added support for different encryption schemes to private/public keys
This commit is contained in:
@@ -193,7 +193,8 @@ METHOD(private_key_t, sign, bool,
|
||||
}
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_pkcs11_private_key_t *this, chunk_t crypto, chunk_t *plain)
|
||||
private_pkcs11_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -119,7 +119,8 @@ METHOD(public_key_t, verify, bool,
|
||||
}
|
||||
|
||||
METHOD(public_key_t, encrypt, bool,
|
||||
private_pkcs11_public_key_t *this, chunk_t plain, chunk_t *crypto)
|
||||
private_pkcs11_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t plain, chunk_t *crypto)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user