|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SigningStream
Signing streams are able to sign data
Method Summary | |
---|---|
int |
digestSize()
Return the size of the signature or digest in number of bytes. |
void |
initSign()
Initializes this stream for signing. |
void |
sign(java.nio.ByteBuffer output)
Sign the updated input and output the signature in the given buffer. |
void |
updateSign(java.nio.ByteBuffer input)
Update the signature with the given input. |
Method Detail |
---|
void initSign() throws KeyczarException
KeyczarException
- If any Java JCE errors occurvoid updateSign(java.nio.ByteBuffer input) throws KeyczarException
input
- The input to sign.
KeyczarException
- If any Java JCE errors occurvoid sign(java.nio.ByteBuffer output) throws KeyczarException
output
- The output where the signature will be written.
KeyczarException
- If any Java JCE errors occur or the output buffer
is too small.int digestSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |