org.bouncycastle.openpgp
public class PGPOnePassSignature extends Object
| Method Summary | |
|---|---|
| void | encode(OutputStream outStream) |
| byte[] | getEncoded() |
| int | getHashAlgorithm() |
| int | getKeyAlgorithm() |
| long | getKeyID() |
| int | getSignatureType() |
| void | initVerify(PGPPublicKey pubKey, String provider)
Initialise the signature object for verification.
|
| void | update(byte b) |
| void | update(byte[] bytes) |
| void | update(byte[] bytes, int off, int length) |
| boolean | verify(PGPSignature pgpSig)
Verify the calculated signature against the passed in PGPSignature.
|
Parameters: pubKey provider
Throws: NoSuchProviderException PGPException
Parameters: pgpSig
Returns: boolean
Throws: PGPException SignatureException