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