com.jcraft.jsch.jce
Class SignatureECDSAN

java.lang.Object
  extended by com.jcraft.jsch.jce.SignatureECDSAN
All Implemented Interfaces:
Signature, SignatureECDSA
Direct Known Subclasses:
SignatureECDSA256, SignatureECDSA384, SignatureECDSA521

public abstract class SignatureECDSAN
extends Object
implements SignatureECDSA


Constructor Summary
SignatureECDSAN()
           
 
Method Summary
 void init()
           
 void setPrvKey(byte[] d)
           
 void setPubKey(byte[] r, byte[] s)
           
 byte[] sign()
           
 void update(byte[] foo)
           
 boolean verify(byte[] sig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureECDSAN

public SignatureECDSAN()
Method Detail

init

public void init()
          throws Exception
Specified by:
init in interface Signature
Throws:
Exception

setPubKey

public void setPubKey(byte[] r,
                      byte[] s)
               throws Exception
Specified by:
setPubKey in interface SignatureECDSA
Throws:
Exception

setPrvKey

public void setPrvKey(byte[] d)
               throws Exception
Specified by:
setPrvKey in interface SignatureECDSA
Throws:
Exception

sign

public byte[] sign()
            throws Exception
Specified by:
sign in interface Signature
Throws:
Exception

update

public void update(byte[] foo)
            throws Exception
Specified by:
update in interface Signature
Throws:
Exception

verify

public boolean verify(byte[] sig)
               throws Exception
Specified by:
verify in interface Signature
Throws:
Exception


Copyright © 2018 JCraft,Inc.. All Rights Reserved.