public class SignatureDSA extends java.lang.Object implements SignatureDSA
| Constructor and Description |
|---|
SignatureDSA() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
protected byte[] |
normalize(byte[] secret) |
void |
setPrvKey(byte[] x,
byte[] p,
byte[] q,
byte[] g) |
void |
setPubKey(byte[] y,
byte[] p,
byte[] q,
byte[] g) |
byte[] |
sign() |
void |
update(byte[] foo) |
boolean |
verify(byte[] sig) |
public void init()
throws java.lang.Exception
public void setPubKey(byte[] y,
byte[] p,
byte[] q,
byte[] g)
throws java.lang.Exception
setPubKey in interface SignatureDSAjava.lang.Exceptionpublic void setPrvKey(byte[] x,
byte[] p,
byte[] q,
byte[] g)
throws java.lang.Exception
setPrvKey in interface SignatureDSAjava.lang.Exceptionpublic byte[] sign()
throws java.lang.Exception
public void update(byte[] foo)
throws java.lang.Exception
public boolean verify(byte[] sig)
throws java.lang.Exception
protected byte[] normalize(byte[] secret)
Copyright © 2020 JCraft,Inc.. All Rights Reserved.