fromValues
fun fromValues(recipientPublicKey: EcPublicKey, recipientCertificates: List<X509Cert> = emptyList(), nonce: ByteString? = null): EncryptionParameters
Creates a new EncryptionParameters from values.
Return
a EncryptionParameters instance.
Parameters
recipientPublicKey
the public key to encrypt the response against.
recipientCertificates
zero or more certificates for recipientPublicKey.
nonce
optional nonce to use.