public abstract class BaseSignatureFormat extends java.lang.Object implements SignatureFormat
| Modifier and Type | Field and Description |
|---|---|
protected Context |
mContext |
protected XMLSignature |
mSignature |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseSignatureFormat(Context aContext,
XMLSignature aSignature) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyInfo(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate) |
void |
addKeyInfo(java.security.PublicKey pk) |
protected void |
debugSign(SignedInfo si,
byte[] canoned,
java.lang.Object aKey) |
protected void |
digestReferences(Manifest aReferences) |
protected void |
fillSignatureValue(java.security.Key aKey) |
protected C14nMethod |
getC14nMethod() |
protected tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg |
getDigestAlgorithmUrl() |
protected SignatureMethod |
getSignatureMethod() |
XMLSignature |
sign(tr.gov.tubitak.uekae.esya.api.common.crypto.BaseSigner aSigner) |
SignatureValidationResult |
validateCore() |
SignatureValidationResult |
validateCore(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate) |
SignatureValidationResult |
validateCore(java.security.Key aKey) |
protected ValidationResult |
validateReferences(Manifest aReferences) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArchiveTimeStamp, createCounterSignature, evolveToA, evolveToC, evolveToT, evolveToX1, evolveToX2, evolveToXL, signprotected XMLSignature mSignature
protected Context mContext
protected BaseSignatureFormat(Context aContext, XMLSignature aSignature)
protected tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg getDigestAlgorithmUrl()
protected C14nMethod getC14nMethod()
protected SignatureMethod getSignatureMethod()
protected void digestReferences(Manifest aReferences) throws XMLSignatureException
XMLSignatureExceptionpublic SignatureValidationResult validateCore() throws XMLSignatureException
validateCore in interface SignatureFormatXMLSignatureExceptionpublic SignatureValidationResult validateCore(java.security.Key aKey) throws XMLSignatureException
validateCore in interface SignatureFormatXMLSignatureExceptionpublic SignatureValidationResult validateCore(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate) throws XMLSignatureException
validateCore in interface SignatureFormatXMLSignatureExceptionprotected ValidationResult validateReferences(Manifest aReferences) throws XMLSignatureException
XMLSignatureExceptionpublic XMLSignature sign(tr.gov.tubitak.uekae.esya.api.common.crypto.BaseSigner aSigner) throws XMLSignatureException
sign in interface SignatureFormatXMLSignatureExceptionprotected void fillSignatureValue(java.security.Key aKey)
throws XMLSignatureException
XMLSignatureExceptionprotected void debugSign(SignedInfo si, byte[] canoned, java.lang.Object aKey)
public void addKeyInfo(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate)
addKeyInfo in interface SignatureFormatpublic void addKeyInfo(java.security.PublicKey pk)
throws XMLSignatureException
addKeyInfo in interface SignatureFormatXMLSignatureExceptionCopyright © 2025. All rights reserved.