|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.algorithms.SignatureAlgorithmSpi
public abstract class SignatureAlgorithmSpi
Constructor Summary | |
---|---|
SignatureAlgorithmSpi()
|
Method Summary | |
---|---|
protected void |
engineGetContextFromElement(Element element)
Method engineGetContextFromElement |
protected abstract String |
engineGetJCEAlgorithmString()
Proxy method for Signature.getAlgorithm()
which is executed on the internal Signature object. |
protected abstract String |
engineGetJCEProviderName()
Method engineGetJCEProviderName |
protected abstract String |
engineGetURI()
Returns the URI representation of Transformation algorithm |
protected abstract void |
engineInitSign(Key signingKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected abstract void |
engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for Mac
which is executed on the internal Mac.init(Key) object. |
protected abstract void |
engineInitSign(Key signingKey,
SecureRandom secureRandom)
Proxy method for Signature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature object. |
protected abstract void |
engineInitVerify(Key verificationKey)
Method engineInitVerify |
protected abstract void |
engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected abstract void |
engineSetParameter(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[], int, int)
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. |
void |
reset()
|
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 String engineGetURI()
Transformation algorithm
Transformation algorithm
protected abstract String engineGetJCEAlgorithmString()
Signature.getAlgorithm()
which is executed on the internal Signature
object.
Signature.getAlgorithm()
methodprotected abstract 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[], int, int)
which is executed on the internal Signature
object.
buf
- offset
- len
-
XMLSignatureException
protected abstract void engineInitSign(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 MACprotected abstract void engineInitSign(Key signingKey, SecureRandom secureRandom) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature
object.
signingKey
- secureRandom
-
XMLSignatureException
- if this method is called on a MACprotected abstract void engineInitSign(Key signingKey, 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 Signatureprotected abstract byte[] engineSign() throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature
object.
Signature.sign()
method
XMLSignatureException
protected abstract void engineInitVerify(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(AlgorithmParameterSpec params) throws XMLSignatureException
Signature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature
object.
params
-
XMLSignatureException
protected void engineGetContextFromElement(Element element)
element
- protected abstract void engineSetHMACOutputLength(int HMACOutputLength) throws XMLSignatureException
HMACOutputLength
-
XMLSignatureException
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |