Package com.jcraft.jsch.jce
Class SignatureRSAN
java.lang.Object
com.jcraft.jsch.jce.SignatureRSAN
- All Implemented Interfaces:
Signature
,SignatureRSA
- Direct Known Subclasses:
SignatureRSA
,SignatureRSASHA256
,SignatureRSASHA512
public abstract class SignatureRSAN extends java.lang.Object implements SignatureRSA
-
Constructor Summary
Constructors Constructor Description SignatureRSAN()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SignatureRSAN
public SignatureRSAN()
-
-
Method Details
-
init
public void init() throws java.lang.Exception -
setPubKey
public void setPubKey(byte[] e, byte[] n) throws java.lang.Exception- Specified by:
setPubKey
in interfaceSignatureRSA
- Throws:
java.lang.Exception
-
setPrvKey
public void setPrvKey(byte[] d, byte[] n) throws java.lang.Exception- Specified by:
setPrvKey
in interfaceSignatureRSA
- 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
-