insertPublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey) Returns a new key ring with the public key passed in
either added or replacing an existing one.
Parameters: pubRing - the public key ring to be modified Parameters: pubKey - the public key to be inserted.
removePublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey) Returns a new key ring with the public key passed in
removed from the key ring.
Parameters: pubRing - the public key ring to be modified Parameters: pubKey - the public key to be removed.
Returns a new key ring with the public key passed in
either added or replacing an existing one.
Parameters: pubRing - the public key ring to be modified Parameters: pubKey - the public key to be inserted. a new keyRing
Returns a new key ring with the public key passed in
removed from the key ring.
Parameters: pubRing - the public key ring to be modified Parameters: pubKey - the public key to be removed. a new keyRing, null if pubKey is not found.
Methods inherited from org.bouncycastle.openpgp.PGPKeyRing