org.gridkit.internal.com.jcraft.jsch.jce
Class SignatureRSA
java.lang.Object
org.gridkit.internal.com.jcraft.jsch.jce.SignatureRSA
- All Implemented Interfaces:
- SignatureRSA
public class SignatureRSA
- extends Object
- implements SignatureRSA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureRSA
public SignatureRSA()
init
public void init()
throws Exception
- Specified by:
init in interface SignatureRSA
- Throws:
Exception
setPubKey
public void setPubKey(byte[] e,
byte[] n)
throws Exception
- Specified by:
setPubKey in interface SignatureRSA
- Throws:
Exception
setPrvKey
public void setPrvKey(byte[] d,
byte[] n)
throws Exception
- Specified by:
setPrvKey in interface SignatureRSA
- Throws:
Exception
sign
public byte[] sign()
throws Exception
- Specified by:
sign in interface SignatureRSA
- Throws:
Exception
update
public void update(byte[] foo)
throws Exception
- Specified by:
update in interface SignatureRSA
- Throws:
Exception
verify
public boolean verify(byte[] sig)
throws Exception
- Specified by:
verify in interface SignatureRSA
- Throws:
Exception
Copyright © 2017. All Rights Reserved.