|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xml.security.algorithms.SignatureAlgorithmSpi
| Constructor Summary | |
SignatureAlgorithmSpi()
|
|
| Method Summary | |
protected void |
engineAddContextToElement(org.w3c.dom.Element element)
Method engineAddContextToElement |
protected void |
engineGetContextFromElement(org.w3c.dom.Element element)
Method engineGetContextFromElement |
protected abstract java.lang.String |
engineGetJCEAlgorithmString()
Proxy method for Signature.getAlgorithm()
which is executed on the internal Signature object. |
protected abstract java.lang.String |
engineGetJCEProviderName()
Method engineGetJCEProviderName |
protected abstract java.lang.String |
engineGetURI()
Returns the URI representation of Transformation algorithm |
protected abstract void |
engineInitSign(java.security.Key signingKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected abstract void |
engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for Mac
which is executed on the internal Mac.init(Key) object. |
protected abstract void |
engineInitSign(java.security.Key signingKey,
java.security.SecureRandom secureRandom)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected abstract void |
engineInitVerify(java.security.Key verificationKey)
Method engineInitVerify |
protected void |
engineSetDocument(org.w3c.dom.Document doc)
Method engineSetDocument |
protected abstract void |
engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected abstract 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 abstract byte[] |
engineSign()
Proxy method for Signature.sign()
which is executed on the internal Signature object. |
protected abstract void |
engineUpdate(byte input)
Proxy method for Signature.update(byte)
which is executed on the internal Signature object. |
protected abstract void |
engineUpdate(byte[] input)
Proxy method for Signature.update(byte)
which is executed on the internal Signature object. |
protected abstract void |
engineUpdate(byte[] buf,
int offset,
int len)
Proxy method for Signature.update(byte)
which is executed on the internal Signature object. |
protected abstract boolean |
engineVerify(byte[] signature)
Proxy method for Signature.verify(byte[])
which is executed on the internal Signature object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SignatureAlgorithmSpi()
| Method Detail |
protected abstract java.lang.String engineGetURI()
Transformation algorithm
Transformation algorithmprotected abstract java.lang.String engineGetJCEAlgorithmString()
Signature.getAlgorithm()
which is executed on the internal Signature object.
Signature.getAlgorithm() methodprotected abstract java.lang.String engineGetJCEProviderName()
protected abstract void engineUpdate(byte[] input)
throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature object.
input -
XMLSignatureException
protected abstract void engineUpdate(byte input)
throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature object.
input -
XMLSignatureException
protected abstract void engineUpdate(byte[] buf,
int offset,
int len)
throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature object.
buf - offset - len -
XMLSignatureException
protected abstract void engineInitSign(java.security.Key signingKey)
throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object.
signingKey -
XMLSignatureException - if this method is called on a MAC
protected abstract void engineInitSign(java.security.Key signingKey,
java.security.SecureRandom secureRandom)
throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object.
signingKey - secureRandom -
XMLSignatureException - if this method is called on a MAC
protected abstract void engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
throws XMLSignatureException
Mac
which is executed on the internal Mac.init(Key) object.
signingKey - algorithmParameterSpec -
XMLSignatureException - if this method is called on a Signature
protected abstract byte[] engineSign()
throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature object.
Signature.sign() method
XMLSignatureException
protected abstract void engineInitVerify(java.security.Key verificationKey)
throws XMLSignatureException
verificationKey -
XMLSignatureException
protected abstract boolean engineVerify(byte[] signature)
throws XMLSignatureException
Signature.verify(byte[])
which is executed on the internal Signature object.
signature -
XMLSignatureException
protected abstract void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
throws XMLSignatureException
Signature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object.
params -
XMLSignatureExceptionprotected void engineSetDocument(org.w3c.dom.Document doc)
doc -
protected void engineGetContextFromElement(org.w3c.dom.Element element)
throws XMLSignatureException
element -
XMLSignatureException
protected void engineAddContextToElement(org.w3c.dom.Element element)
throws XMLSignatureException
element -
XMLSignatureException
protected abstract void engineSetHMACOutputLength(int HMACOutputLength)
throws XMLSignatureException
HMACOutputLength -
XMLSignatureException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||