org.apache.commons.openpgp
Class BouncyCastleOpenPgpStreamingSignatureVerifier
java.lang.Objectorg.apache.commons.openpgp.BouncyCastleOpenPgpStreamingSignatureVerifier
- OpenPgpStreamingSignatureVerifier
public class BouncyCastleOpenPgpStreamingSignatureVerifier
extends java.lang.Object
Bouncy Castle implementation of the OpenPGP signer.
SignatureStatus | finish()- Finish and verify the signature that has been obtained.
|
void | update(byte[] buf)- Update the signature with the next block from the data buffer.
|
void | update(byte[] buf, int offset, int length)- Update the signature with the next block from the data buffer.
|
SignatureStatus | verify()
|
BouncyCastleOpenPgpStreamingSignatureVerifier
public BouncyCastleOpenPgpStreamingSignatureVerifier(InputStream signature,
KeyRing keyRing,
boolean asciiArmor)
throws OpenPgpException,
IOException
update
public void update(byte[] buf,
int offset,
int length)
throws OpenPgpException Update the signature with the next block from the data buffer.
- update in interface OpenPgpStreamingSignatureVerifier
buf - the bufferoffset - offset within the buffer to start fromlength - number of bytes in the buffer to read from