Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with OpenPGP objects.
|
Modifier and Type | Method and Description |
---|---|
PGPPublicKeyRing |
PGPKeyRingGenerator.generatePublicKeyRing()
Return the public key ring that corresponds to the secret key ring.
|
PGPPublicKeyRing |
PGPPublicKeyRingCollection.getPublicKeyRing(long keyID)
Return the public key ring which contains the key referred to by keyID.
|
static PGPPublicKeyRing |
PGPPublicKeyRing.insertPublicKey(PGPPublicKeyRing pubRing,
PGPPublicKey pubKey)
Returns a new key ring with the public key passed in
either added or replacing an existing one.
|
static PGPPublicKeyRing |
PGPPublicKeyRing.removePublicKey(PGPPublicKeyRing pubRing,
PGPPublicKey pubKey)
Returns a new key ring with the public key passed in
removed from the key ring.
|
Modifier and Type | Method and Description |
---|---|
static PGPPublicKeyRingCollection |
PGPPublicKeyRingCollection.addPublicKeyRing(PGPPublicKeyRingCollection ringCollection,
PGPPublicKeyRing publicKeyRing)
Return a new collection object containing the contents of the passed in collection and
the passed in public key ring.
|
static PGPPublicKeyRing |
PGPPublicKeyRing.insertPublicKey(PGPPublicKeyRing pubRing,
PGPPublicKey pubKey)
Returns a new key ring with the public key passed in
either added or replacing an existing one.
|
static PGPPublicKeyRing |
PGPPublicKeyRing.removePublicKey(PGPPublicKeyRing pubRing,
PGPPublicKey pubKey)
Returns a new key ring with the public key passed in
removed from the key ring.
|
static PGPPublicKeyRingCollection |
PGPPublicKeyRingCollection.removePublicKeyRing(PGPPublicKeyRingCollection ringCollection,
PGPPublicKeyRing publicKeyRing)
Return a new collection object containing the contents of this collection with
the passed in public key ring removed.
|
static PGPSecretKeyRing |
PGPSecretKeyRing.replacePublicKeys(PGPSecretKeyRing secretRing,
PGPPublicKeyRing publicRing)
Replace the public key set on the secret ring with the corresponding key off the public ring.
|