Package com.jcraft.jsch.jce
Class SignatureRSASHA512
- java.lang.Object
-
- com.jcraft.jsch.jce.SignatureRSASHA512
-
- All Implemented Interfaces:
Signature
,SignatureRSA
public class SignatureRSASHA512 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SignatureRSASHA512()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
setPrvKey(byte[] d, byte[] n)
void
setPubKey(byte[] e, byte[] n)
byte[]
sign()
void
update(byte[] foo)
boolean
verify(byte[] sig)
-
-
-
Method Detail
-
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
-
-