Java org.bouncycastle.openpgp PGPPublicKeyRingCollection fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.openpgp PGPPublicKeyRingCollection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.openpgp PGPPublicKeyRingCollection.

The text is from its open source code.

Subclass

org.bouncycastle.openpgp.PGPPublicKeyRingCollection has subclasses.
Click this link to see all its subclasses.

Constructor

Method

PGPPublicKeyRingCollectionaddPublicKeyRing(PGPPublicKeyRingCollection ringCollection, PGPPublicKeyRing publicKeyRing)
Return a new collection object containing the contents of the passed in collection and the passed in public key ring.
booleancontains(long keyID)
Return true if a key matching the passed in key ID is present, false otherwise.
booleancontains(byte[] fingerprint)
Return true if a key matching the passed in fingerprint is present, false otherwise.
voidencode(OutputStream outStream)
IteratorgetKeyRings()
return the public key rings making up this collection.
IteratorgetKeyRings(String userID, boolean matchPartial, boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.
IteratorgetKeyRings(String userID, boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.
PGPPublicKeygetPublicKey(long keyID)
Return the PGP public key associated with the given key id.
PGPPublicKeygetPublicKey(byte[] fingerprint)
Return the PGP public key associated with the given key fingerprint.
PGPPublicKeyRinggetPublicKeyRing(long keyID)
Return the public key ring which contains the key referred to by keyID.
PGPPublicKeyRinggetPublicKeyRing(byte[] fingerprint)
Return the PGP public key associated with the given key fingerprint.
Iteratoriterator()
Support method for Iterable where available.
PGPPublicKeyRingCollectionremovePublicKeyRing(PGPPublicKeyRingCollection ringCollection, PGPPublicKeyRing publicKeyRing)
Return a new collection object containing the contents of this collection with the passed in public key ring removed.
intsize()
Return the number of rings in this collection.