|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.security.algorithms.SignatureAlgorithmSpi
org.apache.xml.security.algorithms.implementations.IntegrityHmac
public abstract class 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.IntegrityHmacSHA224
Class IntegrityHmacSHA224 |
static class |
IntegrityHmac.IntegrityHmacSHA256
Class IntegrityHmacSHA256 |
static class |
IntegrityHmac.IntegrityHmacSHA384
Class IntegrityHmacSHA384 |
static class |
IntegrityHmac.IntegrityHmacSHA512
Class IntegrityHmacSHA512 |
| Constructor Summary | |
|---|---|
IntegrityHmac()
Method IntegrityHmac |
|
| Method Summary | |
|---|---|
void |
engineAddContextToElement(Element element)
Method engineAddContextToElement |
protected void |
engineGetContextFromElement(Element element)
Method engineGetContextFromElement |
protected String |
engineGetJCEAlgorithmString()
Method engineGetJCEAlgorithmString |
protected String |
engineGetJCEProviderName()
Method engineGetJCEAlgorithmString |
abstract String |
engineGetURI()
Method engineGetURI |
protected void |
engineInitSign(Key secretKey)
Method engineInitSign |
protected void |
engineInitSign(Key secretKey,
AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign |
protected void |
engineInitSign(Key secretKey,
SecureRandom secureRandom)
Method engineInitSign |
protected void |
engineInitVerify(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(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 String engineGetURI()
engineGetURI in class SignatureAlgorithmSpiTransformation algorithm
protected void engineSetParameter(AlgorithmParameterSpec params)
throws XMLSignatureException
Signature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object.
engineSetParameter in class SignatureAlgorithmSpiparams -
XMLSignatureExceptionpublic 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 SignatureAlgorithmSpisignature -
XMLSignatureException
protected void engineInitVerify(Key secretKey)
throws XMLSignatureException
Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object.
engineInitVerify in class SignatureAlgorithmSpisecretKey -
XMLSignatureException
protected byte[] engineSign()
throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature object.
engineSign in class SignatureAlgorithmSpiSignature.sign() method
XMLSignatureException
protected void engineInitSign(Key secretKey)
throws XMLSignatureException
engineInitSign in class SignatureAlgorithmSpisecretKey -
XMLSignatureException
protected void engineInitSign(Key secretKey,
AlgorithmParameterSpec algorithmParameterSpec)
throws XMLSignatureException
engineInitSign in class SignatureAlgorithmSpisecretKey - algorithmParameterSpec -
XMLSignatureException
protected void engineInitSign(Key secretKey,
SecureRandom secureRandom)
throws XMLSignatureException
engineInitSign in class SignatureAlgorithmSpisecretKey - secureRandom -
XMLSignatureException
protected void engineUpdate(byte[] input)
throws XMLSignatureException
Signature.update(byte[])
which is executed on the internal Signature object.
engineUpdate in class SignatureAlgorithmSpiinput -
XMLSignatureException
protected void engineUpdate(byte input)
throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature object.
engineUpdate in class SignatureAlgorithmSpiinput -
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 SignatureAlgorithmSpibuf - offset - len -
XMLSignatureExceptionprotected String engineGetJCEAlgorithmString()
engineGetJCEAlgorithmString in class SignatureAlgorithmSpiSignature.getAlgorithm() methodprotected String engineGetJCEProviderName()
engineGetJCEProviderName in class SignatureAlgorithmSpiprotected void engineSetHMACOutputLength(int HMACOutputLength)
engineSetHMACOutputLength in class SignatureAlgorithmSpiHMACOutputLength - protected void engineGetContextFromElement(Element element)
engineGetContextFromElement in class SignatureAlgorithmSpielement - public void engineAddContextToElement(Element element)
element -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||