be.fedict.eid.applet.service.signer
Class SHA1WithRSAProxySignature
java.lang.Object
java.security.SignatureSpi
java.security.Signature
be.fedict.eid.applet.service.signer.SHA1WithRSAProxySignature
public class SHA1WithRSAProxySignature
- extends Signature
A signature proxy implementation for SHA1withRSA signatures.
- Author:
- Frank Cornelis
Methods inherited from class java.security.Signature |
clone, getAlgorithm, getInstance, getInstance, getInstance, getParameter, getParameters, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, update, verify, verify |
SHA1WithRSAProxySignature
public SHA1WithRSAProxySignature()
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
reset
public static void reset()
engineGetParameter
protected Object engineGetParameter(String param)
throws InvalidParameterException
- Specified by:
engineGetParameter
in class SignatureSpi
- Throws:
InvalidParameterException
engineInitSign
protected void engineInitSign(PrivateKey privateKey)
throws InvalidKeyException
- Specified by:
engineInitSign
in class SignatureSpi
- Throws:
InvalidKeyException
engineInitVerify
protected void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException
- Specified by:
engineInitVerify
in class SignatureSpi
- Throws:
InvalidKeyException
engineSetParameter
protected void engineSetParameter(String param,
Object value)
throws InvalidParameterException
- Specified by:
engineSetParameter
in class SignatureSpi
- Throws:
InvalidParameterException
engineSign
protected byte[] engineSign()
throws SignatureException
- Specified by:
engineSign
in class SignatureSpi
- Throws:
SignatureException
engineUpdate
protected void engineUpdate(byte b)
throws SignatureException
- Specified by:
engineUpdate
in class SignatureSpi
- Throws:
SignatureException
engineUpdate
protected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
- Specified by:
engineUpdate
in class SignatureSpi
- Throws:
SignatureException
engineVerify
protected boolean engineVerify(byte[] sigBytes)
throws SignatureException
- Specified by:
engineVerify
in class SignatureSpi
- Throws:
SignatureException
getDigestValue
public static byte[] getDigestValue()
setSignatureValue
public static void setSignatureValue(byte[] signatureValue)
setDigestSignatureValue
public static void setDigestSignatureValue(byte[] digestValue,
byte[] signatureValue)
Copyright © 2008-2012 FedICT. All Rights Reserved.