Package org.bouncycastle.openpgp
Class OpenPGPTestKeys
java.lang.Object
org.bouncycastle.openpgp.OpenPGPTestKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Alice's Ed25519 OpenPGP v4 certificate.static final String
Alice's Ed25519 OpenPGP key.static final String
Alice's Ed25519 OpenPGP v4 revocation certificate.static final String
Bob's RSA-3072 OpenPGP v4 Certificate.static final String
Bob's RSA-3072 OpenPGP v4 Secret Key Material.static final String
Bob's RSA-3072 Revocation Certificate.static final String
Carol's OpenPGP v4 certificate.static final String
Carol's OpenPGP v4 key.static final String
Sample Version 6 Certificate.static final String
Minimal OpenPGP v6 key.static final String
Locked, minimal OpenPGP v6 key.static final String
Passphrase to unlockV6_KEY_LOCKED
with. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PGPPublicKeyRing
readPGPPublicKeyRing
(String armor) static PGPSecretKeyRing
readPGPSecretKeyRing
(String armor)
-
Field Details
-
ALICE_KEY
Alice's Ed25519 OpenPGP key.- See Also:
-
ALICE_CERT
Alice's Ed25519 OpenPGP v4 certificate.- See Also:
-
ALICE_REVOCATION_CERT
Alice's Ed25519 OpenPGP v4 revocation certificate.- See Also:
-
BOB_KEY
Bob's RSA-3072 OpenPGP v4 Secret Key Material.- See Also:
-
BOB_CERT
Bob's RSA-3072 OpenPGP v4 Certificate.- See Also:
-
BOB_REVOCATION_CERT
Bob's RSA-3072 Revocation Certificate.- See Also:
-
CAROL_KEY
Carol's OpenPGP v4 key.- See Also:
-
CAROL_CERT
Carol's OpenPGP v4 certificate.- See Also:
-
V6_KEY
Minimal OpenPGP v6 key.- See Also:
-
V6_KEY_LOCKED
Locked, minimal OpenPGP v6 key.- See Also:
-
V6_KEY_LOCKED_PASSPHRASE
Passphrase to unlockV6_KEY_LOCKED
with.- See Also:
-
V6_CERT
Sample Version 6 Certificate.- See Also:
-
-
Constructor Details
-
OpenPGPTestKeys
public OpenPGPTestKeys()
-
-
Method Details
-
readPGPPublicKeyRing
- Throws:
IOException
-
readPGPSecretKeyRing
- Throws:
IOException
-