public class BaseXmlSignatureAlgorithm extends java.lang.Object implements XmlSignatureAlgorithm
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mSign |
protected tr.gov.tubitak.uekae.esya.api.crypto.alg.SignatureAlg |
mSignatureAlg |
protected tr.gov.tubitak.uekae.esya.api.crypto.Signer |
mSigner |
protected tr.gov.tubitak.uekae.esya.api.crypto.Verifier |
mVerifier |
| Constructor and Description |
|---|
BaseXmlSignatureAlgorithm(tr.gov.tubitak.uekae.esya.api.crypto.alg.SignatureAlg aSignatureAlg) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName() |
void |
initSign(java.security.Key aKey,
tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams aParameters) |
void |
initVerify(java.security.Key aKey,
tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams aParameters) |
byte[] |
sign() |
void |
update(byte[] aData) |
boolean |
verify(byte[] aSignatureValue) |
protected tr.gov.tubitak.uekae.esya.api.crypto.Signer mSigner
protected tr.gov.tubitak.uekae.esya.api.crypto.Verifier mVerifier
protected tr.gov.tubitak.uekae.esya.api.crypto.alg.SignatureAlg mSignatureAlg
protected boolean mSign
public BaseXmlSignatureAlgorithm(tr.gov.tubitak.uekae.esya.api.crypto.alg.SignatureAlg aSignatureAlg)
public java.lang.String getAlgorithmName()
getAlgorithmName in interface XmlSignatureAlgorithmpublic void initSign(java.security.Key aKey,
tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams aParameters)
throws XMLSignatureException
initSign in interface XmlSignatureAlgorithmXMLSignatureExceptionpublic void initVerify(java.security.Key aKey,
tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams aParameters)
throws XMLSignatureException
initVerify in interface XmlSignatureAlgorithmXMLSignatureExceptionpublic void update(byte[] aData)
throws XMLSignatureException
update in interface XmlSignatureAlgorithmXMLSignatureExceptionpublic byte[] sign()
throws XMLSignatureException
sign in interface XmlSignatureAlgorithmXMLSignatureExceptionpublic boolean verify(byte[] aSignatureValue)
throws XMLSignatureException
verify in interface XmlSignatureAlgorithmXMLSignatureExceptionCopyright © 2025. All rights reserved.