insertSecretKey(PGPSecretKeyRing secRing, PGPSecretKey secKey) Returns a new key ring with the secret key passed in either added or
replacing an existing one with the same key ID.
Parameters: secRing - the secret key ring to be modified. Parameters: secKey - the secret key to be added.
removeSecretKey(PGPSecretKeyRing secRing, PGPSecretKey secKey) Returns a new key ring with the secret key passed in removed from the
key ring.
Parameters: secRing - the secret key ring to be modified. Parameters: secKey - the secret key to be removed.
Returns a new key ring with the secret key passed in either added or
replacing an existing one with the same key ID.
Parameters: secRing - the secret key ring to be modified. Parameters: secKey - the secret key to be added. a new secret key ring.
Returns a new key ring with the secret key passed in removed from the
key ring.
Parameters: secRing - the secret key ring to be modified. Parameters: secKey - the secret key to be removed. a new secret key ring, or null if secKey is not found.
Methods inherited from org.bouncycastle.openpgp.PGPKeyRing