Uses of Class
org.bouncycastle.openpgp.PGPSecretKeyRing
-
Packages that use PGPSecretKeyRing 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. -
-
Uses of PGPSecretKeyRing in org.bouncycastle.openpgp
Methods in org.bouncycastle.openpgp that return PGPSecretKeyRing Modifier and Type Method Description static PGPSecretKeyRing
PGPSecretKeyRing. copyWithNewPassword(PGPSecretKeyRing ring, PBESecretKeyDecryptor oldKeyDecryptor, PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key ring, with the private keys (where present) associated with the master key and sub keys are encrypted using a new password and the passed in algorithm.PGPSecretKeyRing
PGPKeyRingGenerator. generateSecretKeyRing()
Return the secret key ring.PGPSecretKeyRing
PGPSecretKeyRingCollection. getSecretKeyRing(long keyID)
Return the secret key ring which contains the key referred to by keyID.static PGPSecretKeyRing
PGPSecretKeyRing. 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.static PGPSecretKeyRing
PGPSecretKeyRing. removeSecretKey(PGPSecretKeyRing secRing, PGPSecretKey secKey)
Returns a new key ring with the secret key passed in removed from the key ring.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.Methods in org.bouncycastle.openpgp that return types with arguments of type PGPSecretKeyRing Modifier and Type Method Description Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings()
return the secret key rings making up this collection.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID, boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID, boolean matchPartial, boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. iterator()
Support method for Iterable where available.Methods in org.bouncycastle.openpgp with parameters of type PGPSecretKeyRing Modifier and Type Method Description static PGPSecretKeyRingCollection
PGPSecretKeyRingCollection. addSecretKeyRing(PGPSecretKeyRingCollection ringCollection, PGPSecretKeyRing secretKeyRing)
Return a new collection object containing the contents of the passed in collection and the passed in secret key ring.static PGPSecretKeyRing
PGPSecretKeyRing. copyWithNewPassword(PGPSecretKeyRing ring, PBESecretKeyDecryptor oldKeyDecryptor, PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key ring, with the private keys (where present) associated with the master key and sub keys are encrypted using a new password and the passed in algorithm.static PGPSecretKeyRing
PGPSecretKeyRing. 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.static PGPSecretKeyRing
PGPSecretKeyRing. removeSecretKey(PGPSecretKeyRing secRing, PGPSecretKey secKey)
Returns a new key ring with the secret key passed in removed from the key ring.static PGPSecretKeyRingCollection
PGPSecretKeyRingCollection. removeSecretKeyRing(PGPSecretKeyRingCollection ringCollection, PGPSecretKeyRing secretKeyRing)
Return a new collection object containing the contents of this collection with the passed in secret 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.Constructors in org.bouncycastle.openpgp with parameters of type PGPSecretKeyRing Constructor Description PGPKeyRingGenerator(PGPSecretKeyRing originalSecretRing, PBESecretKeyDecryptor secretKeyDecryptor, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder keySignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Create a new key ring generator based on an original secret key ring.Constructor parameters in org.bouncycastle.openpgp with type arguments of type PGPSecretKeyRing Constructor Description PGPSecretKeyRingCollection(Collection<PGPSecretKeyRing> collection)
-
Uses of PGPSecretKeyRing in org.bouncycastle.openpgp.bc
Subclasses of PGPSecretKeyRing in org.bouncycastle.openpgp.bc Modifier and Type Class Description class
BcPGPSecretKeyRing
-
Uses of PGPSecretKeyRing in org.bouncycastle.openpgp.jcajce
Subclasses of PGPSecretKeyRing in org.bouncycastle.openpgp.jcajce Modifier and Type Class Description class
JcaPGPSecretKeyRing
-