PgpSecurityConstants

Cryptographic constants for secret-key packet construction and protection.

Centralizes hash and symmetric algorithm choices used when binding subkeys, computing secret-key checksums, and encrypting private key material. Values follow RFC 4880 §5.5.3 and align with OpenKeychain's PgpSecurityConstants.

Properties

Link copied to clipboard

Hash algorithm for subkey-binding and primary-key-binding signatures.

Link copied to clipboard

Hash algorithm used by the secret-key encryptor (S2K / string-to-key).

Link copied to clipboard

Symmetric cipher for passphrase-protected secret key packets.

Link copied to clipboard

Hash algorithm for the SHA-1 checksum appended to secret key packets.