public abstract class SignatureAlgorithmSpi extends Object
| Constructor and Description |
|---|
SignatureAlgorithmSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
engineAddContextToElement(Element element) |
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 static void |
engineInitSign(Key privateKey,
SecureRandom secureRandom,
Signature signatureAlgorithm) |
protected abstract void |
engineInitVerify(Key verificationKey)
Method engineInitVerify
|
protected static void |
engineInitVerify(Key publicKey,
Signature signatureAlgorithm) |
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. |
protected abstract String engineGetURI()
Transformation algorithmTransformation algorithmprotected 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 - XMLSignatureExceptionprotected abstract void engineUpdate(byte input)
throws XMLSignatureException
Signature.update(byte[])
which is executed on the internal Signature object.input - XMLSignatureExceptionprotected 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 - XMLSignatureExceptionprotected 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() methodXMLSignatureExceptionprotected abstract void engineInitVerify(Key verificationKey) throws XMLSignatureException
verificationKey - XMLSignatureExceptionprotected abstract boolean engineVerify(byte[] signature)
throws XMLSignatureException
Signature.verify(byte[])
which is executed on the internal Signature object.signature - XMLSignatureExceptionprotected abstract void engineSetParameter(AlgorithmParameterSpec params) throws XMLSignatureException
Signature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object.params - XMLSignatureExceptionprotected void engineGetContextFromElement(Element element) throws XMLSignatureException
element - XMLSignatureExceptionprotected void engineAddContextToElement(Element element) throws XMLSignatureException
XMLSignatureExceptionprotected abstract void engineSetHMACOutputLength(int HMACOutputLength)
throws XMLSignatureException
HMACOutputLength - XMLSignatureExceptionprotected static void engineInitVerify(Key publicKey, Signature signatureAlgorithm) throws XMLSignatureException
XMLSignatureExceptionprotected static void engineInitSign(Key privateKey, SecureRandom secureRandom, Signature signatureAlgorithm) throws XMLSignatureException
XMLSignatureExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.