PublicKey

constructor(keyId: String, publicKey: ByteArray, algorithm: String = RSA, symmetricAlgorithm: String = AES_256)

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.