Example usage for Java org.bouncycastle.openpgp PGPSecretKeyRingCollection fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
boolean | contains(long keyID) Return true if a key matching the passed in key ID is present, false otherwise. |
void | encode(OutputStream outStream) |
Iterator | getKeyRings() return the secret key rings making up this collection. |
Iterator | getKeyRings(String userID) Return an iterator of the key rings associated with the passed in userID. |
Iterator | getKeyRings(String userID, boolean matchPartial) Return an iterator of the key rings associated with the passed in userID. |
PGPSecretKey | getSecretKey(long keyID) Return the PGP secret key associated with the given key id. |
PGPSecretKeyRing | getSecretKeyRing(long keyID) Return the secret key ring which contains the key referred to by keyID. |
Iterator | iterator() Support method for Iterable where available. |
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. |
int | size() Return the number of rings in this collection. |