Module: PGP
- Defined in:
- lib/pgp.rb,
lib/pgp-rb/version.rb
Defined Under Namespace
Classes: PublicKey
Constant Summary collapse
- KEY_ALGORITHM_RSA =
1
- KEY_ALGORITHM_RSA_ENCRYPT =
2
- KEY_ALGORITHM_RSA_SIGN =
3
- KEY_ALGORITHM_ELGAMAL_SIGN =
16
- KEY_ALGORITHM_DSA =
17
- KEY_ALGORITHM_ECDH =
18
- KEY_ALGORITHM_ECDSA =
19
- KEY_ALGORITHM_ELGAMAL =
20
- KEY_ALGORITHM_DIFFIE_HELLMAN =
21
- KEY_ALGORITHM_EDDSA_LEGACY =
22
- KEY_ALGORITHM_X25519 =
25
- KEY_ALGORITHM_X448 =
26
- KEY_ALGORITHM_ED25519 =
27
- KEY_ALGORITHM_ED448 =
28
- KEY_ALGORITHM_NAMES =
{ KEY_ALGORITHM_RSA => 'RSA (Encrypt and Sign)', KEY_ALGORITHM_RSA_ENCRYPT => 'RSA (Encrypt-Only)', KEY_ALGORITHM_RSA_SIGN => 'RSA (Sign-Only)', KEY_ALGORITHM_ELGAMAL_SIGN => 'Elgamal (Sign-Only)', KEY_ALGORITHM_DSA => 'DSA (Digital Signature Algorithm)', KEY_ALGORITHM_ECDH => 'Elliptic Curve: RFC-6637', KEY_ALGORITHM_ECDSA => 'ECDSA: RFC-6637', KEY_ALGORITHM_ELGAMAL => 'Elgamal (Encrypt and Sign)', KEY_ALGORITHM_DIFFIE_HELLMAN => 'Diffie-Hellman (X9.42, as defined for IETF-S/MIME)', KEY_ALGORITHM_EDDSA_LEGACY => 'EdDSA legacy format [deprecated in RFC 9580, superseded by Ed25519 (27)]', KEY_ALGORITHM_X25519 => 'X25519 [RFC 9580]', KEY_ALGORITHM_X448 => 'X448 [RFC 9580]', KEY_ALGORITHM_ED25519 => 'Ed25519 [RFC 9580]', KEY_ALGORITHM_ED448 => 'Ed448 [RFC 9580]' }.freeze
- ENCRIPTION_ALGORITHM_IDEA =
1
- ENCRIPTION_ALGORITHM_TRIPLE_DES =
2
- ENCRIPTION_ALGORITHM_CAST5 =
3
- ENCRIPTION_ALGORITHM_BLOWFISH =
4
- ENCRIPTION_ALGORITHM_AES_128 =
7
- ENCRIPTION_ALGORITHM_AES_192 =
8
- ENCRIPTION_ALGORITHM_AES_256 =
9
- ENCRIPTION_ALGORITHM_TWOFISH =
10
- ENCRIPTION_ALGORITHM_CAMELLIA_128 =
11
- ENCRIPTION_ALGORITHM_CAMELLIA_192 =
12
- ENCRIPTION_ALGORITHM_CAMELLIA_256 =
13
- VERSION =
'0.2.0'