copyKey

Copy an existing encoded key object.

static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
copyKey

Parameters

key PrivateKey

the key to copy

rng RandomNumberGenerator

the rng to use

Return Value

new copy of the key

Meta