Package com.jcraft.jsch.bc
Class SignatureEd25519
- java.lang.Object
-
- com.jcraft.jsch.bc.SignatureEd25519
-
- All Implemented Interfaces:
Signature,SignatureEdDSA
public class SignatureEd25519 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SignatureEd25519()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidsetPrvKey(byte[] bytes)voidsetPubKey(byte[] y_arr)byte[]sign()voidupdate(byte[] foo)booleanverify(byte[] sig)
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
-
setPubKey
public void setPubKey(byte[] y_arr) throws java.lang.Exception- Specified by:
setPubKeyin interfaceSignatureEdDSA- Throws:
java.lang.Exception
-
setPrvKey
public void setPrvKey(byte[] bytes) throws java.lang.Exception- Specified by:
setPrvKeyin interfaceSignatureEdDSA- Throws:
java.lang.Exception
-
sign
public byte[] sign() throws java.lang.Exception
-
update
public void update(byte[] foo) throws java.lang.Exception
-
-