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