Example usage for Java org.bouncycastle.openpgp PGPSignature fields, constructors, methods, implement or subclass
The text is from its open source code.
void | encode(OutputStream outStream) |
Date | getCreationTime() Return the creation time of the signature. |
byte[] | getEncoded() |
int | getHashAlgorithm() Return the hash algorithm associated with this signature. |
PGPSignatureSubpacketVector | getHashedSubPackets() |
int | getKeyAlgorithm() Return the key algorithm associated with this signature. |
long | getKeyID() Return the id of the key that created the signature. |
int | getSignatureType() |
PGPSignatureSubpacketVector | getUnhashedSubPackets() |
int | getVersion() Return the OpenPGP version number for this signature. |
void | init(PGPContentVerifierBuilderProvider verifierBuilderProvider, PGPPublicKey pubKey) |
void | update(byte[] bytes, int off, int length) |
void | update(byte b) |
void | update(byte[] bytes) |
boolean | verify() |
boolean | verifyCertification(PGPUserAttributeSubpacketVector userAttributes, PGPPublicKey key) Verify the signature as certifying the passed in public key as associated with the passed in user attributes. |
boolean | verifyCertification(String id, PGPPublicKey key) Verify the signature as certifying the passed in public key as associated with the passed in id. |
boolean | verifyCertification(byte[] rawID, PGPPublicKey key) Verify the signature as certifying the passed in public key as associated with the passed in rawID. |
boolean | verifyCertification(PGPPublicKey masterKey, PGPPublicKey pubKey) Verify a certification for the passed in key against the passed in master key. |
boolean | verifyCertification(PGPPublicKey pubKey) Verify a key certification, such as a revocation, for the passed in key. |