getBytes

open fun getBytes(key: PrivateKey): Array<Byte>

Convert a private RSA key to

Return

The bytes of the key.

Parameters

key

The private RSA key to convert.


open fun getBytes(key: PublicKey): Array<Byte>

Convert a public RSA key to

Return

The bytes of the key.

Parameters

key

The public RSA key to convert.