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 void
init()
void
setPrvKey(byte[] bytes)
void
setPubKey(byte[] y_arr)
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[] y_arr) throws java.lang.Exception
- Specified by:
setPubKey
in interfaceSignatureEdDSA
- Throws:
java.lang.Exception
-
setPrvKey
public void setPrvKey(byte[] bytes) throws java.lang.Exception
- Specified by:
setPrvKey
in interfaceSignatureEdDSA
- Throws:
java.lang.Exception
-
sign
public byte[] sign() throws java.lang.Exception
-
update
public void update(byte[] foo) throws java.lang.Exception
-
-