Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with OpenPGP objects.
|
org.bouncycastle.openpgp.bc |
BC light weight based OpenPGP objects.
|
org.bouncycastle.openpgp.jcajce |
JCA/JCE provider based 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 |
---|---|
java.util.Iterator<PGPPublicKeyRing> |
PGPPublicKeyRingCollection.getKeyRings()
return the public key rings making up this collection.
|
java.util.Iterator<PGPPublicKeyRing> |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator<PGPPublicKeyRing> |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator<PGPPublicKeyRing> |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial,
boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator<PGPPublicKeyRing> |
PGPPublicKeyRingCollection.iterator()
Support method for Iterable where available.
|
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.
|
Constructor and Description |
---|
PGPPublicKeyRingCollection(java.util.Collection<PGPPublicKeyRing> collection) |
Modifier and Type | Class and Description |
---|---|
class |
BcPGPPublicKeyRing |
Modifier and Type | Class and Description |
---|---|
class |
JcaPGPPublicKeyRing |