Interface SignatureAlgorithm
-
- All Known Implementing Classes:
HMACSignatureAlgorithm,PKISignatureAlgorithm
public interface SignatureAlgorithm- Version:
- $Revision: 1395267 $ $Date: 2012-10-07 12:02:46 +0200 (Sun, 07 Oct 2012) $
- Author:
- $Author: giger $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidengineInitSign(Key signingKey)voidengineInitSign(Key signingKey, SecureRandom secureRandom)voidengineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)voidengineInitVerify(Key verificationKey)voidengineSetParameter(AlgorithmParameterSpec params)byte[]engineSign()voidengineUpdate(byte input)voidengineUpdate(byte[] input)voidengineUpdate(byte[] buf, int offset, int len)booleanengineVerify(byte[] signature)
-
-
-
Method Detail
-
engineUpdate
void engineUpdate(byte[] input) throws XMLSecurityException- Throws:
XMLSecurityException
-
engineUpdate
void engineUpdate(byte input) throws XMLSecurityException- Throws:
XMLSecurityException
-
engineUpdate
void engineUpdate(byte[] buf, int offset, int len) throws XMLSecurityException- Throws:
XMLSecurityException
-
engineInitSign
void engineInitSign(Key signingKey) throws XMLSecurityException
- Throws:
XMLSecurityException
-
engineInitSign
void engineInitSign(Key signingKey, SecureRandom secureRandom) throws XMLSecurityException
- Throws:
XMLSecurityException
-
engineInitSign
void engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) throws XMLSecurityException
- Throws:
XMLSecurityException
-
engineSign
byte[] engineSign() throws XMLSecurityException- Throws:
XMLSecurityException
-
engineInitVerify
void engineInitVerify(Key verificationKey) throws XMLSecurityException
- Throws:
XMLSecurityException
-
engineVerify
boolean engineVerify(byte[] signature) throws XMLSecurityException- Throws:
XMLSecurityException
-
engineSetParameter
void engineSetParameter(AlgorithmParameterSpec params) throws XMLSecurityException
- Throws:
XMLSecurityException
-
-