loadKey

Load a key from a data source.

Parameters

source DataSource

the data source providing the encoded key

rng RandomNumberGenerator

the rng to use

pass string

the passphrase to decrypt the key. Provide an empty string if the key is not encrypted

Return Value

loaded private key object

Meta