Interface SignatureAlgorithm
- All Known Implementing Classes:
HMACSignatureAlgorithm
,PKISignatureAlgorithm
public interface SignatureAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptionvoid
engineInitSign
(Key signingKey) void
engineInitSign
(Key signingKey, SecureRandom secureRandom) void
engineInitSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) void
engineInitVerify
(Key verificationKey) void
byte[]
void
engineUpdate
(byte input) void
engineUpdate
(byte[] input) void
engineUpdate
(byte[] buf, int offset, int len) boolean
engineVerify
(byte[] signature)
-
Method Details
-
engineUpdate
- Throws:
XMLSecurityException
-
engineUpdate
- Throws:
XMLSecurityException
-
engineUpdate
- Throws:
XMLSecurityException
-
engineInitSign
- Throws:
XMLSecurityException
-
engineInitSign
- Throws:
XMLSecurityException
-
engineInitSign
void engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) throws XMLSecurityException - Throws:
XMLSecurityException
-
engineSign
- Throws:
XMLSecurityException
-
engineInitVerify
- Throws:
XMLSecurityException
-
engineVerify
- Throws:
XMLSecurityException
-
engineSetParameter
- Throws:
XMLSecurityException
-