public class QualifyingPropertiesFactory extends QualifyingPropertiesFactory
QualifyingPropertiesFactory
for the DOM
XML processing and representation mechanism.QualifyingPropertiesFactory
Constructor and Description |
---|
QualifyingPropertiesFactory() |
Modifier and Type | Method and Description |
---|---|
URIDereferencer |
getURIDereferencer()
Returns a reference to the
URIDereferencer that is used by
default to dereference URIs in qualifying properties. |
boolean |
isFeatureSupported(String feature)
Indicates whether a specified feature is supported.
|
AllDataObjectsTimeStamp |
newAllDataObjectsTimeStamp(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
AllDataObjectsTimeStamp property with the
canonicalization method, id -attribute value and
id -attribute value of the time-stamp token. |
AllDataObjectsTimeStamp |
newAllDataObjectsTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
ArchiveTimeStamp |
newArchiveTimeStamp(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
ArchiveTimeStamp property with the specified
canonicalization method, id -attribute value and
id -attribute value of the time-stamp token. |
ArchiveTimeStamp |
newArchiveTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
ArchiveTimeStamp property with the specified list of
Include s, canonicalization method, id -attribute value
and id -attribute value of the time-stamp token. |
ArchiveTimeStamp |
newArchiveTimeStamp132(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
this method is only provided for legacy support and may be
removed in the future.
|
ArchiveTimeStamp |
newArchiveTimeStamp132(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
this method is only provided for legacy support and may be
removed in the future.
|
AttrAuthoritiesCertValues |
newAttrAuthoritiesCertValues(List certificates,
String id)
Creates a
AttrAuthoritiesCertValues property with the given
list of EncapsulatedX509Certificate s and OtherCertificate
and the specified id -attribute value. |
AttributeCertificateRefs |
newAttributeCertificateRefs(List certRefs,
String id)
Deprecated.
|
AttributeCertificateRefsV2 |
newAttributeCertificateRefsV2(List certRefs,
String id)
Creates a new
AttributeCertificateRefsV2 with the given list of
CertIDV2 s. |
AttributeRevocationRefs |
newAttributeRevocationRefs(List crlRefs,
List ocspRefs,
List otherRefs,
String id)
|
AttributeRevocationValues |
newAttributeRevocationValues(List crlValues,
List ocspValues,
List otherValues,
String id)
Creates a
AttributeRevocationValues property with the
specified list of EncapsulatedCRLValue s, list of
EncapsulatedOCSPValue s, list of OtherValue s and
id -attribute value. |
CertID |
newCertID(String uri,
DigestMethod digestMethod,
byte[] digestValue,
IssuerSerial issuerSerial)
Deprecated.
|
CertID |
newCertID(String uri,
IssuerSerial issuerSerial,
DigestMethod digestMethod,
InputStream digestInput)
Deprecated.
|
CertID |
newCertID(String uri,
X509Certificate certificate,
DigestMethod digestMethod)
Deprecated.
|
CertIDV2 |
newCertIDV2(String uri,
DigestMethod digestMethod,
byte[] digestValue)
Creates a new
CertIDV2 with the given URI, digest method and digest value. |
CertIDV2 |
newCertIDV2(String uri,
DigestMethod digestMethod,
byte[] digestValue,
IssuerSerialV2 issuerSerial)
Creates a new
CertIDV2 with the given URI,
digest method, digest value issuer and serial |
CertIDV2 |
newCertIDV2(String uri,
DigestMethod digestMethod,
InputStream digestInput)
Creates a new
CertIDV2 with the given URI,
digest method and input for computing the digest. |
CertIDV2 |
newCertIDV2(String uri,
IssuerSerialV2 issuerSerial,
DigestMethod digestMethod,
InputStream digestInput)
Creates a new
CertIDV2 with the given URI, issuer and serial
number, digest method and input for computing the digest. |
CertIDV2 |
newCertIDV2(String uri,
X509Certificate certificate,
DigestMethod digestMethod,
boolean addIssuerSerial)
Creates a new
CertIDV2 with the given URI, certificate,
and digest method |
CertificateValues |
newCertificateValues(List certificates,
String id)
Creates a
CertificateValues property with the given list of
EncapsulatedX509Certificate s and OtherCertificate and the
specified id -attribute value. |
CertifiedRole |
newCertifiedRole(byte[] attributeCertificate,
String id,
String encoding)
Deprecated.
|
CertifiedRoleV2 |
newCertifiedRoleV2(OtherAttributeCertificate otherAttributeCertificate)
Creates a
CertifiedRoleV2 object with the given OtherAttributeCertificate . |
CertifiedRoleV2 |
newCertifiedRoleV2(X509AttributeCertificate x509AttributeCertificate)
Creates a
CertifiedRoleV2 object with the given X509AttributeCertificate . |
ClaimedRole |
newClaimedRole(List content)
Creates a new
ClaimedRole element with the given content. |
CommitmentTypeIndication |
newCommitmentTypeIndication(ObjectIdentifier commitmentTypeId,
List objectReferences,
List commitmentTypeQualifiers)
Creates a new
CommitmentTypeIndication property with the given
commitment type identifier, object references and commitment type
qualifiers. |
CommitmentTypeQualifier |
newCommitmentTypeQualifer(List content)
Creates a
CommitmentTypeQualifier with the specified list of
XMLStructure s. |
CompleteCertificateRefs |
newCompleteCertificateRefs(List certRefs,
String id)
Deprecated.
|
CompleteCertificateRefsV2 |
newCompleteCertificateRefsV2(List certRefs,
String id)
Creates a new
CompleteCertificateRefsV2 with the given list of
CertIDV2 s. |
CompleteRevocationRefs |
newCompleteRevocationRefs(List crlRefs,
List ocspRefs,
List otherRefs,
String id)
|
CounterSignature |
newCounterSignature(XMLSignature counterSignature)
Deprecated.
|
CounterSignature |
newCounterSignature(XMLSignature counterSignature,
KeySelector keySelector)
Creates a
CounterSignature property with the specified
signature. |
CounterSignature |
newCounterSignature(XMLSignature counterSignature,
KeySelector keySelector,
String id)
Creates a
CounterSignature property with the specified
signature. |
CRLIdentifier |
newCRLIdentifier(String issuer,
Date issuerTime,
BigInteger number,
String uri)
Creates a
CRLIdentifier with the given issuer name, issuer
time, CRL number and URI. |
CRLRef |
newCRLRef(CRLIdentifier crlIdentifier,
DigestAlgAndValue digestAlgAndValue)
Creates a
CRLRef with the given CRL identifier and digest
value. |
CRLRef |
newCRLRef(CRLIdentifier crlIdentifier,
DigestMethod digestMethod,
InputStream digestInputStream)
Creates a
CRLRef with the given CRL identifier, digest method,
and input for the digest computation. |
CRLRef |
newCRLRef(X509CRL x509CRL,
DigestMethod digestMethod,
String uri)
Creates a
CRLRef element for the given CRL with the specified
digest algorithm and URI. |
DataObjectFormat |
newDataObjectFormat(String description,
ObjectIdentifier objectIdentifier,
String mimeType,
String encoding,
String objectReference)
Creates a new
DataObjectFormat property with the given
description, object identifier, MIME type, encoding and object refererence. |
DigestAlgAndValue |
newDigestAlgAndValue(DigestMethod digestMethod,
byte[] digestValue)
Creates a
DigestAlgAndValue element with the given digest
method and digest value. |
EncapsulatedCRLValue |
newEncapsulatedCRLValue(X509CRL x509crl,
String id,
String encoding)
Creates a
EncapsulatedCRLValue with the given X509 CRL,
id -attribute value and encoding. |
EncapsulatedOCSPValue |
newEncapsulatedOCSPValue(byte[] ocspResponse,
String id,
String encoding)
Creates a
EncapsulatedOCSPValue with the given OCSP response,
id -attribute value and encoding. |
EncapsulatedX509Certificate |
newEncapsulatedX509Certificate(X509Certificate x509Certificate,
String id,
String encoding)
Creates a
EncapsulatedX509Certificate with the given X509
certificate, id -attribute value and encoding. |
Include |
newInclude(String uri)
The
XAdES v1.3.2 section 7.1.4.3.1 Include mechanism (page 30) SHOULD NOT
be used with the exception of
XAdES v1.3.2 section 7.2.10 IndividualDataObjectsTimeStamp element (page
40).
|
Include |
newInclude(String uri,
boolean referencedData)
The
XAdES v1.3.2 section 7.1.4.3.1 Include mechanism (page 30) SHOULD NOT
be used with the exception of
XAdES v1.3.2 section 7.2.10 IndividualDataObjectsTimeStamp element (page
40).
|
IndividualDataObjectsTimeStamp |
newIndividualDataObjectsTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
IndividualDataObjectsTimeStamp property with the
specified list of Include s, canonicalization method,
id -attribute value and id -attribute value of the
time-stamp token. |
IssuerSerial |
newIssuerSerial(String issuerName,
BigInteger serialNumber)
Deprecated.
|
IssuerSerialV2 |
newIssuerSerialV2(String issuerName,
BigInteger serialNumber)
Creates a new
IssuerSerialV2 from the specified X.500 issuer
distinguished name and serial number. |
IssuerSerialV2 |
newIssuerSerialV2(X509Certificate cert)
Creates a new
IssuerSerialV2 from the issuerDN and serial
number in the given certificate. |
NoticeRef |
newNoticeRef(String organization,
List numbers)
Creates a new
NoticeRef element with the given organization
and notice numbers. |
ObjectIdentifier |
newObjectIdentifier(String identifier,
Identifier.Qualifier qualifier,
String description,
List documentationReferences)
Creates a new
ObjectIdentifier with the given identifier,
description and documentation references. |
OCSPIdentifier |
newOCSPIdentifier(byte[] publicKeyHash,
Date producedAt,
String uri)
Creates a
OCSPIdentifier with the given hash of a Public Key,
producedAt date and URI. |
OCSPIdentifier |
newOCSPIdentifier(String responderId,
Date producedAt,
String uri)
Creates a
OCSPIdentifier with the given responder ID,
producedAt date and URI. |
OCSPRef |
newOCSPRef(byte[] ocspResponse,
DigestMethod digestMethod,
String uri)
Creates a
OCSPRef with the given OCSP response, digest method
and URI. |
OCSPRef |
newOCSPRef(OCSPIdentifier ocspIdentifer,
DigestAlgAndValue digestAlgAndValue)
Creates a
OCSPRef with the given OCSP identifier and digest
value. |
OCSPRef |
newOCSPRef(OCSPIdentifier ocspIdentifier,
DigestMethod digestMethod,
InputStream digestInputStream)
Creates a
OCSPRef with the given OCSP identifier, digest
method and input for the digest computation. |
OtherAttributeCertificate |
newOtherAttributeCertificate(List content)
Creates an
OtherAttributeCertificate element with the specified list of
XMLStructure s. |
OtherCertificate |
newOtherCerificate(List content)
Creates a
OtherCertificate element with the specified list of
XMLStructure s. |
OtherRef |
newOtherRef(List content)
Creates a
OtherRef element with the specified list of
XMLStructure s. |
OtherValue |
newOtherValue(List content)
Creates a
OtherValue element with the specified list of
XMLStructure s. |
QualifyingProperties |
newQualifyingProperties(SignedProperties signedProperties,
String target,
String id)
Creates
QualifyingProperties with the specified signed
properties, target -attribute value and id
-attribute value. |
QualifyingProperties |
newQualifyingProperties(SignedProperties signedProperties,
UnsignedProperties unsignedProperties,
String target,
String id)
Creates
QualifyingProperties with the specified signed
properties, unsigned properties, target -attribute value and
id -attribute value. |
QualifyingPropertiesReference |
newQualifyingPropertiesReference(String uri,
List transforms,
String id)
Deprecated.
|
RecomputedDigestValue |
newRecomputedDigestValue(int order,
byte[] digestValue)
Creates the
RecomputedDigestValue with te given order and digest value. |
RefsOnlyTimeStamp |
newRefsOnlyTimeStamp(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
RefsOnlyTimeStamp |
newRefsOnlyTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
RefsOnlyTimeStampV2 |
newRefsOnlyTimeStampV2(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
RefsOnlyTimeStampV2 property with the specified list
canonicalization method, id -attribute value and
id -attribute value of the time-stamp token. |
RefsOnlyTimeStampV2 |
newRefsOnlyTimeStampV2(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
RenewedDigests |
newRenewedDigests(DigestMethod digestMethod,
List recomputedDigestValues,
String id)
Creates the
RenewedDigests with te given digest method, list of RecomputedDigestValue s and id. |
RenewedDigests |
newRenewedDigests(DigestMethod digestMethod,
String id)
Creates the
RenewedDigests with te given digest method and id. |
RevocationValues |
newRevocationValues(List crlValues,
List ocspValues,
List otherValues,
String id)
Creates a
RevocationValues property with the specified list of
EncapsulatedCRLValue s, list of EncapsulatedOCSPValue s, list
of OtherValue s and id -attribute value. |
SigAndRefsTimeStamp |
newSigAndRefsTimeStamp(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
SigAndRefsTimeStamp |
newSigAndRefsTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
SigAndRefsTimeStampV2 |
newSigAndRefsTimeStampV2(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
SigAndRefsTimeStampV2 property with the specified
canonicalization method, id -attribute value and
id -attribute value of the time-stamp token. |
SigAndRefsTimeStampV2 |
newSigAndRefsTimeStampV2(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
SignaturePolicyId |
newSignaturePolicyId(ObjectIdentifier sigPolicyId,
List transforms,
DigestAlgAndValue sigPolicyHash,
List sigPolicyQualifiers)
Creates a new
SignaturePolicyId with the given object
identifier, transforms, digest value and list of qualifiers. |
SignaturePolicyId |
newSignaturePolicyId(ObjectIdentifier sigPolicyId,
List transforms,
DigestMethod digestMethod,
Data digestInput,
List qualifiers)
Creates a new
SignaturePolicyId with the given object
identifier, transforms, digest method, digest input and list of qualifiers. |
SignaturePolicyIdentifier |
newSignaturePolicyIdentifier()
Creates a new
SignaturePolicyIdentifier with
SignaturePolicyImplied . |
SignaturePolicyIdentifier |
newSignaturePolicyIdentifier(SignaturePolicyId signaturePolicyId)
Creates a new
SignaturePolicyIdentifier with the given
SignaturePolicyId . |
SignaturePolicyStore |
newSignaturePolicyStore(SPDocSpecification sPDocSpecification,
byte[] signaturePolicyDocument,
String id)
Creates the signature policy store with the given technical specification and
the signature policy document.
|
SignaturePolicyStore |
newSignaturePolicyStore(SPDocSpecification sPDocSpecification,
InputStream signaturePolicyDocument,
String id)
Creates the signature policy store with the given technical specification and
the signature policy document.
|
SignaturePolicyStore |
newSignaturePolicyStore(SPDocSpecification sPDocSpecification,
String sigPolDocLocalURI,
String id)
Creates the signature policy store with the given technical specification and
the uri pointing to the local stored signature policy document..
|
SignatureProductionPlace |
newSignatureProductionPlace(String city,
String stateOrProvince,
String postalCode,
String countryName)
Deprecated.
|
SignatureProductionPlaceV2 |
newSignatureProductionPlaceV2(String city,
String streetAddress,
String stateOrProvince,
String postalCode,
String countryName)
Creates a new
SignatureProductionPlaceV2 property with the given
city, street address, state or province, postal code and country name. |
SignatureTimeStamp |
newSignatureTimeStamp(CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Creates a
SignatureTimeStamp property with the specified
canonicalization method, id -attribute value and
id -attribute value of the time-stamp token. |
SignatureTimeStamp |
newSignatureTimeStamp(List includes,
CanonicalizationMethod canonicalizationMethod,
String id,
String tokenId)
Deprecated.
|
SignedAssertion |
newSignedAssertion(List content)
Creates an
SignedAssertion element with the specified list of
XMLStructure s. |
SignedDataObjectProperties |
newSignedDataObjectProperties(List dataObjectFormats,
List commitmentTypeIndications,
List allDataObjectsTimeStamps,
List individualDataObjectsTimeStamps,
String id)
Creates
SignedDataObjectProperties containing the specified
list of DataObjectFormat s, list of CommitmentTypeIndication
s, list of AllDataObjectsTimeStamp s, list of
IndividualDataObjectsTimeStamp s and id -attribute
value. |
SignedProperties |
newSignedProperties(SignedSignatureProperties signedSignatureProperties,
SignedDataObjectProperties signedDataObjectProperties,
String id)
Creates
SignedProperties with the specified signed signature
properties, signed data object properties and id -attribute
value. |
SignedSignatureProperties |
newSignedSignatureProperties(SigningTime signingTime,
SigningCertificate signingCertificate,
SignaturePolicyIdentifier signaturePolicyIdentifier,
SignatureProductionPlace signatureProductionPlace,
SignerRole signerRole,
String id)
Deprecated.
|
SignedSignatureProperties |
newSignedSignatureProperties(SigningTime signingTime,
SigningCertificateV2 signingCertificate,
SignaturePolicyIdentifier signaturePolicyIdentifier,
SignatureProductionPlaceV2 signatureProductionPlace,
SignerRoleV2 signerRole,
String id)
Creates
SignedSignatureProperties with the specified signing
time, signing certificate, signature policy identifier, signature
production place, signer role and id -attribute value. |
SignerRole |
newSignerRole(List claimedRoles,
List certifiedRoles)
Deprecated.
|
SignerRoleV2 |
newSignerRoleV2(List claimedRoles,
List certifiedRoles,
List signedAssertions)
Creates a new
SignerRoleV2 property with the given claimed roles,
certified roles and or signed assertions. |
SigningCertificate |
newSigningCertificate(List certIDs)
Deprecated.
|
SigningCertificateV2 |
newSigningCertificateV2(List certIDs)
Creates a new
SigningCertificateV2 with the given list of
CertIDV2 s. |
SigningTime |
newSigningTime()
Creates a new
SigningTime with the current system time. |
SigningTime |
newSigningTime(Date date)
Deprecated.
|
SigPolicyQualifier |
newSigPolicyQualifier(List qualifiers)
Creates a
SigPolicyQualifier with the specified list of
XMLStructure s. |
SPDocSpecification |
newSPDocSpecification(String identifier,
Identifier.Qualifier qualifier,
String description,
List documentationReferences)
Creates a new
SPDocSpecification with the given identifier,
description and documentation references. |
SPURI |
newSPURI(String uri)
Creates a new
SPURI element with the given URI. |
SPUserNotice |
newSPUserNotice(String explicitText,
NoticeRef noticeRef)
Creates a new
SPUserNotice element with the given explicit
text and the notice reference. |
TimeStampValidationData |
newTimeStampValidationData(CertificateValues certificateValues,
RevocationValues revocationValues,
String uri,
String id)
Creates a
TimeStampValidationData property with the given |
TimeStampValidationData |
newTimeStampValidationData(List certificates,
List crlValues,
List ocspValues,
List otherValues,
String id,
String uri)
Creates a
TimeStampValidationData property with the given list
of EncapsulatedX509Certificate s, OtherCertificate list of
EncapsulatedCRLValue s, list of EncapsulatedOCSPValue s, list
of OtherValue s and the specified id -attribute value. |
UnsignedDataObjectProperties |
newUnsignedDataObjectProperties(List unsignedDataObjectProperties,
String id)
Creates a
UnsignedDataObjectProperties element with the given
list of UnsignedDataObjectProperty elements. |
UnsignedDataObjectProperty |
newUnsignedDataObjectProperty(List content)
Creates a
UnsignedDataObjectProperty with the specified list
of XMLStructure s. |
UnsignedProperties |
newUnsignedProperties(UnsignedSignatureProperties unsignedSignatureProperties,
UnsignedDataObjectProperties unsignedDataObjectProperties,
String id)
Creates
UnsignedProperties with the specified unsigned
signature properties, unsigned data object properties and id
-attribute value. |
UnsignedSignatureProperties |
newUnsignedSignatureProperties(List counterSignatures,
List signatureTimeStamps,
CompleteCertificateRefs certificateRefs,
CompleteRevocationRefs completeRevocationRefs,
AttributeCertificateRefs attributeCertificateRefs,
AttributeRevocationRefs attributeRevocationRefs,
List refsTimeStamps,
CertificateValues certificateValues,
RevocationValues revocationValues,
AttrAuthoritiesCertValues attrCertificateValues,
AttributeRevocationValues attributeRevocationValues,
List archiveTimeStamps,
String id)
Deprecated.
|
UnsignedSignatureProperties |
newUnsignedSignatureProperties(List counterSignatures,
List signatureTimeStamps,
CompleteCertificateRefsV2 certificateRefs,
CompleteRevocationRefs completeRevocationRefs,
AttributeCertificateRefsV2 attributeCertificateRefs,
AttributeRevocationRefs attributeRevocationRefs,
List refsTimeStamps,
CertificateValues certificateValues,
RevocationValues revocationValues,
AttrAuthoritiesCertValues attrCertificateValues,
AttributeRevocationValues attributeRevocationValues,
List archiveTimeStamps,
SignaturePolicyStore signaturePolicyStore,
String id)
Creates a
UnsignedSignatureProperties element with the given
list of CounterSignature s, list of SignatureTimeStamp s,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamp s and RefsOnlyTimeStamp s, certificate
values, revocation values and id -attribute value. |
UnsignedSignatureProperties |
newUnsignedSignatureProperties(List counterSignatures,
String id)
Creates a
UnsignedSignatureProperties element with the given
list of CounterSignature s and id -attribute value. |
X509AttributeCertificate |
newX509AttributeCertificate(byte[] attributeCertificate,
String id,
String encoding)
Creates a new
X509AttributeCertificate element with the given attribute
certificate. |
getInstance, getInstance, getInstance, getInstance, getMechanismType, getProvider
public boolean isFeatureSupported(String feature)
QualifyingPropertiesFactory
isFeatureSupported
in class QualifyingPropertiesFactory
feature
- the feature name (as an absolute URI)true
if the specified feature is supported,
false
otherwiseQualifyingPropertiesFactory.isFeatureSupported(java.lang.String)
public URIDereferencer getURIDereferencer()
QualifyingPropertiesFactory
URIDereferencer
that is used by
default to dereference URIs in qualifying properties.getURIDereferencer
in class QualifyingPropertiesFactory
URIDereferencer
(never
null
)QualifyingPropertiesFactory.getURIDereferencer()
public SigningTime newSigningTime()
QualifyingPropertiesFactory
SigningTime
with the current system time.newSigningTime
in class QualifyingPropertiesFactory
SigningTime
QualifyingPropertiesFactory.newSigningTime()
public SigningTime newSigningTime(Date date)
QualifyingPropertiesFactory
SigningTime
with the given date.newSigningTime
in class QualifyingPropertiesFactory
date
- the signing timeSigningTime
QualifyingPropertiesFactory.newSigningTime(java.util.Date)
public SigningCertificate newSigningCertificate(List certIDs)
QualifyingPropertiesFactory
SigningCertificate
with the given list of
CertID
s.newSigningCertificate
in class QualifyingPropertiesFactory
certIDs
- a list of CertID
s (may not be null
or empty)SigningCertificate
QualifyingPropertiesFactory.newSigningCertificate(java.util.List)
public CertID newCertID(String uri, X509Certificate certificate, DigestMethod digestMethod)
QualifyingPropertiesFactory
CertID
with the given URI, certificate and
digest method.newCertID
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)certificate
- the X509 certificatedigestMethod
- the digest method for creating a hash value of the certificateCertID
QualifyingPropertiesFactory.newCertID(java.lang.String,
java.security.cert.X509Certificate,
javax.xml.crypto.dsig.DigestMethod)
public CertID newCertID(String uri, IssuerSerial issuerSerial, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactory
CertID
with the given URI, issuer and serial
number, digest method and input for computing the digest.newCertID
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)issuerSerial
- the issuer and serial numberdigestMethod
- the digest methoddigestInput
- the input for computing the digestCertID
QualifyingPropertiesFactory.newCertID(java.lang.String,
iaik.xml.crypto.xades.IssuerSerial,
javax.xml.crypto.dsig.DigestMethod, java.io.InputStream)
public CertID newCertID(String uri, DigestMethod digestMethod, byte[] digestValue, IssuerSerial issuerSerial)
QualifyingPropertiesFactory
CertID
with the given URI, issuer and serial
number, digest method and digest value.newCertID
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)digestMethod
- the digest methoddigestValue
- the digest value (computed on the DER-encoded certificate)issuerSerial
- the issuer and serial numberCertID
QualifyingPropertiesFactory.newCertID(java.lang.String,
javax.xml.crypto.dsig.DigestMethod, byte[],
iaik.xml.crypto.xades.IssuerSerial)
public IssuerSerial newIssuerSerial(String issuerName, BigInteger serialNumber)
QualifyingPropertiesFactory
IssuerSerial
from the specified X.500 issuer
distinguished name and serial number.newIssuerSerial
in class QualifyingPropertiesFactory
issuerName
- the issuer's distinguished name in RFC 2253 String format.
Implementations MUST support the attribute type keywords defined in
RFC 2253 (CN, L, ST, O, OU, C, STREET, DC and UID). Implementations
MAY support additional keywords.serialNumber
- the serial numberIssuerSerial
QualifyingPropertiesFactory.newIssuerSerial(java.lang.String,
java.math.BigInteger)
public SigningCertificateV2 newSigningCertificateV2(List certIDs)
QualifyingPropertiesFactory
SigningCertificateV2
with the given list of
CertIDV2
s.newSigningCertificateV2
in class QualifyingPropertiesFactory
certIDs
- a list of CertIDV2
s (may not be null
or empty)SigningCertificateV2
iaik.xml.crypto.xades.QualifyingPropertiesFactory#newSigningCertificateV2(java.lang.List)
public CertIDV2 newCertIDV2(String uri, X509Certificate certificate, DigestMethod digestMethod, boolean addIssuerSerial)
QualifyingPropertiesFactory
CertIDV2
with the given URI, certificate,
and digest method
newCertIDV2
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)certificate
- the X509 certificatedigestMethod
- the digest method for creating a hash value of the certificateaddIssuerSerial
- indicates, whether the IssuerSerialV2
element should be
added to the CertIDV2
or notCertIDV2
QualifyingPropertiesFactory.newCertIDV2(String, X509Certificate, DigestMethod, boolean)
public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactory
CertIDV2
with the given URI,
digest method and input for computing the digest.newCertIDV2
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)digestMethod
- the digest methoddigestInput
- the input for computing the digestCertID
QualifyingPropertiesFactory.newCertIDV2(String, DigestMethod, InputStream)
public CertIDV2 newCertIDV2(String uri, IssuerSerialV2 issuerSerial, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactory
CertIDV2
with the given URI, issuer and serial
number, digest method and input for computing the digest.newCertIDV2
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)issuerSerial
- the issuer and serial number, maybe null
digestMethod
- the digest methoddigestInput
- the input for computing the digestCertID
QualifyingPropertiesFactory.newCertIDV2(String, IssuerSerialV2, DigestMethod, InputStream)
public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, byte[] digestValue)
QualifyingPropertiesFactory
CertIDV2
with the given URI, digest method and digest value.newCertIDV2
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)digestMethod
- the digest methoddigestValue
- the digest value (computed on the DER-encoded certificate)CertID
QualifyingPropertiesFactory.newCertIDV2(String, DigestMethod, byte[])
public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, byte[] digestValue, IssuerSerialV2 issuerSerial)
QualifyingPropertiesFactory
CertIDV2
with the given URI,
digest method, digest value issuer and serialnewCertIDV2
in class QualifyingPropertiesFactory
uri
- the URI
-attribute value (may be null
)digestMethod
- the digest methoddigestValue
- the digest value (computed on the DER-encoded certificate)issuerSerial
- the issuer and serial number, maybe null
CertID
QualifyingPropertiesFactory.newCertIDV2(java.lang.String,
javax.xml.crypto.dsig.DigestMethod, byte[],
iaik.xml.crypto.xades.IssuerSerialV2)
public IssuerSerialV2 newIssuerSerialV2(String issuerName, BigInteger serialNumber)
QualifyingPropertiesFactory
IssuerSerialV2
from the specified X.500 issuer
distinguished name and serial number.newIssuerSerialV2
in class QualifyingPropertiesFactory
issuerName
- the issuer's distinguished name in RFC 2253 String format.
Implementations MUST support the attribute type keywords defined in
RFC 2253 (CN, L, ST, O, OU, C, STREET, DC and UID). Implementations
MAY support additional keywords.serialNumber
- the serial numberIssuerSerialV2
QualifyingPropertiesFactory.newIssuerSerialV2(String, BigInteger)
public IssuerSerialV2 newIssuerSerialV2(X509Certificate cert)
QualifyingPropertiesFactory
IssuerSerialV2
from the issuerDN and serial
number in the given certificate.newIssuerSerialV2
in class QualifyingPropertiesFactory
cert
- A certificate.IssuerSerialV2
QualifyingPropertiesFactory.newIssuerSerialV2(X509Certificate)
public ObjectIdentifier newObjectIdentifier(String identifier, Identifier.Qualifier qualifier, String description, List documentationReferences)
QualifyingPropertiesFactory
ObjectIdentifier
with the given identifier,
description and documentation references.newObjectIdentifier
in class QualifyingPropertiesFactory
identifier
- the identifierqualifier
- the qualifier (one of
Identifier.Qualifier.OID_AS_URI
or
Identifier.Qualifier.OID_AS_URN
,
null
)description
- the description (may be null
)documentationReferences
- a list of String
s (may be null
or empty)ObjectIdentifier
QualifyingPropertiesFactory.newObjectIdentifier(String,
iaik.xml.crypto.xades.Identifier.Qualifier, String, List)
public SPDocSpecification newSPDocSpecification(String identifier, Identifier.Qualifier qualifier, String description, List documentationReferences)
QualifyingPropertiesFactory
SPDocSpecification
with the given identifier,
description and documentation references.newSPDocSpecification
in class QualifyingPropertiesFactory
identifier
- the identifierqualifier
- the qualifier (one of
Identifier.Qualifier.OID_AS_URI
or
Identifier.Qualifier.OID_AS_URN
,
null
)description
- the description (may be null
)documentationReferences
- a list of String
s (may be null
or empty)ObjectIdentifier
QualifyingPropertiesFactory.newSPDocSpecification(String,
iaik.xml.crypto.xades.Identifier.Qualifier, String, List)
public SignaturePolicyIdentifier newSignaturePolicyIdentifier()
QualifyingPropertiesFactory
SignaturePolicyIdentifier
with
SignaturePolicyImplied
.newSignaturePolicyIdentifier
in class QualifyingPropertiesFactory
SignaturePolicyIdentifier
QualifyingPropertiesFactory.newSignaturePolicyIdentifier()
public SignaturePolicyIdentifier newSignaturePolicyIdentifier(SignaturePolicyId signaturePolicyId)
QualifyingPropertiesFactory
SignaturePolicyIdentifier
with the given
SignaturePolicyId
.newSignaturePolicyIdentifier
in class QualifyingPropertiesFactory
signaturePolicyId
- the SignaturePolicyId
SignaturePolicyIdentifier
QualifyingPropertiesFactory.newSignaturePolicyIdentifier(iaik.xml.crypto.xades.SignaturePolicyId)
public SignaturePolicyId newSignaturePolicyId(ObjectIdentifier sigPolicyId, List transforms, DigestMethod digestMethod, Data digestInput, List qualifiers)
QualifyingPropertiesFactory
SignaturePolicyId
with the given object
identifier, transforms, digest method, digest input and list of qualifiers.
The input for the digest computation is obtained from the given
digestInput
, if present, or alternatively from the Identifier
URI in the sigPolicyID, or, if this URI cannot be dereferenced, from the
first SPURI
within the qualifiers that could be dereferenced
successfully. The digest is computed using the digest input as obtained
above and applying all present transforms according to the reference
processing model of XML-Signature
Syntax and Processing.
newSignaturePolicyId
in class QualifyingPropertiesFactory
sigPolicyId
- the object identifier of the signature policytransforms
- a list of Transform
s (may be
null
or empty)digestMethod
- the digest methoddigestInput
- the input for the digest computation.qualifiers
- a list of SigPolicyQualifier
s (may be null
or
empty)SignaturePolicyId
QualifyingPropertiesFactory.newSignaturePolicyId(ObjectIdentifier,
List, DigestMethod, Data, List)
public SignaturePolicyId newSignaturePolicyId(ObjectIdentifier sigPolicyId, List transforms, DigestAlgAndValue sigPolicyHash, List sigPolicyQualifiers)
QualifyingPropertiesFactory
SignaturePolicyId
with the given object
identifier, transforms, digest value and list of qualifiers.newSignaturePolicyId
in class QualifyingPropertiesFactory
sigPolicyId
- the object identifier of the signature policytransforms
- a list of Transform
s (may be
null
or empty)sigPolicyHash
- the digest value of the signature policysigPolicyQualifiers
- a list of SigPolicyQualifier
s (may be null
or
empty)SignaturePolicyId
QualifyingPropertiesFactory.newSignaturePolicyId(ObjectIdentifier,
List, DigestAlgAndValue, List)
public SigPolicyQualifier newSigPolicyQualifier(List qualifiers)
QualifyingPropertiesFactory
SigPolicyQualifier
with the specified list of
XMLStructure
s.newSigPolicyQualifier
in class QualifyingPropertiesFactory
qualifiers
- a list of XMLStructure
s (may be
null
or empty)SigPolicyQualifier
QualifyingPropertiesFactory.newSigPolicyQualifier(java.util.List)
public SPURI newSPURI(String uri)
QualifyingPropertiesFactory
SPURI
element with the given URI.newSPURI
in class QualifyingPropertiesFactory
uri
- the URISPURI
QualifyingPropertiesFactory.newSPURI(java.lang.String)
public SPUserNotice newSPUserNotice(String explicitText, NoticeRef noticeRef)
QualifyingPropertiesFactory
SPUserNotice
element with the given explicit
text and the notice reference.newSPUserNotice
in class QualifyingPropertiesFactory
explicitText
- the explicit textnoticeRef
- the notice referenceSPUserNotice
QualifyingPropertiesFactory.newSPUserNotice(java.lang.String,
iaik.xml.crypto.xades.NoticeRef)
public NoticeRef newNoticeRef(String organization, List numbers)
QualifyingPropertiesFactory
NoticeRef
element with the given organization
and notice numbers.newNoticeRef
in class QualifyingPropertiesFactory
organization
- the organizationnumbers
- the notice numbers (may be empty but never null
)NoticeRef
QualifyingPropertiesFactory.newNoticeRef(java.lang.String,
java.util.List)
public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, String sigPolDocLocalURI, String id)
QualifyingPropertiesFactory
newSignaturePolicyStore
in class QualifyingPropertiesFactory
sPDocSpecification
- The SPDocSpecification definig the syntax used
for producing the signature policy document.
Must not be null
.sigPolDocLocalURI
- The uri pointing to the locally stored signature
policy document. Must not be null
.id
- The value of the Id
attribute.
Maybe null
QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, String, String)
public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, byte[] signaturePolicyDocument, String id)
QualifyingPropertiesFactory
newSignaturePolicyStore
in class QualifyingPropertiesFactory
sPDocSpecification
- The SPDocSpecification definig the syntax used
for producing the signature policy document.
Must not be null
.signaturePolicyDocument
- The signature policy document to be added as
base64 encoded content to the <SignaturePolicyDocument>
element. Must not be null
.id
- The value of the Id
attribute.
Maybe null
SignaturePolicyStore
object.QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, byte[], String)
public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, InputStream signaturePolicyDocument, String id)
QualifyingPropertiesFactory
newSignaturePolicyStore
in class QualifyingPropertiesFactory
sPDocSpecification
- The SPDocSpecification definig the syntax used
for producing the signature policy document.
Must not be null
.signaturePolicyDocument
- The signature policy document to be added as
base64 encoded content of the <SignaturePolicyDocument>
element. Must not be null
.id
- The value of the Id
attribute.
Maybe null
.SignaturePolicyStore
object.QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, InputStream, String)
public SignatureProductionPlace newSignatureProductionPlace(String city, String stateOrProvince, String postalCode, String countryName)
QualifyingPropertiesFactory
SignatureProductionPlace
property with the given
city, state or province, postal code and country name.newSignatureProductionPlace
in class QualifyingPropertiesFactory
city
- the citystateOrProvince
- the state or provincepostalCode
- the postal codecountryName
- the country nameSignatureProductionPlace
QualifyingPropertiesFactory.newSignatureProductionPlace(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public SignatureProductionPlaceV2 newSignatureProductionPlaceV2(String city, String streetAddress, String stateOrProvince, String postalCode, String countryName)
QualifyingPropertiesFactory
SignatureProductionPlaceV2
property with the given
city, street address, state or province, postal code and country name.newSignatureProductionPlaceV2
in class QualifyingPropertiesFactory
city
- the citystreetAddress
- the street addressstateOrProvince
- the state or provincepostalCode
- the postal codecountryName
- the country nameSignatureProductionPlace
QualifyingPropertiesFactory.newSignatureProductionPlaceV2(String, String, String, String, String)
public SignerRole newSignerRole(List claimedRoles, List certifiedRoles)
QualifyingPropertiesFactory
SignerRole
property with the given claimed roles
and certified roles.newSignerRole
in class QualifyingPropertiesFactory
claimedRoles
- a list of ClaimedRole
s (may be null
but never
empty)certifiedRoles
- a list of CertifiedRole
s (may be null
but never
empty)SignerRole
QualifyingPropertiesFactory.newSignerRole(java.util.List,
java.util.List)
public ClaimedRole newClaimedRole(List content)
QualifyingPropertiesFactory
ClaimedRole
element with the given content.newClaimedRole
in class QualifyingPropertiesFactory
content
- a list of DOMStructure
s representing
the claimed roleClaimedRole
QualifyingPropertiesFactory.newClaimedRole(java.util.List)
public CertifiedRole newCertifiedRole(byte[] attributeCertificate, String id, String encoding)
QualifyingPropertiesFactory
CertifiedRole
element with the given attribute
certificate.newCertifiedRole
in class QualifyingPropertiesFactory
attributeCertificate
- a DER encoded attribute certificateid
- an optional id
-attribute value (may be
null
)encoding
- an optional encoding (may be null
)CertifiedRole
QualifyingPropertiesFactory.newCertifiedRole(byte[],
String, String)
public X509AttributeCertificate newX509AttributeCertificate(byte[] attributeCertificate, String id, String encoding)
QualifyingPropertiesFactory
X509AttributeCertificate
element with the given attribute
certificate.newX509AttributeCertificate
in class QualifyingPropertiesFactory
attributeCertificate
- a DER encoded attribute certificateid
- an optional id
-attribute value (may be
null
)encoding
- an optional encoding (may be null
)X509AttributeCertificate
QualifyingPropertiesFactory.newX509AttributeCertificate(byte[],
String, String)
public OtherAttributeCertificate newOtherAttributeCertificate(List content)
QualifyingPropertiesFactory
OtherAttributeCertificate
element with the specified list of
XMLStructure
s.newOtherAttributeCertificate
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)OtherAttributeCertificate
QualifyingPropertiesFactory.newOtherAttributeCertificate(java.util.List)
public CertifiedRoleV2 newCertifiedRoleV2(X509AttributeCertificate x509AttributeCertificate)
QualifyingPropertiesFactory
CertifiedRoleV2
object with the given X509AttributeCertificate
.newCertifiedRoleV2
in class QualifyingPropertiesFactory
x509AttributeCertificate
- a X509AttributeCertificate
CertifiedRoleV2
throws NullPointerException
if x509AttributeCertificate
is null
QualifyingPropertiesFactory.newCertifiedRoleV2(X509AttributeCertificate)
public CertifiedRoleV2 newCertifiedRoleV2(OtherAttributeCertificate otherAttributeCertificate)
QualifyingPropertiesFactory
CertifiedRoleV2
object with the given OtherAttributeCertificate
.newCertifiedRoleV2
in class QualifyingPropertiesFactory
otherAttributeCertificate
- a OtherAttributeCertificate
CertifiedRoleV2
throws NullPointerException
if x509AttributeCertificate
is null
QualifyingPropertiesFactory.newCertifiedRoleV2(OtherAttributeCertificate)
public SignedAssertion newSignedAssertion(List content)
QualifyingPropertiesFactory
SignedAssertion
element with the specified list of
XMLStructure
s.newSignedAssertion
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)SignedAssertion
QualifyingPropertiesFactory.newSignedAssertion(java.util.List)
public SignerRoleV2 newSignerRoleV2(List claimedRoles, List certifiedRoles, List signedAssertions)
QualifyingPropertiesFactory
SignerRoleV2
property with the given claimed roles,
certified roles and or signed assertions.newSignerRoleV2
in class QualifyingPropertiesFactory
claimedRoles
- a list of ClaimedRole
s (may be null
but never
empty)certifiedRoles
- a list of CertifiedRoleV2
s (may be null
but never
empty)signedAssertions
- a list of SignedAssertion
s (may be null
but never
empty)SignerRoleV2
QualifyingPropertiesFactory.newSignerRoleV2(java.util.List, java.util.List, java.util.List)
public DataObjectFormat newDataObjectFormat(String description, ObjectIdentifier objectIdentifier, String mimeType, String encoding, String objectReference)
QualifyingPropertiesFactory
DataObjectFormat
property with the given
description, object identifier, MIME type, encoding and object refererence.newDataObjectFormat
in class QualifyingPropertiesFactory
description
- an optional textual description (may be null
)objectIdentifier
- an optional identifier indicating the type of the signed data object
(may be null
)mimeType
- an optional MIME type (may be null
)encoding
- an optional encoding (may be null
)objectReference
- a URI referencing the ds:Reference
corresponding to the
signed data objectDataObjectFormat
QualifyingPropertiesFactory.newDataObjectFormat(String,
ObjectIdentifier, String, String, String)
public CommitmentTypeIndication newCommitmentTypeIndication(ObjectIdentifier commitmentTypeId, List objectReferences, List commitmentTypeQualifiers)
QualifyingPropertiesFactory
CommitmentTypeIndication
property with the given
commitment type identifier, object references and commitment type
qualifiers.
If objectReferences
is null
the commitment type
indication applies for all signed data objects. This will be indicated by
presence of the AllSignedDataObject
element.
newCommitmentTypeIndication
in class QualifyingPropertiesFactory
commitmentTypeId
- the commitment type identifierobjectReferences
- a list of String
s, representing URI references to the
ds:Reference
elements of the corresponding signed data
objects. If null
or empty an empty
AllSignedDataObjects
element is added indicating that
all signed references share the same commitment.commitmentTypeQualifiers
- a optional list of CommitmentTypeQualifier
s (may be
null
or empty)CommitmentTypeIndication
java.util.List, java.util.List)
public CommitmentTypeQualifier newCommitmentTypeQualifer(List content)
QualifyingPropertiesFactory
CommitmentTypeQualifier
with the specified list of
XMLStructure
s.newCommitmentTypeQualifer
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)CommitmentTypeQualifier
QualifyingPropertiesFactory.newCommitmentTypeQualifer(java.util.List)
public Include newInclude(String uri, boolean referencedData)
QualifyingPropertiesFactory
Include
element with the specified URI and
referenced data attribute value.
If uri
references a ds:Reference
and the
referencedData
-attribute is set to true
, the data
referenced by the ds:Reference
is processed according to the
XMLDSIG processing model.
If uri
references a ds:Reference
and the
referencedData
-attribute is set to false
or
omitted, the ds:Reference
element itsself is used. If the
uri
does not reference a ds:Reference
the
referencedData
-attribute must be set to false
.
newInclude
in class QualifyingPropertiesFactory
uri
- the URI referencereferencedData
- the referencedData
-attribute valueInclude
QualifyingPropertiesFactory.newInclude(java.lang.String,
boolean)
public Include newInclude(String uri)
QualifyingPropertiesFactory
Include
element with the specified URI
attribute value.
If uri
references a ds:Reference
the
canonicalized ds:Reference
element itself will be used as
input for digest calculation.
newInclude
in class QualifyingPropertiesFactory
uri
- the URI referenceInclude
QualifyingPropertiesFactory.newInclude(java.lang.String)
public AllDataObjectsTimeStamp newAllDataObjectsTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
AllDataObjectsTimeStamp
property with the
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.newAllDataObjectsTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. Must be null
or an
empty list, because this type of timestamp uses the implicit
mechanism only.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenAllDataObjectsTimeStamp
QualifyingPropertiesFactory.newAllDataObjectsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public AllDataObjectsTimeStamp newAllDataObjectsTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
AllDataObjectsTimeStamp
property with the
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.newAllDataObjectsTimeStamp
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenAllDataObjectsTimeStamp
QualifyingPropertiesFactory.newAllDataObjectsTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public IndividualDataObjectsTimeStamp newIndividualDataObjectsTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
IndividualDataObjectsTimeStamp
property with the
specified list of Include
s, canonicalization method,
id
-attribute value and id
-attribute value of the
time-stamp token.
The application MUST compose the Include
elements to
refer to those ds:Reference
elements that are to be
time-stamped. Their corresponding referencedData
attribute
MUST be present and set to true
.
newIndividualDataObjectsTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenIndividualDataObjectsTimeStamp
QualifyingPropertiesFactory.newIndividualDataObjectsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public CounterSignature newCounterSignature(XMLSignature counterSignature)
QualifyingPropertiesFactory
CounterSignature
property with the specified
signature.newCounterSignature
in class QualifyingPropertiesFactory
counterSignature
- the counter signatureCounterSignature
QualifyingPropertiesFactory.newCounterSignature(javax.xml.crypto.dsig.XMLSignature)
public CounterSignature newCounterSignature(XMLSignature counterSignature, KeySelector keySelector)
QualifyingPropertiesFactory
CounterSignature
property with the specified
signature.newCounterSignature
in class QualifyingPropertiesFactory
counterSignature
- the counter signaturekeySelector
- a KeySelector
for countersigning the signatureCounterSignature
QualifyingPropertiesFactory.newCounterSignature(XMLSignature,
KeySelector)
public CounterSignature newCounterSignature(XMLSignature counterSignature, KeySelector keySelector, String id)
QualifyingPropertiesFactory
CounterSignature
property with the specified
signature.newCounterSignature
in class QualifyingPropertiesFactory
counterSignature
- the counter signaturekeySelector
- a KeySelector
for countersigning the signatureid
- the value of the Id attribute. Maybe null
CounterSignature
QualifyingPropertiesFactory.newCounterSignature(XMLSignature, KeySelector, String)
public SignatureTimeStamp newSignatureTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SignatureTimeStamp
property with the specified list
of Include
s, canonicalization method, id
-attribute
value and id
-attribute value of the time-stamp token.newSignatureTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. Must be null
or an
empty list, because this type of timestamp uses the implicit
mechanism only.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSignatureTimeStamp
QualifyingPropertiesFactory.newSignatureTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public SignatureTimeStamp newSignatureTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SignatureTimeStamp
property with the specified
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.newSignatureTimeStamp
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSignatureTimeStamp
QualifyingPropertiesFactory.newSignatureTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public CompleteCertificateRefs newCompleteCertificateRefs(List certRefs, String id)
QualifyingPropertiesFactory
CompleteCertificateRefs
property with the specified
list of CertID
s and the id
-attribute value.newCompleteCertificateRefs
in class QualifyingPropertiesFactory
certRefs
- a list of CertID
sid
- the id
-attribute value (may be null
)CeompleteCertificateRefs
propertyQualifyingPropertiesFactory.newCompleteCertificateRefs(List,
String)
public CompleteCertificateRefsV2 newCompleteCertificateRefsV2(List certRefs, String id)
QualifyingPropertiesFactory
CompleteCertificateRefsV2
with the given list of
CertIDV2
s.newCompleteCertificateRefsV2
in class QualifyingPropertiesFactory
certRefs
- a list of CertIDV2
s (may not be null
or empty)id
- the id
-attribute value (may be null
)CompleteCertificateRefsV2
QualifyingPropertiesFactory.newCompleteCertificateRefsV2(List, String)
public CompleteRevocationRefs newCompleteRevocationRefs(List crlRefs, List ocspRefs, List otherRefs, String id)
QualifyingPropertiesFactory
CompleteRevocationRefs
property with the specified
list of CRLRef
s, list of OCSPRef
s, list of OtherRef
s and the id
-attribute value.newCompleteRevocationRefs
in class QualifyingPropertiesFactory
crlRefs
- a list of CRLRef
s (may be null
or empty)ocspRefs
- a list of OCSPRef
s (may be null
or empty}otherRefs
- a list of OtherRef
s (may be null
or empty}id
- the id
-attribute valueCompleteRevocationRefs
propertyQualifyingPropertiesFactory.newCompleteRevocationRefs(List,
List, List, String)
public CRLRef newCRLRef(X509CRL x509CRL, DigestMethod digestMethod, String uri)
QualifyingPropertiesFactory
CRLRef
element for the given CRL with the specified
digest algorithm and URI.newCRLRef
in class QualifyingPropertiesFactory
x509CRL
- the X509 CRLdigestMethod
- the digest methoduri
- the URI of a copy of the CRLCRLRef
QualifyingPropertiesFactory.newCRLRef(iaik.xml.crypto.xades.CRLIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)
public CRLRef newCRLRef(CRLIdentifier crlIdentifier, DigestAlgAndValue digestAlgAndValue)
QualifyingPropertiesFactory
CRLRef
with the given CRL identifier and digest
value.newCRLRef
in class QualifyingPropertiesFactory
crlIdentifier
- the CRL identifierdigestAlgAndValue
- the digest valueCRLRef
QualifyingPropertiesFactory.newCRLRef(iaik.xml.crypto.xades.CRLIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)
public CRLRef newCRLRef(CRLIdentifier crlIdentifier, DigestMethod digestMethod, InputStream digestInputStream)
QualifyingPropertiesFactory
CRLRef
with the given CRL identifier, digest method,
and input for the digest computation.newCRLRef
in class QualifyingPropertiesFactory
crlIdentifier
- the CRL identifierdigestMethod
- the digest methoddigestInputStream
- the input for the digest computationCRLRef
QualifyingPropertiesFactory.newCRLRef(iaik.xml.crypto.xades.CRLIdentifier,
javax.xml.crypto.dsig.DigestMethod, java.io.InputStream)
public CRLIdentifier newCRLIdentifier(String issuer, Date issuerTime, BigInteger number, String uri)
QualifyingPropertiesFactory
CRLIdentifier
with the given issuer name, issuer
time, CRL number and URI.newCRLIdentifier
in class QualifyingPropertiesFactory
issuer
- the issuer distinguished nameissuerTime
- the issuer timenumber
- the CRL numberuri
- the URI of a copy of the CRL (may be null
)CRLIdentifier
QualifyingPropertiesFactory.newCRLIdentifier(java.lang.String,
java.util.Date, java.math.BigInteger, java.lang.String)
public OCSPRef newOCSPRef(OCSPIdentifier ocspIdentifer, DigestAlgAndValue digestAlgAndValue)
QualifyingPropertiesFactory
OCSPRef
with the given OCSP identifier and digest
value.newOCSPRef
in class QualifyingPropertiesFactory
ocspIdentifer
- the OCSP identifierdigestAlgAndValue
- the digest valueOCSPRef
QualifyingPropertiesFactory.newOCSPRef(OCSPIdentifier,
DigestAlgAndValue)
public OCSPRef newOCSPRef(byte[] ocspResponse, DigestMethod digestMethod, String uri)
QualifyingPropertiesFactory
OCSPRef
with the given OCSP response, digest method
and URI.newOCSPRef
in class QualifyingPropertiesFactory
ocspResponse
- the OCSP responsedigestMethod
- the digest methoduri
- the URI
-attribute valueOCSPRef
QualifyingPropertiesFactory.newOCSPRef(iaik.xml.crypto.xades.OCSPIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)
public OCSPRef newOCSPRef(OCSPIdentifier ocspIdentifier, DigestMethod digestMethod, InputStream digestInputStream)
QualifyingPropertiesFactory
OCSPRef
with the given OCSP identifier, digest
method and input for the digest computation.newOCSPRef
in class QualifyingPropertiesFactory
ocspIdentifier
- the OCSP identifierdigestMethod
- the digest methoddigestInputStream
- the input for the digest computationOCSPRef
QualifyingPropertiesFactory.newOCSPRef(iaik.xml.crypto.xades.OCSPIdentifier,
javax.xml.crypto.dsig.DigestMethod, java.io.InputStream)
public OCSPIdentifier newOCSPIdentifier(String responderId, Date producedAt, String uri)
QualifyingPropertiesFactory
OCSPIdentifier
with the given responder ID,
producedAt date and URI.newOCSPIdentifier
in class QualifyingPropertiesFactory
responderId
- the OCSP responder IDproducedAt
- the producedAt dateuri
- the value of the URI
-attributeOCSPIdentifier
QualifyingPropertiesFactory.newOCSPIdentifier(String,
Date, String)
public OCSPIdentifier newOCSPIdentifier(byte[] publicKeyHash, Date producedAt, String uri)
QualifyingPropertiesFactory
OCSPIdentifier
with the given hash of a Public Key,
producedAt date and URI. An OCSP Response may also be identified by the
digest of the server's public key computed as mandated in RFC 2560, using
the ByKey element. The content of the ByKey element is the DER value of the
byKey field as defined in RFC 2560, base64 encoded. The contents of the
ByName element MUST follow the rules established by XMLDSIG section 4.4.4
for strings representing Distinguished Names. The generation time
indication appears in the ProducedAt element and corresponds to the
"ProducedAt" field of the referenced response.newOCSPIdentifier
in class QualifyingPropertiesFactory
publicKeyHash
- the OCSP responder pubilcKeyHashproducedAt
- the producedAt dateuri
- the value of the URI
-attributeOCSPIdentifier
QualifyingPropertiesFactory.newOCSPIdentifier(byte[]
, java.util.Date, java.lang.String)
public OtherRef newOtherRef(List content)
QualifyingPropertiesFactory
OtherRef
element with the specified list of
XMLStructure
s.newOtherRef
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)OtherRef
QualifyingPropertiesFactory.newOtherRef(java.util.List)
public AttributeCertificateRefs newAttributeCertificateRefs(List certRefs, String id)
QualifyingPropertiesFactory
AttributeCertificateRefs
property with the specified
list of CertID
s and the id
-attribute value.newAttributeCertificateRefs
in class QualifyingPropertiesFactory
certRefs
- a list of CertID
sid
- the id
-attribute value (may be null
)AttributeCertificateRefs
propertyQualifyingPropertiesFactory.newAttributeCertificateRefs(java.util.List,
java.lang.String)
public AttributeCertificateRefsV2 newAttributeCertificateRefsV2(List certRefs, String id)
QualifyingPropertiesFactory
AttributeCertificateRefsV2
with the given list of
CertIDV2
s.newAttributeCertificateRefsV2
in class QualifyingPropertiesFactory
certRefs
- a list of CertIDV2
s (may not be null
or empty)id
- the id
-attribute value (may be null
)AttributeCertificateRefsV2
QualifyingPropertiesFactory.newAttributeCertificateRefsV2(List, String)
public AttributeRevocationRefs newAttributeRevocationRefs(List crlRefs, List ocspRefs, List otherRefs, String id)
QualifyingPropertiesFactory
AttributeRevocationRefs
property with the specified
list of CRLRef
s, list of OCSPRef
s, list of OtherRef
s and the id
-attribute value.newAttributeRevocationRefs
in class QualifyingPropertiesFactory
crlRefs
- a list of CRLRef
s (may be null
or empty)ocspRefs
- a list of OCSPRef
s (may be null
or empty}otherRefs
- a list of OtherRef
s (may be null
or empty}id
- the id
-attribute valueAttributeRevocationRefs
propertyQualifyingPropertiesFactory.newAttributeRevocationRefs(java.util.List,
java.util.List, java.util.List, java.lang.String)
public SigAndRefsTimeStamp newSigAndRefsTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SigAndRefsTimeStamp
property with the specified list
of Include
s, canonicalization method, id
-attribute
value and id
-attribute value of the time-stamp token.
SigAndRefsTimeStamp
is built on the following data:
SigAndRefsTimeStamp
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
ds:SignatureValue
SignatureTimeStamp
elementsCompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs?
element, if presentAttributeRevocationRefs?
element, if presentUnsignedProperties
element.SigAndRefsTimeStamp
and some of the
unsigned properties covered by its time-stamp token DO NOT have the same
parent): The explicit
mechanism is used and the following data
objects are time-stamped:
ds:SignatureValue
element contributes implicitly to
the digest input.Include
must be added for the following
UnsignedProperties
in the order they are listed below:
SignatureTimeStamp
elementsCompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs
element, if presentAttributeRevocationRefs
element, if presentnewSigAndRefsTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSigAndRefsTimeStamp
QualifyingPropertiesFactory.newSigAndRefsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public SigAndRefsTimeStamp newSigAndRefsTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SigAndRefsTimeStamp
property with the specified
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.
SigAndRefsTimeStamp
is built on the following data:
SigAndRefsTimeStamp
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
ds:SignatureValue
SignatureTimeStamp
elementsCompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs?
element, if presentAttributeRevocationRefs?
element, if presentUnsignedProperties
element.newSigAndRefsTimeStamp
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSigAndRefsTimeStamp
QualifyingPropertiesFactory.newSigAndRefsTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public SigAndRefsTimeStampV2 newSigAndRefsTimeStampV2(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SigAndRefsTimeStampV2
property with the specified list
of Include
s, canonicalization method, id
-attribute
value and id
-attribute value of the time-stamp token.
SigAndRefsTimeStampV2
is built on the following data:
SigAndRefsTimeStampV2
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
ds:SignatureValue
SignatureTimeStamp
elementsCompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2?
element, if presentAttributeRevocationRefs?
element, if presentUnsignedProperties
element.SigAndRefsTimeStampV2
and some of the
unsigned properties covered by its time-stamp token DO NOT have the same
parent): The explicit
mechanism is used and the following data
objects are time-stamped:
ds:SignatureValue
element contributes implicitly to
the digest input.Include
must be added for the following
UnsignedProperties
in the order they are listed below:
SignatureTimeStamp
elementsCompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2
element, if presentAttributeRevocationRefs
element, if presentnewSigAndRefsTimeStampV2
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSigAndRefsTimeStampV2
QualifyingPropertiesFactory.newSigAndRefsTimeStampV2(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public SigAndRefsTimeStampV2 newSigAndRefsTimeStampV2(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
SigAndRefsTimeStampV2
property with the specified
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.
SigAndRefsTimeStampV2
is built on the following data:
SigAndRefsTimeStampV2
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
ds:SignatureValue
SignatureTimeStamp
elementsCompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2?
element, if presentAttributeRevocationRefs?
element, if presentUnsignedProperties
element.newSigAndRefsTimeStampV2
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenSigAndRefsTimeStampV2
QualifyingPropertiesFactory.newSigAndRefsTimeStampV2(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public RefsOnlyTimeStamp newRefsOnlyTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
RefsOnlyTimeStamp
property with the specified list
of Include
s, canonicalization method, id
-attribute
value and id
-attribute value of the time-stamp token.
RefsOnlyTimeStamp
is built on the following data:
RefsOnlyTimeStamp
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
CompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs
element, if presentAttributeRevocationRefs
element, if presentUnsignedProperties
element.RefsOnlyTimeStamp
and some of the
unsigned properties covered by its time-stamp token DO NOT have the same
parent): The explicit
mechanism is used and one
Include
must be added for the following
UnsignedProperties
in the order they are listed below:
CompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs
element, if presentAttributeRevocationRefs
element, if presentnewRefsOnlyTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenRefsOnlyTimeStamp
QualifyingPropertiesFactory.newRefsOnlyTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public RefsOnlyTimeStamp newRefsOnlyTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
RefsOnlyTimeStamp
property with the specified list
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.
RefsOnlyTimeStamp
is built on the following data:
RefsOnlyTimeStamp
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
CompleteCertificateRefs
elementCompleteRevocationRefs
elementAttributeCertificateRefs
element, if presentAttributeRevocationRefs
element, if presentUnsignedProperties
element.newRefsOnlyTimeStamp
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenRefsOnlyTimeStamp
QualifyingPropertiesFactory.newRefsOnlyTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public RefsOnlyTimeStampV2 newRefsOnlyTimeStampV2(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
RefsOnlyTimeStampV2
property with the specified list
of Include
s, canonicalization method, id
-attribute
value and id
-attribute value of the time-stamp token.
RefsOnlyTimeStampV2
is built on the following data:
RefsOnlyTimeStampV2
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
CompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2
element, if presentAttributeRevocationRefs
element, if presentUnsignedProperties
element.RefsOnlyTimeStampV2
and some of the
unsigned properties covered by its time-stamp token DO NOT have the same
parent): The explicit
mechanism is used and one
Include
must be added for the following
UnsignedProperties
in the order they are listed below:
CompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2
element, if presentAttributeRevocationRefs
element, if presentnewRefsOnlyTimeStampV2
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenRefsOnlyTimeStampV2
QualifyingPropertiesFactory.newRefsOnlyTimeStampV2(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public RefsOnlyTimeStampV2 newRefsOnlyTimeStampV2(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
RefsOnlyTimeStampV2
property with the specified list
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.
RefsOnlyTimeStampV2
is built on the following data:
RefsOnlyTimeStampV2
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
CompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefsV2
element, if presentAttributeRevocationRefs
element, if presentUnsignedProperties
element.newRefsOnlyTimeStampV2
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenRefsOnlyTimeStampV2
QualifyingPropertiesFactory.newRefsOnlyTimeStampV2(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public CertificateValues newCertificateValues(List certificates, String id)
QualifyingPropertiesFactory
CertificateValues
property with the given list of
EncapsulatedX509Certificate
s and OtherCertificate
and the
specified id
-attribute value.newCertificateValues
in class QualifyingPropertiesFactory
certificates
- a list of EncapsulatedX509Certificate
s and
OtherCertificate
sid
- the id
-attribute valueCertificateValues
propertyQualifyingPropertiesFactory.newCertificateValues(java.util.List,
java.lang.String)
public AttrAuthoritiesCertValues newAttrAuthoritiesCertValues(List certificates, String id)
QualifyingPropertiesFactory
AttrAuthoritiesCertValues
property with the given
list of EncapsulatedX509Certificate
s and OtherCertificate
and the specified id
-attribute value.newAttrAuthoritiesCertValues
in class QualifyingPropertiesFactory
certificates
- a list of EncapsulatedX509Certificate
s and
OtherCertificate
sid
- the id
-attribute valueAttrAuthoritiesCertValues
propertyQualifyingPropertiesFactory.newAttrAuthoritiesCertValues(java.util.List,
java.lang.String)
public EncapsulatedX509Certificate newEncapsulatedX509Certificate(X509Certificate x509Certificate, String id, String encoding)
QualifyingPropertiesFactory
EncapsulatedX509Certificate
with the given X509
certificate, id
-attribute value and encoding.newEncapsulatedX509Certificate
in class QualifyingPropertiesFactory
x509Certificate
- the X509 certificateid
- the id
-attribute valueencoding
- the encodingEncapsulatedX509Certificate
QualifyingPropertiesFactory.newEncapsulatedX509Certificate(java.security.cert.X509Certificate,
java.lang.String, java.lang.String)
public OtherCertificate newOtherCerificate(List content)
QualifyingPropertiesFactory
OtherCertificate
element with the specified list of
XMLStructure
s.newOtherCerificate
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)OtherCertificate
QualifyingPropertiesFactory.newOtherCerificate(java.util.List)
public RevocationValues newRevocationValues(List crlValues, List ocspValues, List otherValues, String id)
QualifyingPropertiesFactory
RevocationValues
property with the specified list of
EncapsulatedCRLValue
s, list of EncapsulatedOCSPValue
s, list
of OtherValue
s and id
-attribute value.newRevocationValues
in class QualifyingPropertiesFactory
crlValues
- a list of EncapsulatedCRLValue
socspValues
- a list of EncapsulatedOCSPValue
sotherValues
- a list of OtherValue
sid
- the id
-attribute valueRevocationValues
propertyQualifyingPropertiesFactory.newRevocationValues(java.util.List,
java.util.List, java.util.List, java.lang.String)
public AttributeRevocationValues newAttributeRevocationValues(List crlValues, List ocspValues, List otherValues, String id)
QualifyingPropertiesFactory
AttributeRevocationValues
property with the
specified list of EncapsulatedCRLValue
s, list of
EncapsulatedOCSPValue
s, list of OtherValue
s and
id
-attribute value.newAttributeRevocationValues
in class QualifyingPropertiesFactory
crlValues
- a list of EncapsulatedCRLValue
socspValues
- a list of EncapsulatedOCSPValue
sotherValues
- a list of OtherValue
sid
- the id
-attribute valueAttributeRevocationValues
propertyQualifyingPropertiesFactory.newAttributeRevocationValues(java.util.List,
java.util.List, java.util.List, java.lang.String)
public EncapsulatedCRLValue newEncapsulatedCRLValue(X509CRL x509crl, String id, String encoding)
QualifyingPropertiesFactory
EncapsulatedCRLValue
with the given X509 CRL,
id
-attribute value and encoding.newEncapsulatedCRLValue
in class QualifyingPropertiesFactory
x509crl
- the X509 CRLid
- the id
-attribute valueencoding
- the encodingEncapsulatedCRLValue
QualifyingPropertiesFactory.newEncapsulatedCRLValue(java.security.cert.X509CRL,
java.lang.String, java.lang.String)
public EncapsulatedOCSPValue newEncapsulatedOCSPValue(byte[] ocspResponse, String id, String encoding)
QualifyingPropertiesFactory
EncapsulatedOCSPValue
with the given OCSP response,
id
-attribute value and encoding.newEncapsulatedOCSPValue
in class QualifyingPropertiesFactory
ocspResponse
- the DER encoded OCSP responseid
- the id
-attribute valueencoding
- the encodingEncapsulatedOCSPValue
QualifyingPropertiesFactory.newEncapsulatedOCSPValue(byte[],
java.lang.String, java.lang.String)
public OtherValue newOtherValue(List content)
QualifyingPropertiesFactory
OtherValue
element with the specified list of
XMLStructure
s.newOtherValue
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)OtherValue
QualifyingPropertiesFactory.newOtherValue(java.util.List)
public ArchiveTimeStamp newArchiveTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
ArchiveTimeStamp
property with the specified list of
Include
s, canonicalization method, id
-attribute value
and id
-attribute value of the time-stamp token.
Include
elements:
Include
element per each
ds:Reference
present within the ds:SignedInfo
element. The URI
attribute in each Include
element will reference one of these ds:Reference
elements.
Their corresponding referencedData
attribute MUST be present
and set to "true
"; Include
element whose URI
attribute
references the ds:SignedInfo
element; URI
attribute references the
ds:SignatureValue
element; URI
attribute references the
ds:KeyInfo
element if this property is present. URI
attribute references the
SignatureTimeStamp
element if this property is present.
Include
element per each
CounterSignature
property, when present. The URI
attribute of each Include
element references one
CounterSignature
element;URI
attribute references the
CompleteCertificateRefs
element if this property is present.
URI
attribute references the
CompleteRevocationRefs
element if this property is present.
URI
attribute references the
AttributeCertificateRefs
element if this property is present.
URI
attribute references the
AttributeRevocationRefs
element if this property is present.
URI
attribute references the
CertificateValues
element. This property MUST be added if it
is not already present;URI
attribute references the
RevocationValues
element. This property MUST be added if it is
not already present;Include
element per each
SigAndRefsTimeStamp
element if these elements are present. The
URI
attribute in each Include
element will
reference one SigAndRefsTimeStamp
element;Include
element per each
RefsOnlyTimeStamp
element if these elements are present. The
URI
attribute in each Include
element will
reference one RefsOnlyTimeStamp
element;Include
element per each
ArchiveTimestamp
element if these elements are present. The
URI
attribute in each Include
element will
reference one ArchiveTimestamp
element;Include
element per each present
ds:Object
element in the signature that is not referenced by
any ds:Reference
within ds:SignedInfo
. The URI
attribute in each Include
element will reference one
ds:Object
element.newArchiveTimeStamp
in class QualifyingPropertiesFactory
includes
- the list of Include
s. If null
, the implicit
mechanism is used.canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenArchiveTimeStamp
QualifyingPropertiesFactory.newArchiveTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)
public ArchiveTimeStamp newArchiveTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactory
ArchiveTimeStamp
property with the specified
canonicalization method, id
-attribute value and
id
-attribute value of the time-stamp token.
ArchiveTimeStamp
is built on the following data:
SigAndRefsTimeStamp
and all the
unsigned properties covered by its time-stamp token have the same parent):
The implicit
mechanism is used and the following data objects
are time-stamped:
ds:Reference
elementsds:SignedInfo
elementds:SignatureValue
elementds:KeyInfo
elementSignatureTimeStamp
elementsCounterSignature
elementsCompleteCertificateRefs
or CompleteCertificateRefsV2
elementCompleteRevocationRefs
elementAttributeCertificateRefs?
element, if present or AttributeCertificateRefsV2?
element, if presentAttributeRevocationRefs?
element, if presentSigAndRefsTimeStamp
elements or SigAndRefsTimeStampV2
elementsRefsOnlyTimeStamp
elements or RefsOnlyTimeStampV2
elementsCertificateValues
elementsRevocationValues
elementsUnsignedProperties
element.newArchiveTimeStamp
in class QualifyingPropertiesFactory
canonicalizationMethod
- the canonicalization methodid
- the id
-attribute valuetokenId
- the id
-attribute value of the time-stamp tokenArchiveTimeStamp
QualifyingPropertiesFactory.newArchiveTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)
public ArchiveTimeStamp newArchiveTimeStamp132(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
public ArchiveTimeStamp newArchiveTimeStamp132(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
public DigestAlgAndValue newDigestAlgAndValue(DigestMethod digestMethod, byte[] digestValue)
QualifyingPropertiesFactory
DigestAlgAndValue
element with the given digest
method and digest value.newDigestAlgAndValue
in class QualifyingPropertiesFactory
digestMethod
- the digest methoddigestValue
- the digest valueDigestAlgAndValue
elementQualifyingPropertiesFactory.newDigestAlgAndValue(javax.xml.crypto.dsig.DigestMethod,
byte[])
public RecomputedDigestValue newRecomputedDigestValue(int order, byte[] digestValue)
QualifyingPropertiesFactory
RecomputedDigestValue
with te given order and digest value.
newRecomputedDigestValue
in class QualifyingPropertiesFactory
order
- The order number of the RecomputedDigestValue
, i.e. the number of
the corresponding manifest reference in the signature.digestValue
- The (recomputed) digest value. Must not be null
.String)
public RenewedDigests newRenewedDigests(DigestMethod digestMethod, String id)
QualifyingPropertiesFactory
RenewedDigests
with te given digest method and id.
The digest values of all references to detatched data objects of all manifests
included in the signature will be recomputed when the RenewedDigests
will be appended
to the signature.
If you prefer to recompute the digest values yourself, use method QualifyingPropertiesFactory.newRenewedDigests(DigestMethod, List, String)
.
newRenewedDigests
in class QualifyingPropertiesFactory
digestMethod
- The DigestMethod
to be used for recomputing the (manifest) digest values.
Must not be null
.id
- The name of the id attribute for the lt;xades:RenewedDigests>
element.
Maybe null
.QualifyingPropertiesFactory.newRenewedDigests(javax.xml.crypto.dsig.DigestMethod,
String)
public RenewedDigests newRenewedDigests(DigestMethod digestMethod, List recomputedDigestValues, String id)
QualifyingPropertiesFactory
RenewedDigests
with te given digest method, list of RecomputedDigestValue
s and id.
This method creates RenewedDigests
that should be appended to the signature as they are.
Hence all the digest values must have already been recomputed (by the application). If the calculation of the
digest values should be performed internally use method QualifyingPropertiesFactory.newRenewedDigests(DigestMethod, String)
.
newRenewedDigests
in class QualifyingPropertiesFactory
digestMethod
- The DigestMethod
that has been used for recomputing the (manifest) digest values.
Must not be null
.recomputedDigestValues
- A list of recomputed digest values
.
Must not be null
or empty.id
- The name of the id attribute for the lt;xades:RenewedDigests>
element.
Maybe null
.QualifyingPropertiesFactory.newRenewedDigests(DigestMethod, List, String)
public UnsignedDataObjectProperty newUnsignedDataObjectProperty(List content)
QualifyingPropertiesFactory
UnsignedDataObjectProperty
with the specified list
of XMLStructure
s.newUnsignedDataObjectProperty
in class QualifyingPropertiesFactory
content
- a list of XMLStructure
s (may be
null
or empty)UnsignedDataObjectProperty
QualifyingPropertiesFactory.newUnsignedDataObjectProperty(java.util.List)
public QualifyingProperties newQualifyingProperties(SignedProperties signedProperties, UnsignedProperties unsignedProperties, String target, String id) throws NullPointerException
QualifyingPropertiesFactory
QualifyingProperties
with the specified signed
properties, unsigned properties, target
-attribute value and
id
-attribute value.newQualifyingProperties
in class QualifyingPropertiesFactory
signedProperties
- the signed propertiesunsignedProperties
- the unsigned propertiestarget
- the URI reference referencing the ds:Signature
qualified by this QualifyingProperties
id
- the id
-attribute value (may be null
)QualifyingProperties
NullPointerException
- if singedProperties
, unsignedProperties
or target
is null
QualifyingPropertiesFactory.newQualifyingProperties(iaik.xml.crypto.xades.SignedProperties,
iaik.xml.crypto.xades.UnsignedProperties, java.lang.String,
java.lang.String)
public QualifyingProperties newQualifyingProperties(SignedProperties signedProperties, String target, String id)
QualifyingPropertiesFactory
QualifyingProperties
with the specified signed
properties, target
-attribute value and id
-attribute value.newQualifyingProperties
in class QualifyingPropertiesFactory
signedProperties
- the signed propertiestarget
- the URI reference referencing the ds:Signature
qualified by this QualifyingProperties
id
- the id
-attribute value (may be null
)QualifyingProperties
QualifyingPropertiesFactory.newQualifyingProperties(iaik.xml.crypto.xades.SignedProperties,
java.lang.String, java.lang.String)
public SignedProperties newSignedProperties(SignedSignatureProperties signedSignatureProperties, SignedDataObjectProperties signedDataObjectProperties, String id)
QualifyingPropertiesFactory
SignedProperties
with the specified signed signature
properties, signed data object properties and id
-attribute
value.newSignedProperties
in class QualifyingPropertiesFactory
signedSignatureProperties
- the signed signature properties (may be null
)signedDataObjectProperties
- the signed data object properties (may be null
)id
- the id
-attribute (may be null
)SignedProperties
elementQualifyingPropertiesFactory.newSignedProperties(iaik.xml.crypto.xades.SignedSignatureProperties,
iaik.xml.crypto.xades.SignedDataObjectProperties, java.lang.String)
public UnsignedProperties newUnsignedProperties(UnsignedSignatureProperties unsignedSignatureProperties, UnsignedDataObjectProperties unsignedDataObjectProperties, String id)
QualifyingPropertiesFactory
UnsignedProperties
with the specified unsigned
signature properties, unsigned data object properties and id
-attribute value.newUnsignedProperties
in class QualifyingPropertiesFactory
unsignedSignatureProperties
- the unsigned signature properties (may be null
)unsignedDataObjectProperties
- the unsigned data object properties (may be null
)id
- the id
-attribute value (may be null
)UnsignedDataObjectProperties
element if
unsignedSignaturePorperties
and
unsignedDataObjectProperties
are null
QualifyingPropertiesFactory.newUnsignedProperties(UnsignedSignatureProperties,
UnsignedDataObjectProperties, String)
public SignedSignatureProperties newSignedSignatureProperties(SigningTime signingTime, SigningCertificate signingCertificate, SignaturePolicyIdentifier signaturePolicyIdentifier, SignatureProductionPlace signatureProductionPlace, SignerRole signerRole, String id)
QualifyingPropertiesFactory
SignedSignatureProperties
with the specified signing
time, signing certificate, signature policy identifier, signature
production place, signer role and id
-attribute value.newSignedSignatureProperties
in class QualifyingPropertiesFactory
signingTime
- the signing time (may be null
)signingCertificate
- the signing certificate (may be null
)signaturePolicyIdentifier
- the signature policy identifier (may be null
)signatureProductionPlace
- the signature production place (may be null
)signerRole
- the signer role (may be null
)id
- the id
-attribute value (may be null
)SignedSignatureProperties
QualifyingPropertiesFactory.newSignedSignatureProperties(iaik.xml.crypto.xades.SigningTime,
iaik.xml.crypto.xades.SigningCertificate,
iaik.xml.crypto.xades.SignaturePolicyIdentifier,
iaik.xml.crypto.xades.SignatureProductionPlace,
iaik.xml.crypto.xades.SignerRole, java.lang.String)
public SignedSignatureProperties newSignedSignatureProperties(SigningTime signingTime, SigningCertificateV2 signingCertificate, SignaturePolicyIdentifier signaturePolicyIdentifier, SignatureProductionPlaceV2 signatureProductionPlace, SignerRoleV2 signerRole, String id)
QualifyingPropertiesFactory
SignedSignatureProperties
with the specified signing
time, signing certificate, signature policy identifier, signature
production place, signer role and id
-attribute value.newSignedSignatureProperties
in class QualifyingPropertiesFactory
signingTime
- the signing time (may be null
)signingCertificate
- the signing certificate (may be null
)signaturePolicyIdentifier
- the signature policy identifier (may be null
)signatureProductionPlace
- the signature production place (may be null
)signerRole
- the signer role (may be null
)id
- the id
-attribute value (may be null
)SignedSignatureProperties
QualifyingPropertiesFactory.newSignedSignatureProperties(
SigningTime, SigningCertificateV2, SignaturePolicyIdentifier, SignatureProductionPlaceV2, SignerRoleV2, String)
public SignedDataObjectProperties newSignedDataObjectProperties(List dataObjectFormats, List commitmentTypeIndications, List allDataObjectsTimeStamps, List individualDataObjectsTimeStamps, String id)
QualifyingPropertiesFactory
SignedDataObjectProperties
containing the specified
list of DataObjectFormat
s, list of CommitmentTypeIndication
s, list of AllDataObjectsTimeStamp
s, list of
IndividualDataObjectsTimeStamp
s and id
-attribute
value.newSignedDataObjectProperties
in class QualifyingPropertiesFactory
dataObjectFormats
- a list of DataObjectFormat
s. The list defensively copied to
protect against subsequent modification. May be null
or
empty.commitmentTypeIndications
- a list of CommitmentTypeIndication
s. The list defensively
copied to protect against subsequent modification. May be
null
or empty.allDataObjectsTimeStamps
- a list of AllDataObjectsTimeStamp
s. The list defensively
copied to protect against subsequent modification. May be
null
or empty.individualDataObjectsTimeStamps
- a list of IndividualDataObjectsTimeStamp
s. The list
defensively copied to protect against subsequent modification. May
be null
or empty.id
- the id
-attribute value (may be null
)SignedDataObjectProperties
QualifyingPropertiesFactory.newSignedDataObjectProperties(java.util.List,
java.util.List, java.util.List, java.util.List, java.lang.String)
public UnsignedSignatureProperties newUnsignedSignatureProperties(List counterSignatures, List signatureTimeStamps, CompleteCertificateRefs certificateRefs, CompleteRevocationRefs completeRevocationRefs, AttributeCertificateRefs attributeCertificateRefs, AttributeRevocationRefs attributeRevocationRefs, List refsTimeStamps, CertificateValues certificateValues, RevocationValues revocationValues, AttrAuthoritiesCertValues attrCertificateValues, AttributeRevocationValues attributeRevocationValues, List archiveTimeStamps, String id)
QualifyingPropertiesFactory
UnsignedSignatureProperties
element with the given
list of CounterSignature
s, list of SignatureTimeStamp
s,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamp
s and RefsOnlyTimeStamp
s, certificate
values, revocation values and id
-attribute value.newUnsignedSignatureProperties
in class QualifyingPropertiesFactory
counterSignatures
- a list of CounterSignature
s (may be null
but
never empty)signatureTimeStamps
- a list of SignatureTimeStamp
s (may be null
but
never empty)certificateRefs
- the complete certificate references (may be null
)completeRevocationRefs
- the complete revocation references (may be null
)attributeCertificateRefs
- the attribute certificate references (may be null
)attributeRevocationRefs
- the attribute revocation references (may be null
)refsTimeStamps
- a list of SigAndRefsTimeStamp
s and RefsOnlyTimeStamp
s (may be null
but never empty)certificateValues
- the certificate values (may be null
)revocationValues
- the revocation values (may be null
)attrCertificateValues
- the attrCertificateValues values (may be null
)attributeRevocationValues
- the attributeRevocationValues values (may be null
)archiveTimeStamps
- a list of ArchiveTimeStamp
s (may be null
but
never empty)id
- the id
-attribute value (may be null
)UnsignedSignaturePorperties
elementQualifyingPropertiesFactory.newUnsignedSignatureProperties(List,
List, CompleteCertificateRefs, CompleteRevocationRefs,
AttributeCertificateRefs, AttributeRevocationRefs, List,
CertificateValues, RevocationValues, AttrAuthoritiesCertValues,
AttributeRevocationValues, List, String)
public UnsignedSignatureProperties newUnsignedSignatureProperties(List counterSignatures, List signatureTimeStamps, CompleteCertificateRefsV2 certificateRefs, CompleteRevocationRefs completeRevocationRefs, AttributeCertificateRefsV2 attributeCertificateRefs, AttributeRevocationRefs attributeRevocationRefs, List refsTimeStamps, CertificateValues certificateValues, RevocationValues revocationValues, AttrAuthoritiesCertValues attrCertificateValues, AttributeRevocationValues attributeRevocationValues, List archiveTimeStamps, SignaturePolicyStore signaturePolicyStore, String id)
QualifyingPropertiesFactory
UnsignedSignatureProperties
element with the given
list of CounterSignature
s, list of SignatureTimeStamp
s,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamp
s and RefsOnlyTimeStamp
s, certificate
values, revocation values and id
-attribute value.newUnsignedSignatureProperties
in class QualifyingPropertiesFactory
counterSignatures
- a list of CounterSignature
s (may be null
but
never empty)signatureTimeStamps
- a list of SignatureTimeStamp
s (may be null
but
never empty)certificateRefs
- the complete certificate references (may be null
)completeRevocationRefs
- the complete revocation references (may be null
)attributeCertificateRefs
- the attribute certificate references (may be null
)attributeRevocationRefs
- the attribute revocation references (may be null
)refsTimeStamps
- a list of SigAndRefsTimeStamp
s and RefsOnlyTimeStamp
s (may be null
but never empty)certificateValues
- the certificate values (may be null
)revocationValues
- the revocation values (may be null
)attrCertificateValues
- the attrCertificateValues values (may be null
)attributeRevocationValues
- the attributeRevocationValues values (may be null
)archiveTimeStamps
- a list of ArchiveTimeStamp
s (may be null
but
never empty)signaturePolicyStore
- a SignaturePolicyStore
(may be null
)id
- the id
-attribute value (may be null
)UnsignedSignaturePorperties
elementQualifyingPropertiesFactory.newUnsignedSignatureProperties(List,
List, CompleteCertificateRefsV2, CompleteRevocationRefs,
AttributeCertificateRefsV2, AttributeRevocationRefs, List,
CertificateValues, RevocationValues, AttrAuthoritiesCertValues,
AttributeRevocationValues, List, SignaturePolicyStore, String)
public UnsignedSignatureProperties newUnsignedSignatureProperties(List counterSignatures, String id)
QualifyingPropertiesFactory
UnsignedSignatureProperties
element with the given
list of CounterSignature
s and id
-attribute value.newUnsignedSignatureProperties
in class QualifyingPropertiesFactory
counterSignatures
- a list of CounterSignature
s (may be null
but
never empty)id
- the id
-attribute value (may be null
)UnsignedSignaturePorperties
elementQualifyingPropertiesFactory.newUnsignedSignatureProperties(java.util.List,
java.lang.String)
public UnsignedDataObjectProperties newUnsignedDataObjectProperties(List unsignedDataObjectProperties, String id)
QualifyingPropertiesFactory
UnsignedDataObjectProperties
element with the given
list of UnsignedDataObjectProperty
elements.newUnsignedDataObjectProperties
in class QualifyingPropertiesFactory
unsignedDataObjectProperties
- a list of UnsignedDataObjectProperty
sid
- the id
-attribute valueUnsignedDataObjectProperties
elementQualifyingPropertiesFactory.newUnsignedDataObjectProperties(java.util.List,
java.lang.String)
public QualifyingPropertiesReference newQualifyingPropertiesReference(String uri, List transforms, String id)
QualifyingPropertiesFactory
QualifyingPropertiesReference
element with the given
URI, list of Transform
s and id
-attribute value.newQualifyingPropertiesReference
in class QualifyingPropertiesFactory
uri
- the URI referencetransforms
- a list of Transform
s (may be
null
)id
- the id
-attribute valueQualifyingPropertiesReference
QualifyingPropertiesFactory.newQualifyingPropertiesReference(java.lang.String,
java.util.List, java.lang.String)
public TimeStampValidationData newTimeStampValidationData(List certificates, List crlValues, List ocspValues, List otherValues, String id, String uri)
QualifyingPropertiesFactory
TimeStampValidationData
property with the given list
of EncapsulatedX509Certificate
s, OtherCertificate
list of
EncapsulatedCRLValue
s, list of EncapsulatedOCSPValue
s, list
of OtherValue
s and the specified id
-attribute value.newTimeStampValidationData
in class QualifyingPropertiesFactory
certificates
- a list of EncapsulatedX509Certificate
s and
OtherCertificate
scrlValues
- a list of EncapsulatedCRLValue
socspValues
- a list of EncapsulatedOCSPValue
sotherValues
- a list of OtherValue
sid
- URI
attribute valueuri
- the Id
attribute valueTimeStampValidationData
propertyQualifyingPropertiesFactory.newTimeStampValidationData(java.util.List,
java.util.List, java.util.List, java.util.List, java.lang.String,
String)
public TimeStampValidationData newTimeStampValidationData(CertificateValues certificateValues, RevocationValues revocationValues, String uri, String id)
QualifyingPropertiesFactory
TimeStampValidationData
property with the givennewTimeStampValidationData
in class QualifyingPropertiesFactory
uri
- URI
attribute valueid
- the Id
attribute valueTimeStampValidationData
propertyQualifyingPropertiesFactory.newTimeStampValidationData(java.util.List,
java.util.List, java.util.List, java.util.List, java.lang.String,
String)
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC