Engine.getDecryptionOp

Return a new operator object for this key, if possible

interface Engine
public const
static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
Decryption
getDecryptionOp
(
in PrivateKey key
,
RandomNumberGenerator rng
)

Parameters

key PrivateKey

the key we want an operator for

rng RandomNumberGenerator

a random number generator

Return Value

Type: Decryption

newly allocated operator object, or NULL

Meta