public class SignatureECDSA extends 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 Exception
public void setPubKey(byte[] r, byte[] s) throws Exception
setPubKey
in interface SignatureECDSA
Exception
public void setPrvKey(byte[] d) throws Exception
setPrvKey
in interface SignatureECDSA
Exception
public byte[] sign() throws Exception
public void update(byte[] foo) throws Exception
Copyright © 2021 JCraft,Inc.. All rights reserved.