public class SHA1WithRSAProxySignature extends Signature
SIGN, state, UNINITIALIZED, VERIFYappRandom| Constructor and Description |
|---|
SHA1WithRSAProxySignature() |
| 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) |
static byte[] |
getDigestValue() |
static void |
reset() |
static void |
setDigestSignatureValue(byte[] digestValue,
byte[] signatureValue) |
static void |
setSignatureValue(byte[] signatureValue) |
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 SHA1WithRSAProxySignature()
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static void reset()
protected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter in class SignatureSpiInvalidParameterExceptionprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify in class SignatureSpiInvalidKeyExceptionprotected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter in class SignatureSpiInvalidParameterExceptionprotected byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpiSignatureExceptionpublic static byte[] getDigestValue()
public static void setSignatureValue(byte[] signatureValue)
public static void setDigestSignatureValue(byte[] digestValue,
byte[] signatureValue)
Copyright © 2008-2018 FedICT. All Rights Reserved.