public interface Signature
SignatureDSA, SignatureECDSA, SignatureRSA,
 which also have some more documentation.)| Modifier and Type | Method and Description | 
|---|---|
void | 
init()
Initializes the signature object. 
 | 
byte[] | 
sign()
Signs the data given so far to the  
update(byte[]) method. | 
void | 
update(byte[] H)
adds some more data to be signed/verified. 
 | 
boolean | 
verify(byte[] sig)
Verifies that the given signature is a correct signature. 
 | 
void init() throws Exception
Exceptionvoid update(byte[] H)
     throws Exception
H - the array containing the data to be signed/verified.Exceptionboolean verify(byte[] sig)
        throws Exception
sig - an array containing the signature for the data
   given by update(byte[]).Exceptionbyte[] sign()
     throws Exception
update(byte[]) method.ExceptionThis is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.