public final class SSHRSASignature extends Signature
s (which is an integer, without lengths
or padding, unsigned, and in network byte order).SIGN, state, UNINITIALIZED, VERIFYappRandom| Constructor and Description |
|---|
SSHRSASignature() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
engineGetParameter(String param) |
protected void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(String param,
Object value) |
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected boolean |
engineVerify(byte[] sigBytes) |
clone, getAlgorithm, getInstance, getInstance, getInstance, getParameter, getParameters, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, update, verify, verifyengineGetParameters, engineInitSign, engineSetParameter, engineSign, engineUpdate, engineVerifypublic SSHRSASignature()
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpiSignatureExceptionprotected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpiSignatureExceptionprotected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter in class SignatureSpiInvalidParameterExceptionprotected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter in class SignatureSpiInvalidParameterExceptionCopyright © 2013-2017. All Rights Reserved.