EncryptRequest

data class EncryptRequest(val plaintext: ByteArray, val recipientKeyRings: List<ByteArray>, val asciiArmor: Boolean = true, val fileName: String = PGPLiteralData.CONSOLE)

Parameters for encrypting a message to OpenPGP recipients.

Constructors

Link copied to clipboard
constructor(plaintext: ByteArray, recipientKeyRings: List<ByteArray>, asciiArmor: Boolean = true, fileName: String = PGPLiteralData.CONSOLE)

Properties

Link copied to clipboard

When true, wrap output in ASCII armor.

Link copied to clipboard

Literal data packet filename metadata.

Link copied to clipboard

Raw message bytes to encrypt.

Link copied to clipboard

Armored public or secret key rings (encryption subkeys used).