GenerateKeyRequest

data class GenerateKeyRequest(val userId: String, val passphrase: CharArray, val algorithmType: KeyAlgorithmType = KeyAlgorithmType.RSA, val rsaBits: Int = 3072)

Parameters for generating a new OpenPGP key ring.

Constructors

Link copied to clipboard
constructor(userId: String, passphrase: CharArray, algorithmType: KeyAlgorithmType = KeyAlgorithmType.RSA, rsaBits: Int = 3072)

Properties

Link copied to clipboard

Primary signing algorithm preset.

Link copied to clipboard

Passphrase used to encrypt the secret key ring.

Link copied to clipboard

RSA modulus size when algorithmType is KeyAlgorithmType.RSA.

Link copied to clipboard

RFC 4880 user ID string (typically Name <email@example.com>).