public class SignedInfo extends Manifest
The structure of SignedInfo includes the canonicalization
algorithm, a signature algorithm, and one or more references. The
SignedInfo element may contain an optional ID attribute that
will allow it to be referenced by other signatures and objects.
SignedInfo does not include explicit signature or digest
properties (such as calculation time, cryptographic device serial number,
etc.). If an application needs to associate properties with the signature or
digest, it may include such information in a SignatureProperties
element within an Object element.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignedInfoType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
mContext, mElement, mId| Constructor and Description |
|---|
SignedInfo(Context aBaglam) |
SignedInfo(org.w3c.dom.Element aElement,
Context aContext)
Construct SignedInfo from existing
|
| Modifier and Type | Method and Description |
|---|---|
C14nMethod |
getCanonicalizationMethod() |
byte[] |
getCanonicalizedBytes() |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespace() |
tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams |
getSignatureAlgorithmParameters() |
SignatureMethod |
getSignatureMethod() |
void |
setCanonicalizationMethod(C14nMethod aCanonicalizationMethod) |
void |
setSignatureMethod(SignatureMethod aSignatureMethod) |
addReference, addReference, getReference, getReferenceByURI, getReferenceCountaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic SignedInfo(Context aBaglam)
public SignedInfo(org.w3c.dom.Element aElement,
Context aContext)
throws XMLSignatureException
aElement - xml elementaContext - according to contextXMLSignatureException - when structure is invalid or can not be
resolved appropriatelypublic tr.gov.tubitak.uekae.esya.api.crypto.params.AlgorithmParams getSignatureAlgorithmParameters()
public C14nMethod getCanonicalizationMethod()
public void setCanonicalizationMethod(C14nMethod aCanonicalizationMethod)
public SignatureMethod getSignatureMethod()
public void setSignatureMethod(SignatureMethod aSignatureMethod)
public byte[] getCanonicalizedBytes()
throws XMLSignatureException
XMLSignatureExceptionpublic java.lang.String getNamespace()
getNamespace in class Manifestpublic java.lang.String getLocalName()
getLocalName in class ManifestCopyright © 2025. All rights reserved.