PublicKey
data class PublicKey(val keyId: String, val publicKey: ByteArray, val algorithm: String = RSA, val symmetricAlgorithm: String = AES_256)
Encapsulates a public key used for asymmetric cryptographic operations.
Parameters
keyId
unique ID of the key.
publicKey
public key bytes.
algorithm
asymmetric cryptography algorithm associated with the key
symmetricAlgorithm
symmetric cryptography algorithm associated with symmetric key sealed by this public key.