Package com.jcraft.jsch.jce
Class SignatureECDSAN
java.lang.Object
com.jcraft.jsch.jce.SignatureECDSAN
- All Implemented Interfaces:
Signature
,SignatureECDSA
- Direct Known Subclasses:
SignatureECDSA256
,SignatureECDSA384
,SignatureECDSA521
public abstract class SignatureECDSAN extends java.lang.Object implements SignatureECDSA
-
Constructor Summary
Constructors Constructor Description SignatureECDSAN()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SignatureECDSAN
public SignatureECDSAN()
-
-
Method Details
-
init
public void init() throws java.lang.Exception -
setPubKey
public void setPubKey(byte[] r, byte[] s) throws java.lang.Exception- Specified by:
setPubKey
in interfaceSignatureECDSA
- Throws:
java.lang.Exception
-
setPrvKey
public void setPrvKey(byte[] d) throws java.lang.Exception- Specified by:
setPrvKey
in interfaceSignatureECDSA
- Throws:
java.lang.Exception
-
sign
public byte[] sign() throws java.lang.Exception -
update
public void update(byte[] foo) throws java.lang.Exception -
verify
public boolean verify(byte[] sig) throws java.lang.Exception
-