public interface OpenPgpStreamingSignatureVerifier
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void update(byte[] buf)
throws OpenPgpException
buf - the bufferOpenPgpException - if the buffer is not valid for updating the signaturevoid update(byte[] buf,
int offset,
int length)
throws OpenPgpException
buf - the bufferoffset - offset within the buffer to start fromlength - number of bytes in the buffer to read fromOpenPgpException - if the buffer is not valid for updating the signatureSignatureStatus finish() throws OpenPgpException, java.io.IOException
OpenPgpException - if the signature is not in a consistent or complete statejava.io.IOException