|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.security.algorithms.SignatureAlgorithmSpi org.apache.xml.security.algorithms.implementations.IntegrityHmac
Nested Class Summary | |
static class |
IntegrityHmac.IntegrityHmacMD5
Class IntegrityHmacMD5 |
static class |
IntegrityHmac.IntegrityHmacRIPEMD160
Class IntegrityHmacRIPEMD160 |
static class |
IntegrityHmac.IntegrityHmacSHA1
Class IntegrityHmacSHA1 |
static class |
IntegrityHmac.IntegrityHmacSHA256
Class IntegrityHmacSHA256 |
static class |
IntegrityHmac.IntegrityHmacSHA384
Class IntegrityHmacSHA384 |
static class |
IntegrityHmac.IntegrityHmacSHA512
Class IntegrityHmacSHA512 |
Constructor Summary | |
IntegrityHmac()
Method IntegrityHmacSHA1das |
Method Summary | |
void |
engineAddContextToElement(org.w3c.dom.Element element)
Method engineAddContextToElement |
protected void |
engineGetContextFromElement(org.w3c.dom.Element element)
Method engineGetContextFromElement |
protected java.lang.String |
engineGetJCEAlgorithmString()
Method engineGetJCEAlgorithmString |
protected java.lang.String |
engineGetJCEProviderName()
Method engineGetJCEAlgorithmString |
abstract java.lang.String |
engineGetURI()
Method engineGetURI |
protected void |
engineInitSign(java.security.Key secretKey)
Method engineInitSign |
protected void |
engineInitSign(java.security.Key secretKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign |
protected void |
engineInitSign(java.security.Key secretKey,
java.security.SecureRandom secureRandom)
Method engineInitSign |
protected void |
engineInitVerify(java.security.Key secretKey)
Proxy method for Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object. |
protected void |
engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected void |
engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
Proxy method for Signature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object. |
protected byte[] |
engineSign()
Proxy method for Signature.sign()
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte input)
Proxy method for Signature.update(byte)
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte[] input)
Proxy method for Signature.update(byte[])
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte[] buf,
int offset,
int len)
Proxy method for Signature.update(byte[], int, int)
which is executed on the internal Signature object. |
protected boolean |
engineVerify(byte[] signature)
Proxy method for Signature.verify(byte[])
which is executed on the internal Signature object. |
void |
reset()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntegrityHmac() throws XMLSignatureException
XMLSignatureException
Method Detail |
public abstract java.lang.String engineGetURI()
engineGetURI
in class SignatureAlgorithmSpi
Transformation algorithm
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params) throws XMLSignatureException
Signature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature
object.
engineSetParameter
in class SignatureAlgorithmSpi
params
-
XMLSignatureException
public void reset()
reset
in class SignatureAlgorithmSpi
protected boolean engineVerify(byte[] signature) throws XMLSignatureException
Signature.verify(byte[])
which is executed on the internal Signature
object.
engineVerify
in class SignatureAlgorithmSpi
signature
-
XMLSignatureException
protected void engineInitVerify(java.security.Key secretKey) throws XMLSignatureException
Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature
object.
engineInitVerify
in class SignatureAlgorithmSpi
secretKey
-
XMLSignatureException
protected byte[] engineSign() throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature
object.
engineSign
in class SignatureAlgorithmSpi
Signature.sign()
method
XMLSignatureException
protected void engineInitSign(java.security.Key secretKey) throws XMLSignatureException
engineInitSign
in class SignatureAlgorithmSpi
secretKey
-
XMLSignatureException
protected void engineInitSign(java.security.Key secretKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException
engineInitSign
in class SignatureAlgorithmSpi
secretKey
- algorithmParameterSpec
-
XMLSignatureException
protected void engineInitSign(java.security.Key secretKey, java.security.SecureRandom secureRandom) throws XMLSignatureException
engineInitSign
in class SignatureAlgorithmSpi
secretKey
- secureRandom
-
XMLSignatureException
protected void engineUpdate(byte[] input) throws XMLSignatureException
Signature.update(byte[])
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
input
-
XMLSignatureException
protected void engineUpdate(byte input) throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
input
-
XMLSignatureException
protected void engineUpdate(byte[] buf, int offset, int len) throws XMLSignatureException
Signature.update(byte[], int, int)
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
buf
- offset
- len
-
XMLSignatureException
protected java.lang.String engineGetJCEAlgorithmString()
engineGetJCEAlgorithmString
in class SignatureAlgorithmSpi
Signature.getAlgorithm()
methodprotected java.lang.String engineGetJCEProviderName()
engineGetJCEProviderName
in class SignatureAlgorithmSpi
protected void engineSetHMACOutputLength(int HMACOutputLength)
engineSetHMACOutputLength
in class SignatureAlgorithmSpi
HMACOutputLength
- protected void engineGetContextFromElement(org.w3c.dom.Element element)
engineGetContextFromElement
in class SignatureAlgorithmSpi
element
- public void engineAddContextToElement(org.w3c.dom.Element element)
element
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |