public class SignatureDSA extends SignatureAlgorithmSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
SignatureDSA.SHA256 |
| Constructor and Description |
|---|
SignatureDSA()
Constructor SignatureDSA
|
SignatureDSA(Provider provider) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
engineGetJCEAlgorithmString()
Method engineGetJCEAlgorithmString
Proxy method for
Signature.getAlgorithm()
which is executed on the internal Signature object. |
protected String |
engineGetJCEProviderName()
Method engineGetJCEProviderName
Method engineGetJCEProviderName
|
protected String |
engineGetURI()
Method engineGetURI
Returns the URI representation of
Transformation algorithm |
protected void |
engineInitSign(Key privateKey)
Proxy method for
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected void |
engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign
|
protected void |
engineInitSign(Key privateKey,
SecureRandom secureRandom)
Proxy method for
Signature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature object. |
protected void |
engineInitVerify(Key publicKey)
Method engineInitVerify
|
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. |
engineAddContextToElement, engineGetContextFromElement, engineInitSign, engineInitVerifypublic static final String URI
public SignatureDSA()
throws XMLSignatureException
XMLSignatureExceptionpublic SignatureDSA(Provider provider) throws XMLSignatureException
XMLSignatureExceptionprotected String engineGetURI()
Transformation algorithmengineGetURI in class SignatureAlgorithmSpiTransformation algorithmprotected void engineSetParameter(AlgorithmParameterSpec params) throws XMLSignatureException
Signature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object.engineSetParameter in class SignatureAlgorithmSpiXMLSignatureExceptionprotected boolean engineVerify(byte[] signature)
throws XMLSignatureException
Signature.verify(byte[])
which is executed on the internal Signature object.engineVerify in class SignatureAlgorithmSpiXMLSignatureExceptionprotected void engineInitVerify(Key publicKey) throws XMLSignatureException
engineInitVerify in class SignatureAlgorithmSpiXMLSignatureExceptionprotected byte[] engineSign()
throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature object.engineSign in class SignatureAlgorithmSpiSignature.sign() methodXMLSignatureExceptionprotected void engineInitSign(Key privateKey, SecureRandom secureRandom) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature object.engineInitSign in class SignatureAlgorithmSpiXMLSignatureException - if this method is called on a MACprotected void engineInitSign(Key privateKey) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object.engineInitSign in class SignatureAlgorithmSpiXMLSignatureException - if this method is called on a MACprotected void engineUpdate(byte[] input)
throws XMLSignatureException
Signature.update(byte[])
which is executed on the internal Signature object.engineUpdate in class SignatureAlgorithmSpiXMLSignatureExceptionprotected void engineUpdate(byte input)
throws XMLSignatureException
Signature.update(byte[])
which is executed on the internal Signature object.engineUpdate in class SignatureAlgorithmSpiXMLSignatureExceptionprotected 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 SignatureAlgorithmSpiXMLSignatureExceptionprotected String engineGetJCEAlgorithmString()
Signature.getAlgorithm()
which is executed on the internal Signature object.engineGetJCEAlgorithmString in class SignatureAlgorithmSpiSignature.getAlgorithm() methodprotected String engineGetJCEProviderName()
engineGetJCEProviderName in class SignatureAlgorithmSpiprotected void engineSetHMACOutputLength(int HMACOutputLength)
throws XMLSignatureException
engineSetHMACOutputLength in class SignatureAlgorithmSpiHMACOutputLength - XMLSignatureExceptionprotected void engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException
engineInitSign in class SignatureAlgorithmSpisigningKey - algorithmParameterSpec - XMLSignatureExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.