Example usage for Java org.bouncycastle.openpgp PGPPublicKeyRing fields, constructors, methods, implement or subclass
The text is from its open source code.
PGPPublicKeyRing(List pubKeys) Base constructor from a list of keys representing a public key ring (a master key and its associated sub-keys). | |
PGPPublicKeyRing(byte[] encoding, KeyFingerPrintCalculator fingerPrintCalculator) | |
PGPPublicKeyRing(InputStream in, KeyFingerPrintCalculator fingerPrintCalculator) |
void | encode(OutputStream outStream) |
byte[] | getEncoded(boolean forTransfer) Return an encoding of the key ring, with trust packets stripped out if forTransfer is true. |
byte[] | getEncoded() |
PGPPublicKey | getPublicKey() Return the first public key in the ring. |
PGPPublicKey | getPublicKey(long keyID) Return the public key referred to by the passed in keyID if it is present. |
PGPPublicKey | getPublicKey(byte[] fingerprint) Return the public key with the passed in fingerprint if it is present. |
Iterator | getPublicKeys() Return an iterator containing all the public keys. |
PGPPublicKeyRing | insertPublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey) Returns a new key ring with the public key passed in either added or replacing an existing one. |
PGPPublicKeyRing | removePublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey) Returns a new key ring with the public key passed in removed from the key ring. |