public class SignatureECDSA extends java.lang.Object implements SignatureECDSA
Constructor and Description |
---|
SignatureECDSA() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setPrvKey(byte[] d) |
void |
setPubKey(byte[] r,
byte[] s) |
byte[] |
sign() |
void |
update(byte[] foo) |
boolean |
verify(byte[] sig) |
public void init() throws java.lang.Exception
public void setPubKey(byte[] r, byte[] s) throws java.lang.Exception
setPubKey
in interface SignatureECDSA
java.lang.Exception
public void setPrvKey(byte[] d) throws java.lang.Exception
setPrvKey
in interface SignatureECDSA
java.lang.Exception
public byte[] sign() throws java.lang.Exception
public void update(byte[] foo) throws java.lang.Exception