org.apache.xml.security.stax.impl.algorithms
Class HMACSignatureAlgorithm
java.lang.Object
org.apache.xml.security.stax.impl.algorithms.HMACSignatureAlgorithm
- All Implemented Interfaces:
- SignatureAlgorithm
public class HMACSignatureAlgorithm
- extends Object
- implements SignatureAlgorithm
- Version:
- $Revision: 1491820 $ $Date: 2013-06-11 15:58:16 +0100 (Tue, 11 Jun 2013) $
- Author:
- $Author: coheigea $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMACSignatureAlgorithm
public HMACSignatureAlgorithm(String jceName,
String jceProvider)
throws NoSuchProviderException,
NoSuchAlgorithmException
- Throws:
NoSuchProviderException
NoSuchAlgorithmException
engineUpdate
public void engineUpdate(byte[] input)
throws XMLSecurityException
- Specified by:
engineUpdate in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineUpdate
public void engineUpdate(byte input)
throws XMLSecurityException
- Specified by:
engineUpdate in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineUpdate
public void engineUpdate(byte[] buf,
int offset,
int len)
throws XMLSecurityException
- Specified by:
engineUpdate in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineInitSign
public void engineInitSign(Key signingKey)
throws XMLSecurityException
- Specified by:
engineInitSign in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineInitSign
public void engineInitSign(Key signingKey,
SecureRandom secureRandom)
throws XMLSecurityException
- Specified by:
engineInitSign in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineInitSign
public void engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec)
throws XMLSecurityException
- Specified by:
engineInitSign in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineSign
public byte[] engineSign()
throws XMLSecurityException
- Specified by:
engineSign in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineInitVerify
public void engineInitVerify(Key verificationKey)
throws XMLSecurityException
- Specified by:
engineInitVerify in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineVerify
public boolean engineVerify(byte[] signature)
throws XMLSecurityException
- Specified by:
engineVerify in interface SignatureAlgorithm
- Throws:
XMLSecurityException
engineSetParameter
public void engineSetParameter(AlgorithmParameterSpec params)
throws XMLSecurityException
- Specified by:
engineSetParameter in interface SignatureAlgorithm
- Throws:
XMLSecurityException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.