|
||||||||||
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
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 secretKey)
Proxy method for Mac
which is executed on the internal Mac.init(Key) object. |
protected abstract void |
engineInitSign(java.security.Key secretKey,
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.PrivateKey privateKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected abstract void |
engineInitSign(java.security.PrivateKey privateKey,
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 secretkey)
Method engineInitVerify |
protected abstract void |
engineInitVerify(java.security.PublicKey publickey)
Proxy method for Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object. |
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.lang.String, java.lang.Object)
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 algorithm
protected 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.PrivateKey privateKey, java.security.SecureRandom secureRandom) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature
object.
privateKey
- secureRandom
-
XMLSignatureException
- if this method is called on a MACprotected abstract void engineInitSign(java.security.PrivateKey privateKey) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature
object.
privateKey
-
XMLSignatureException
- if this method is called on a MACprotected abstract void engineInitSign(java.security.Key secretKey) throws XMLSignatureException
Mac
which is executed on the internal Mac.init(Key)
object.
secretKey
-
XMLSignatureException
- if this method is called on a Signatureprotected abstract void engineInitSign(java.security.Key secretKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException
Mac
which is executed on the internal Mac.init(Key)
object.
secretKey
- algorithmParameterSpec
-
XMLSignatureException
- if this method is called on a Signatureprotected 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.PublicKey publickey) throws XMLSignatureException
Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature
object.
publickey
-
XMLSignatureException
protected abstract void engineInitVerify(java.security.Key secretkey) throws XMLSignatureException
secretkey
-
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.lang.String, java.lang.Object)
which is executed on the internal Signature
object.
params
-
XMLSignatureException
protected 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 |