public class RefsOnlyTimeStamp extends XAdESTimeStamp implements UnsignedSignaturePropertyElement
When RefsOnlyTimeStamp and all the unsigned properties covered
by its time-stamp token have the same parent, this property uses the
Implicit mechanism. The input to the computation of the digest value MUST be
the result of taking those of the unsigned properties listed below that
appear before the RefsOnlyTimeStamp in their order of appearance
within the UnsignedSignatureProperties element, canonicalize
each one and concatenate the resulting octet streams:
Below follows the list of data objects that contribute to the digest computation: ([CompleteCertificateRefs, CompleteRevocationRefs, AttributeCertificateRefs?, AttributeRevocationRefs?]).
When RefsOnlyTimeStamp and some of the unsigned properties covered by its
time-stamp token DO NOT have the same parent, applications MUST build this
property generating one Include element per each unsigned
property that must be covered by the time-stamp token in the order they
appear listed below:
Applications MUST build URI attributes following the rules stated in clause 7.1.4.3.1.
Generating applications MUST build digest computation input as indicated below:
Include elements appear in the property). For each one extract
comment nodes, canonicalize and concatenate the resulting octet stream to
the final octet stream.
Validating applications MUST build digest computation input as indicated below:
Include element present as indicated
in clause 7.1.4.3.1. Concatenate the resulting octet stream to the final
octet stream.
Below follows the list -in order- of the data objects that contribute to
the digest computation. Superindex e means that this property is referenced
using explicit mechanism, i.e. that the property contains a
Include element that references it:
( CompleteCertificateRefs e, CompleteRevocationRefs e,
AttributeCertificateRefs e?, AttributeRevocationRefs e?).
loggermCanonicalizationMethod, mEncapsulatedTimeStamps, mIncludes, mReferenceInfos, mXMLTimeStampsmContext, mElement, mId| Constructor and Description |
|---|
RefsOnlyTimeStamp(Context aContext,
XMLSignature aSignature,
DigestMethod aDMForTimestamp,
tr.gov.tubitak.uekae.esya.api.infra.tsclient.TSSettings aAyar) |
RefsOnlyTimeStamp(org.w3c.dom.Element aElement,
Context aContext)
Construct GenericTimeStamp from existing
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContentForTimeStamp(XMLSignature aSignature) |
java.lang.String |
getLocalName() |
tr.gov.tubitak.uekae.esya.api.signature.attribute.TimestampType |
getType() |
addEncapsulatedTimeStamp, addInclude, addReferenceInfo, getCanonicalizationMethod, getEncapsulatedTimeStamp, getEncapsulatedTimeStampCount, getInclude, getIncludeCount, getReferenceInfo, getReferenceInfoCount, getXMLTimeStamps, setCanonicalizationMethod, setXMLTimeStampsgetNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic RefsOnlyTimeStamp(Context aContext, XMLSignature aSignature, DigestMethod aDMForTimestamp, tr.gov.tubitak.uekae.esya.api.infra.tsclient.TSSettings aAyar) throws XMLSignatureException
XMLSignatureExceptionpublic RefsOnlyTimeStamp(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 byte[] getContentForTimeStamp(XMLSignature aSignature) throws XMLSignatureException
getContentForTimeStamp in class XAdESTimeStampXMLSignatureExceptionpublic tr.gov.tubitak.uekae.esya.api.signature.attribute.TimestampType getType()
getType in class XAdESTimeStamppublic java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.