|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VerifyingStream
Verifying Streams are able to verify data that has been signed by
SigningStream objects.
| Method Summary | |
|---|---|
int |
digestSize()
|
void |
initVerify()
Initialize this stream for verification. |
void |
updateVerify(java.nio.ByteBuffer input)
Update the data which has been signed. |
boolean |
verify(java.nio.ByteBuffer signature)
Verify that the given signautre is a valid signautre on the updated data. |
| Method Detail |
|---|
int digestSize()
void initVerify()
throws KeyczarException
KeyczarException - If a Java JCE error occurs.
void updateVerify(java.nio.ByteBuffer input)
throws KeyczarException
input - Data which has been signed.
KeyczarException - If a Java JCE error occurs.
boolean verify(java.nio.ByteBuffer signature)
throws KeyczarException
signature - The signature to verify
KeyczarException - If a Java JCE error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||