public class UnsignedSignaturePropertiesImpl extends XadesDOMStructure implements UnsignedSignatureProperties
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
protected iaik.xml.crypto.xades.impl.dom.properties.UnsignedSignaturePropertiesImpl.UnsignedSignaturePropertiesChildren children_
protected List counterSignatures_
protected List signatureTimeStamps_
protected CompleteCertificateRefsImpl completeCertificateRefs_
protected CompleteCertificateRefsV2Impl completeCertificateRefsV2_
protected CompleteRevocationRefsImpl completeRevocationRefs_
protected AttributeCertificateRefsImpl attributeCertificateRefs_
protected AttributeCertificateRefsV2Impl attributeCertificateRefsV2_
protected AttributeRevocationRefsImpl attributeRevocationRefs_
protected List refsTimeStamps_
protected CertificateValuesImpl certificateValues_
protected AttrAuthoritiesCertValues attrAuthoritiesCertValues_
protected RevocationValuesImpl revocationValues_
protected AttributeRevocationValues attributeRevocationValues_
protected Map timestampValidationData_
protected List archiveTimeStamps_
protected List timeStampValidationDatas_
protected SignaturePolicyStoreImpl signaturePolicyStore_
protected RenewedDigests renewedDigests_
protected String id_
public UnsignedSignaturePropertiesImpl(DOMCryptoContext context, Node node) throws MarshalException
MarshalException
public UnsignedSignaturePropertiesImpl(String id)
id
- public UnsignedSignaturePropertiesImpl(List counterSignatures, List signatureTimeStamps, CompleteCertificateRefsImpl certificateRefs, CompleteRevocationRefsImpl revocationRefs, AttributeCertificateRefsImpl attributeCertificateRefs, AttributeRevocationRefsImpl attributeRevocationRefs, List refsTimeStamps, CertificateValuesImpl certificateValues, RevocationValuesImpl revocationValues, AttrAuthoritiesCertValuesImpl attrCertificateValues, AttributeRevocationValuesImpl attributeRevocationValues, List archiveTimeStamps, String id)
counterSignatures
- signatureTimeStamps
- certificateRefs
- revocationRefs
- attributeCertificateRefs
- attributeRevocationRefs
- refsTimeStamps
- certificateValues
- revocationValues
- archiveTimeStamps
- id
- public UnsignedSignaturePropertiesImpl(List counterSignatures, List signatureTimeStamps, CompleteCertificateRefsV2Impl certificateRefsV2, CompleteRevocationRefsImpl revocationRefs, AttributeCertificateRefsV2Impl attributeCertificateRefsV2, AttributeRevocationRefsImpl attributeRevocationRefs, List refsTimeStamps, CertificateValuesImpl certificateValues, RevocationValuesImpl revocationValues, AttrAuthoritiesCertValuesImpl attrCertificateValues, AttributeRevocationValuesImpl attributeRevocationValues, SignaturePolicyStoreImpl signaturePolicyStore, List archiveTimeStamps, String id)
UnsignedPropertiesImpl
. At least one of the given parameters (except of the id
)
must be not null
or empty (in the case of the list). The id
counterSignatures
- A list of CounterSignature
objects.signatureTimeStamps
- A list SignatureTimeStamp
objects.certificateRefsV2
- The CompleteCertificateRefsV2
.revocationRefs
- The CompleteRevocationRefs
.attributeCertificateRefsV2
- The AttributeCertificateRefsV2
.attributeRevocationRefs
- The AttributeRevocationRefs
.refsTimeStamps
- A list cotaining SigAndRefsTimeStampV2
and/or
RefsOnlyTimeStampV2
objects.certificateValues
- The CertificateValues
.revocationValues
- The RevocationValues
.signaturePolicyStore
- The SignaturePolicyStore
.archiveTimeStamps
- A list of ArchiveTimeStamp
s.id
- The id attribute of the <xades:UnsignedProperties>
element.
Maybe null
.public List getPreviousSiblingsOf(iaik.xml.crypto.dom.DOMStructure structure)
public List getArchiveTimeStamps()
UnsignedSignatureProperties
getArchiveTimeStamps
in interface UnsignedSignatureProperties
public AttributeCertificateRefs getAttributeCertificateRefs()
UnsignedSignatureProperties
ETSI TS 101 903
).
For ETSI EN 319 132-1
compliant signatures use UnsignedSignatureProperties.getAttributeCertificateRefsV2()
.
getAttributeCertificateRefs
in interface UnsignedSignatureProperties
public AttributeCertificateRefsV2 getAttributeCertificateRefsV2()
UnsignedSignatureProperties
ETSI EN 319 132-1
).
For ETSI TS 101 903
compliant signatures use UnsignedSignatureProperties.getAttributeCertificateRefs()
.
getAttributeCertificateRefsV2
in interface UnsignedSignatureProperties
public AttributeRevocationRefs getAttributeRevocationRefs()
UnsignedSignatureProperties
getAttributeRevocationRefs
in interface UnsignedSignatureProperties
public CompleteCertificateRefs getCompleteCertificateRefs()
UnsignedSignatureProperties
ETSI TS 101 903
).
For ETSI EN 319 132-1
compliant signatures use UnsignedSignatureProperties.getCompleteCertificateRefsV2()
.
getCompleteCertificateRefs
in interface UnsignedSignatureProperties
public CompleteCertificateRefsV2 getCompleteCertificateRefsV2()
UnsignedSignatureProperties
ETSI EN 319 132-1
).
For ETSI TS 101 903
compliant signatures use UnsignedSignatureProperties.getCompleteCertificateRefs()
.
getCompleteCertificateRefsV2
in interface UnsignedSignatureProperties
public CertificateValues getCertificateValues()
UnsignedSignatureProperties
getCertificateValues
in interface UnsignedSignatureProperties
public AttrAuthoritiesCertValues getAttrAuthoritiesCertValues()
UnsignedSignatureProperties
getAttrAuthoritiesCertValues
in interface UnsignedSignatureProperties
public CompleteRevocationRefs getCompleteRevocationRefs()
UnsignedSignatureProperties
getCompleteRevocationRefs
in interface UnsignedSignatureProperties
public List getCounterSignatures()
UnsignedSignatureProperties
getCounterSignatures
in interface UnsignedSignatureProperties
public String getId()
public List getRefsTimeStamps()
UnsignedSignatureProperties
getRefsTimeStamps
in interface UnsignedSignatureProperties
public RevocationValues getRevocationValues()
UnsignedSignatureProperties
getRevocationValues
in interface UnsignedSignatureProperties
public AttributeRevocationValues getAttributeRevocationValues()
UnsignedSignatureProperties
getAttributeRevocationValues
in interface UnsignedSignatureProperties
public TimeStampValidationData getTimestampValidationData(XAdESTimeStamp timeStamp)
getTimestampValidationData
in interface UnsignedSignatureProperties
timeStamp
- the associated XAdESTimeStamp
TimeStampValidationData
i.e. CertificateValues
and RevocationValues
for a timestamp.UnsignedSignatureProperties.getTimestampValidationData(XAdESTimeStamp)
public List getSignatureTimeStamps()
UnsignedSignatureProperties
getSignatureTimeStamps
in interface UnsignedSignatureProperties
public SignaturePolicyStore getSignaturePolicyStore()
UnsignedSignatureProperties
SignaturePolicyStore
.getSignaturePolicyStore
in interface UnsignedSignatureProperties
SignaturePolicyStore
.UnsignedSignatureProperties.getSignaturePolicyStore()
public RenewedDigests getRenewedDigests()
UnsignedSignatureProperties
RenewedDigests
.getRenewedDigests
in interface UnsignedSignatureProperties
RenewedDigests
.UnsignedSignatureProperties.getRenewedDigests()
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
protected Attr marshalIDAttribute(DOMCryptoContext context, Element parent)
marshalIDAttribute
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.marshalIDAttribute(DOMCryptoContext,
Element)
protected void unmarshalAttributes(NamedNodeMap attributes, DOMCryptoContext context) throws MarshalException
unmarshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalAttributes(org.w3c.dom.NamedNodeMap,
DOMCryptoContext)
protected List getChildStructures()
getChildStructures
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getChildStructures()
protected void putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) throws MarshalException
putChildStructure
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.putChildStructure(DOMStructure)
public void appendCounterSignature(CounterSignatureImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendSignatureTimeStamp(SignatureTimeStampImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
SignatureTimeStamp
.property
- the given signature timestamp.context
- the context used for timestampingXMLSignatureException
MarshalException
public void appendCompleteCertificateRefs(CompleteCertificateRefsImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendCompleteRevocationRefs(CompleteRevocationRefsImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendAttributeCertificateRefs(AttributeCertificateRefsImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendAttributeRevocationRefs(AttributeRevocationRefsImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendSigAndRefsTimeStamp(SigAndRefsTimeStampImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendSigAndRefsTimeStampV2(SigAndRefsTimeStampV2Impl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendRefsOnlyTimeStamp(RefsOnlyTimeStampImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendRefsOnlyTimeStampV2(RefsOnlyTimeStampV2Impl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendCertificateValues(CertificateValuesImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendRevocationValues(RevocationValuesImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendAttributeAuthorityCertificateValues(AttrAuthoritiesCertValuesImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendAttributeRevocationValues(AttributeRevocationValuesImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendArchiveTimeStamp(ArchiveTimeStampImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendTimeStampValidationData(TimeStampValidationDataImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendSignaturePolicyStore(SignaturePolicyStoreImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendRenewedDigests(RenewedDigestsImpl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendCompleteCertificateRefsV2(CompleteCertificateRefsV2Impl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
public void appendAttributeCertificateRefsV2(AttributeCertificateRefsV2Impl property, DOMCryptoContext context) throws XMLSignatureException, MarshalException
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC