|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OpenPgpStreamingSigner
An interface for updating an OpenPGP signature on the fly with streaming data.
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
byte[] |
finish()
Finish creating the signature. |
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. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
void update(byte[] buf)
throws OpenPgpException
buf - the buffer
OpenPgpException - if the buffer is not valid for updating the signature
void 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 from
OpenPgpException - if the buffer is not valid for updating the signature
byte[] finish()
throws OpenPgpException,
IOException
OpenPgpException - if the signature is not in a consistent or complete state
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||