Bouncy Castle Cryptography Library 1.81

org.bouncycastle.openpgp
Class OpenPGPTestKeys

java.lang.Object
  extended byorg.bouncycastle.openpgp.OpenPGPTestKeys

public class OpenPGPTestKeys
extends java.lang.Object


Field Summary
static java.lang.String ALICE_CERT
          Alice's Ed25519 OpenPGP v4 certificate.
static java.lang.String ALICE_KEY
          Alice's Ed25519 OpenPGP key.
static java.lang.String ALICE_REVOCATION_CERT
          Alice's Ed25519 OpenPGP v4 revocation certificate.
static java.lang.String BOB_CERT
          Bob's RSA-3072 OpenPGP v4 Certificate.
static java.lang.String BOB_KEY
          Bob's RSA-3072 OpenPGP v4 Secret Key Material.
static java.lang.String BOB_REVOCATION_CERT
          Bob's RSA-3072 Revocation Certificate.
static java.lang.String CAROL_CERT
          Carol's OpenPGP v4 certificate.
static java.lang.String CAROL_KEY
          Carol's OpenPGP v4 key.
static java.lang.String V6_CERT
          Sample Version 6 Certificate.
static java.lang.String V6_KEY
          Minimal OpenPGP v6 key.
static java.lang.String V6_KEY_LOCKED
          Locked, minimal OpenPGP v6 key.
static java.lang.String V6_KEY_LOCKED_PASSPHRASE
          Passphrase to unlock V6_KEY_LOCKED with.
 
Constructor Summary
OpenPGPTestKeys()
           
 
Method Summary
static PGPPublicKeyRing readPGPPublicKeyRing(java.lang.String armor)
           
static PGPSecretKeyRing readPGPSecretKeyRing(java.lang.String armor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALICE_KEY

public static final java.lang.String ALICE_KEY
Alice's Ed25519 OpenPGP key.

See Also:
Alice's OpenPGP Secret Key Material, Constant Field Values

ALICE_CERT

public static final java.lang.String ALICE_CERT
Alice's Ed25519 OpenPGP v4 certificate.

See Also:
Alice's OpenPGP Certificate, Constant Field Values

ALICE_REVOCATION_CERT

public static final java.lang.String ALICE_REVOCATION_CERT
Alice's Ed25519 OpenPGP v4 revocation certificate.

See Also:
Alice's Revocation Certificate, Constant Field Values

BOB_KEY

public static final java.lang.String BOB_KEY
Bob's RSA-3072 OpenPGP v4 Secret Key Material.

See Also:
Bob's OpenPGP Secret Key Material, Constant Field Values

BOB_CERT

public static final java.lang.String BOB_CERT
Bob's RSA-3072 OpenPGP v4 Certificate.

See Also:
Bob's OpenPGP Certificate, Constant Field Values

BOB_REVOCATION_CERT

public static final java.lang.String BOB_REVOCATION_CERT
Bob's RSA-3072 Revocation Certificate.

See Also:
Bob's Revocation Certificate, Constant Field Values

CAROL_KEY

public static final java.lang.String CAROL_KEY
Carol's OpenPGP v4 key.

See Also:
Constant Field Values

CAROL_CERT

public static final java.lang.String CAROL_CERT
Carol's OpenPGP v4 certificate.

See Also:
Constant Field Values

V6_KEY

public static final java.lang.String V6_KEY
Minimal OpenPGP v6 key.

See Also:
Sample Version 6 Secret Key, Constant Field Values

V6_KEY_LOCKED

public static final java.lang.String V6_KEY_LOCKED
Locked, minimal OpenPGP v6 key.

See Also:
Sample Locked Version 6 Secret Key, Constant Field Values

V6_KEY_LOCKED_PASSPHRASE

public static final java.lang.String V6_KEY_LOCKED_PASSPHRASE
Passphrase to unlock V6_KEY_LOCKED with.

See Also:
Constant Field Values

V6_CERT

public static final java.lang.String V6_CERT
Sample Version 6 Certificate.

See Also:
Sample Version 6 Certificate, Constant Field Values
Constructor Detail

OpenPGPTestKeys

public OpenPGPTestKeys()
Method Detail

readPGPPublicKeyRing

public static PGPPublicKeyRing readPGPPublicKeyRing(java.lang.String armor)
                                             throws java.io.IOException
Throws:
java.io.IOException

readPGPSecretKeyRing

public static PGPSecretKeyRing readPGPSecretKeyRing(java.lang.String armor)
                                             throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.81