com.jcraft.jsch
Interface SignatureRSA
- All Known Implementing Classes:
- SignatureRSA
- public interface SignatureRSA
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
setPubKey
public void setPubKey(byte[] e,
byte[] n)
throws java.lang.Exception
- Throws:
java.lang.Exception
setPrvKey
public void setPrvKey(byte[] d,
byte[] n)
throws java.lang.Exception
- Throws:
java.lang.Exception
update
public void update(byte[] H)
throws java.lang.Exception
- Throws:
java.lang.Exception
verify
public boolean verify(byte[] sig)
throws java.lang.Exception
- Throws:
java.lang.Exception
sign
public byte[] sign()
throws java.lang.Exception
- Throws:
java.lang.Exception