Class OpenPGPTestKeys
java.lang.Object
org.bouncycastle.openpgp.OpenPGPTestKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAlice's Ed25519 OpenPGP v4 certificate.static final StringAlice's Ed25519 OpenPGP key.static final StringAlice's Ed25519 OpenPGP v4 revocation certificate.static final StringBob's RSA-3072 OpenPGP v4 Certificate.static final StringBob's RSA-3072 OpenPGP v4 Secret Key Material.static final StringBob's RSA-3072 Revocation Certificate.static final StringCarol's OpenPGP v4 certificate.static final StringCarol's OpenPGP v4 key.static final StringSample Version 6 Certificate.static final StringMinimal OpenPGP v6 key.static final StringLocked, minimal OpenPGP v6 key.static final StringPassphrase to unlockV6_KEY_LOCKEDwith. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PGPPublicKeyRingreadPGPPublicKeyRing(String armor) static PGPSecretKeyRingreadPGPSecretKeyRing(String armor)
-
Field Details
-
ALICE_KEY
-
ALICE_CERT
-
ALICE_REVOCATION_CERT
Alice's Ed25519 OpenPGP v4 revocation certificate.- See Also:
-
BOB_KEY
-
BOB_CERT
-
BOB_REVOCATION_CERT
-
CAROL_KEY
-
CAROL_CERT
-
V6_KEY
-
V6_KEY_LOCKED
-
V6_KEY_LOCKED_PASSPHRASE
Passphrase to unlockV6_KEY_LOCKEDwith.- See Also:
-
V6_CERT
-
-
Constructor Details
-
OpenPGPTestKeys
public OpenPGPTestKeys()
-
-
Method Details
-
readPGPPublicKeyRing
- Throws:
IOException
-
readPGPSecretKeyRing
- Throws:
IOException
-