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

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

Introduction

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

The text is from its open source code.

Constructor

Method

voidencode(OutputStream outStream)
byte[]getEncoded(boolean forTransfer)
Return an encoding of the key ring, with trust packets stripped out if forTransfer is true.
byte[]getEncoded()
PGPPublicKeygetPublicKey()
Return the first public key in the ring.
PGPPublicKeygetPublicKey(long keyID)
Return the public key referred to by the passed in keyID if it is present.
PGPPublicKeygetPublicKey(byte[] fingerprint)
Return the public key with the passed in fingerprint if it is present.
IteratorgetPublicKeys()
Return an iterator containing all the public keys.
PGPPublicKeyRinginsertPublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey)
Returns a new key ring with the public key passed in either added or replacing an existing one.
PGPPublicKeyRingremovePublicKey(PGPPublicKeyRing pubRing, PGPPublicKey pubKey)
Returns a new key ring with the public key passed in removed from the key ring.