public class QualifyingPropertiesFactory extends QualifyingPropertiesFactory
QualifyingPropertiesFactoryfor 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
Includes, 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 EncapsulatedX509Certificates 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
CertIDV2s. |
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 EncapsulatedCRLValues, list of
EncapsulatedOCSPValues, list of OtherValues 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
EncapsulatedX509Certificates 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
XMLStructures. |
CompleteCertificateRefs |
newCompleteCertificateRefs(List certRefs,
String id)
Deprecated.
|
CompleteCertificateRefsV2 |
newCompleteCertificateRefsV2(List certRefs,
String id)
Creates a new
CompleteCertificateRefsV2 with the given list of
CertIDV2s. |
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 Includes, 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
XMLStructures. |
OtherCertificate |
newOtherCerificate(List content)
Creates a
OtherCertificate element with the specified list of
XMLStructures. |
OtherRef |
newOtherRef(List content)
Creates a
OtherRef element with the specified list of
XMLStructures. |
OtherValue |
newOtherValue(List content)
Creates a
OtherValue element with the specified list of
XMLStructures. |
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 RecomputedDigestValues 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
EncapsulatedCRLValues, list of EncapsulatedOCSPValues, list
of OtherValues 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
XMLStructures. |
SignedDataObjectProperties |
newSignedDataObjectProperties(List dataObjectFormats,
List commitmentTypeIndications,
List allDataObjectsTimeStamps,
List individualDataObjectsTimeStamps,
String id)
Creates
SignedDataObjectProperties containing the specified
list of DataObjectFormats, list of CommitmentTypeIndication
s, list of AllDataObjectsTimeStamps, list of
IndividualDataObjectsTimeStamps 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
CertIDV2s. |
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
XMLStructures. |
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 EncapsulatedX509Certificates, OtherCertificate list of
EncapsulatedCRLValues, list of EncapsulatedOCSPValues, list
of OtherValues 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 XMLStructures. |
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 CounterSignatures, list of SignatureTimeStamps,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamps and RefsOnlyTimeStamps, certificate
values, revocation values and id-attribute value. |
UnsignedSignatureProperties |
newUnsignedSignatureProperties(List counterSignatures,
String id)
Creates a
UnsignedSignatureProperties element with the given
list of CounterSignatures 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, getProviderpublic boolean isFeatureSupported(String feature)
QualifyingPropertiesFactoryisFeatureSupported in class QualifyingPropertiesFactoryfeature - the feature name (as an absolute URI)true if the specified feature is supported,
false otherwiseQualifyingPropertiesFactory.isFeatureSupported(java.lang.String)public URIDereferencer getURIDereferencer()
QualifyingPropertiesFactoryURIDereferencer that is used by
default to dereference URIs in qualifying properties.getURIDereferencer in class QualifyingPropertiesFactoryURIDereferencer (never
null)QualifyingPropertiesFactory.getURIDereferencer()public SigningTime newSigningTime()
QualifyingPropertiesFactorySigningTime with the current system time.newSigningTime in class QualifyingPropertiesFactorySigningTimeQualifyingPropertiesFactory.newSigningTime()public SigningTime newSigningTime(Date date)
QualifyingPropertiesFactorySigningTime with the given date.newSigningTime in class QualifyingPropertiesFactorydate - the signing timeSigningTimeQualifyingPropertiesFactory.newSigningTime(java.util.Date)public SigningCertificate newSigningCertificate(List certIDs)
QualifyingPropertiesFactorySigningCertificate with the given list of
CertIDs.newSigningCertificate in class QualifyingPropertiesFactorycertIDs - a list of CertIDs (may not be null or empty)SigningCertificateQualifyingPropertiesFactory.newSigningCertificate(java.util.List)public CertID newCertID(String uri, X509Certificate certificate, DigestMethod digestMethod)
QualifyingPropertiesFactoryCertID with the given URI, certificate and
digest method.newCertID in class QualifyingPropertiesFactoryuri - the URI-attribute value (may be null)certificate - the X509 certificatedigestMethod - the digest method for creating a hash value of the certificateCertIDQualifyingPropertiesFactory.newCertID(java.lang.String,
java.security.cert.X509Certificate,
javax.xml.crypto.dsig.DigestMethod)public CertID newCertID(String uri, IssuerSerial issuerSerial, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactoryCertID with the given URI, issuer and serial
number, digest method and input for computing the digest.newCertID in class QualifyingPropertiesFactoryuri - the URI-attribute value (may be null)issuerSerial - the issuer and serial numberdigestMethod - the digest methoddigestInput - the input for computing the digestCertIDQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryCertID with the given URI, issuer and serial
number, digest method and digest value.newCertID in class QualifyingPropertiesFactoryuri - 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 numberCertIDQualifyingPropertiesFactory.newCertID(java.lang.String,
javax.xml.crypto.dsig.DigestMethod, byte[],
iaik.xml.crypto.xades.IssuerSerial)public IssuerSerial newIssuerSerial(String issuerName, BigInteger serialNumber)
QualifyingPropertiesFactoryIssuerSerial from the specified X.500 issuer
distinguished name and serial number.newIssuerSerial in class QualifyingPropertiesFactoryissuerName - 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 numberIssuerSerialQualifyingPropertiesFactory.newIssuerSerial(java.lang.String,
java.math.BigInteger)public SigningCertificateV2 newSigningCertificateV2(List certIDs)
QualifyingPropertiesFactorySigningCertificateV2 with the given list of
CertIDV2s.newSigningCertificateV2 in class QualifyingPropertiesFactorycertIDs - a list of CertIDV2s (may not be null or empty)SigningCertificateV2iaik.xml.crypto.xades.QualifyingPropertiesFactory#newSigningCertificateV2(java.lang.List)public CertIDV2 newCertIDV2(String uri, X509Certificate certificate, DigestMethod digestMethod, boolean addIssuerSerial)
QualifyingPropertiesFactoryCertIDV2 with the given URI, certificate,
and digest method
newCertIDV2 in class QualifyingPropertiesFactoryuri - 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 notCertIDV2QualifyingPropertiesFactory.newCertIDV2(String, X509Certificate, DigestMethod, boolean)public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactoryCertIDV2 with the given URI,
digest method and input for computing the digest.newCertIDV2 in class QualifyingPropertiesFactoryuri - the URI-attribute value (may be null)digestMethod - the digest methoddigestInput - the input for computing the digestCertIDQualifyingPropertiesFactory.newCertIDV2(String, DigestMethod, InputStream)public CertIDV2 newCertIDV2(String uri, IssuerSerialV2 issuerSerial, DigestMethod digestMethod, InputStream digestInput)
QualifyingPropertiesFactoryCertIDV2 with the given URI, issuer and serial
number, digest method and input for computing the digest.newCertIDV2 in class QualifyingPropertiesFactoryuri - the URI-attribute value (may be null)issuerSerial - the issuer and serial number, maybe nulldigestMethod - the digest methoddigestInput - the input for computing the digestCertIDQualifyingPropertiesFactory.newCertIDV2(String, IssuerSerialV2, DigestMethod, InputStream)public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, byte[] digestValue)
QualifyingPropertiesFactoryCertIDV2 with the given URI, digest method and digest value.newCertIDV2 in class QualifyingPropertiesFactoryuri - the URI-attribute value (may be null)digestMethod - the digest methoddigestValue - the digest value (computed on the DER-encoded certificate)CertIDQualifyingPropertiesFactory.newCertIDV2(String, DigestMethod, byte[])public CertIDV2 newCertIDV2(String uri, DigestMethod digestMethod, byte[] digestValue, IssuerSerialV2 issuerSerial)
QualifyingPropertiesFactoryCertIDV2 with the given URI,
digest method, digest value issuer and serialnewCertIDV2 in class QualifyingPropertiesFactoryuri - 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 nullCertIDQualifyingPropertiesFactory.newCertIDV2(java.lang.String,
javax.xml.crypto.dsig.DigestMethod, byte[],
iaik.xml.crypto.xades.IssuerSerialV2)public IssuerSerialV2 newIssuerSerialV2(String issuerName, BigInteger serialNumber)
QualifyingPropertiesFactoryIssuerSerialV2 from the specified X.500 issuer
distinguished name and serial number.newIssuerSerialV2 in class QualifyingPropertiesFactoryissuerName - 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 numberIssuerSerialV2QualifyingPropertiesFactory.newIssuerSerialV2(String, BigInteger)public IssuerSerialV2 newIssuerSerialV2(X509Certificate cert)
QualifyingPropertiesFactoryIssuerSerialV2 from the issuerDN and serial
number in the given certificate.newIssuerSerialV2 in class QualifyingPropertiesFactorycert - A certificate.IssuerSerialV2QualifyingPropertiesFactory.newIssuerSerialV2(X509Certificate)public ObjectIdentifier newObjectIdentifier(String identifier, Identifier.Qualifier qualifier, String description, List documentationReferences)
QualifyingPropertiesFactoryObjectIdentifier with the given identifier,
description and documentation references.newObjectIdentifier in class QualifyingPropertiesFactoryidentifier - 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 Strings (may be null or empty)ObjectIdentifierQualifyingPropertiesFactory.newObjectIdentifier(String,
iaik.xml.crypto.xades.Identifier.Qualifier, String, List)public SPDocSpecification newSPDocSpecification(String identifier, Identifier.Qualifier qualifier, String description, List documentationReferences)
QualifyingPropertiesFactorySPDocSpecification with the given identifier,
description and documentation references.newSPDocSpecification in class QualifyingPropertiesFactoryidentifier - 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 Strings (may be null or empty)ObjectIdentifierQualifyingPropertiesFactory.newSPDocSpecification(String,
iaik.xml.crypto.xades.Identifier.Qualifier, String, List)public SignaturePolicyIdentifier newSignaturePolicyIdentifier()
QualifyingPropertiesFactorySignaturePolicyIdentifier with
SignaturePolicyImplied.newSignaturePolicyIdentifier in class QualifyingPropertiesFactorySignaturePolicyIdentifierQualifyingPropertiesFactory.newSignaturePolicyIdentifier()public SignaturePolicyIdentifier newSignaturePolicyIdentifier(SignaturePolicyId signaturePolicyId)
QualifyingPropertiesFactorySignaturePolicyIdentifier with the given
SignaturePolicyId.newSignaturePolicyIdentifier in class QualifyingPropertiesFactorysignaturePolicyId - the SignaturePolicyIdSignaturePolicyIdentifierQualifyingPropertiesFactory.newSignaturePolicyIdentifier(iaik.xml.crypto.xades.SignaturePolicyId)public SignaturePolicyId newSignaturePolicyId(ObjectIdentifier sigPolicyId, List transforms, DigestMethod digestMethod, Data digestInput, List qualifiers)
QualifyingPropertiesFactorySignaturePolicyId 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 QualifyingPropertiesFactorysigPolicyId - the object identifier of the signature policytransforms - a list of Transforms (may be
null or empty)digestMethod - the digest methoddigestInput - the input for the digest computation.qualifiers - a list of SigPolicyQualifiers (may be null or
empty)SignaturePolicyIdQualifyingPropertiesFactory.newSignaturePolicyId(ObjectIdentifier,
List, DigestMethod, Data, List)public SignaturePolicyId newSignaturePolicyId(ObjectIdentifier sigPolicyId, List transforms, DigestAlgAndValue sigPolicyHash, List sigPolicyQualifiers)
QualifyingPropertiesFactorySignaturePolicyId with the given object
identifier, transforms, digest value and list of qualifiers.newSignaturePolicyId in class QualifyingPropertiesFactorysigPolicyId - the object identifier of the signature policytransforms - a list of Transforms (may be
null or empty)sigPolicyHash - the digest value of the signature policysigPolicyQualifiers - a list of SigPolicyQualifiers (may be null or
empty)SignaturePolicyIdQualifyingPropertiesFactory.newSignaturePolicyId(ObjectIdentifier,
List, DigestAlgAndValue, List)public SigPolicyQualifier newSigPolicyQualifier(List qualifiers)
QualifyingPropertiesFactorySigPolicyQualifier with the specified list of
XMLStructures.newSigPolicyQualifier in class QualifyingPropertiesFactoryqualifiers - a list of XMLStructures (may be
null or empty)SigPolicyQualifierQualifyingPropertiesFactory.newSigPolicyQualifier(java.util.List)public SPURI newSPURI(String uri)
QualifyingPropertiesFactorySPURI element with the given URI.newSPURI in class QualifyingPropertiesFactoryuri - the URISPURIQualifyingPropertiesFactory.newSPURI(java.lang.String)public SPUserNotice newSPUserNotice(String explicitText, NoticeRef noticeRef)
QualifyingPropertiesFactorySPUserNotice element with the given explicit
text and the notice reference.newSPUserNotice in class QualifyingPropertiesFactoryexplicitText - the explicit textnoticeRef - the notice referenceSPUserNoticeQualifyingPropertiesFactory.newSPUserNotice(java.lang.String,
iaik.xml.crypto.xades.NoticeRef)public NoticeRef newNoticeRef(String organization, List numbers)
QualifyingPropertiesFactoryNoticeRef element with the given organization
and notice numbers.newNoticeRef in class QualifyingPropertiesFactoryorganization - the organizationnumbers - the notice numbers (may be empty but never null)NoticeRefQualifyingPropertiesFactory.newNoticeRef(java.lang.String,
java.util.List)public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, String sigPolDocLocalURI, String id)
QualifyingPropertiesFactorynewSignaturePolicyStore in class QualifyingPropertiesFactorysPDocSpecification - 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 nullQualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, String, String)public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, byte[] signaturePolicyDocument, String id)
QualifyingPropertiesFactorynewSignaturePolicyStore in class QualifyingPropertiesFactorysPDocSpecification - 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 nullSignaturePolicyStore object.QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, byte[], String)public SignaturePolicyStore newSignaturePolicyStore(SPDocSpecification sPDocSpecification, InputStream signaturePolicyDocument, String id)
QualifyingPropertiesFactorynewSignaturePolicyStore in class QualifyingPropertiesFactorysPDocSpecification - 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)
QualifyingPropertiesFactorySignatureProductionPlace property with the given
city, state or province, postal code and country name.newSignatureProductionPlace in class QualifyingPropertiesFactorycity - the citystateOrProvince - the state or provincepostalCode - the postal codecountryName - the country nameSignatureProductionPlaceQualifyingPropertiesFactory.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)
QualifyingPropertiesFactorySignatureProductionPlaceV2 property with the given
city, street address, state or province, postal code and country name.newSignatureProductionPlaceV2 in class QualifyingPropertiesFactorycity - the citystreetAddress - the street addressstateOrProvince - the state or provincepostalCode - the postal codecountryName - the country nameSignatureProductionPlaceQualifyingPropertiesFactory.newSignatureProductionPlaceV2(String, String, String, String, String)public SignerRole newSignerRole(List claimedRoles, List certifiedRoles)
QualifyingPropertiesFactorySignerRole property with the given claimed roles
and certified roles.newSignerRole in class QualifyingPropertiesFactoryclaimedRoles - a list of ClaimedRoles (may be null but never
empty)certifiedRoles - a list of CertifiedRoles (may be null but never
empty)SignerRoleQualifyingPropertiesFactory.newSignerRole(java.util.List,
java.util.List)public ClaimedRole newClaimedRole(List content)
QualifyingPropertiesFactoryClaimedRole element with the given content.newClaimedRole in class QualifyingPropertiesFactorycontent - a list of DOMStructures representing
the claimed roleClaimedRoleQualifyingPropertiesFactory.newClaimedRole(java.util.List)public CertifiedRole newCertifiedRole(byte[] attributeCertificate, String id, String encoding)
QualifyingPropertiesFactoryCertifiedRole element with the given attribute
certificate.newCertifiedRole in class QualifyingPropertiesFactoryattributeCertificate - a DER encoded attribute certificateid - an optional id-attribute value (may be
null)encoding - an optional encoding (may be null)CertifiedRoleQualifyingPropertiesFactory.newCertifiedRole(byte[],
String, String)public X509AttributeCertificate newX509AttributeCertificate(byte[] attributeCertificate, String id, String encoding)
QualifyingPropertiesFactoryX509AttributeCertificate element with the given attribute
certificate.newX509AttributeCertificate in class QualifyingPropertiesFactoryattributeCertificate - a DER encoded attribute certificateid - an optional id-attribute value (may be
null)encoding - an optional encoding (may be null)X509AttributeCertificateQualifyingPropertiesFactory.newX509AttributeCertificate(byte[],
String, String)public OtherAttributeCertificate newOtherAttributeCertificate(List content)
QualifyingPropertiesFactoryOtherAttributeCertificate element with the specified list of
XMLStructures.newOtherAttributeCertificate in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)OtherAttributeCertificateQualifyingPropertiesFactory.newOtherAttributeCertificate(java.util.List)public CertifiedRoleV2 newCertifiedRoleV2(X509AttributeCertificate x509AttributeCertificate)
QualifyingPropertiesFactoryCertifiedRoleV2 object with the given X509AttributeCertificate.newCertifiedRoleV2 in class QualifyingPropertiesFactoryx509AttributeCertificate - a X509AttributeCertificateCertifiedRoleV2
throws NullPointerException
if x509AttributeCertificate is nullQualifyingPropertiesFactory.newCertifiedRoleV2(X509AttributeCertificate)public CertifiedRoleV2 newCertifiedRoleV2(OtherAttributeCertificate otherAttributeCertificate)
QualifyingPropertiesFactoryCertifiedRoleV2 object with the given OtherAttributeCertificate.newCertifiedRoleV2 in class QualifyingPropertiesFactoryotherAttributeCertificate - a OtherAttributeCertificateCertifiedRoleV2
throws NullPointerException
if x509AttributeCertificate is nullQualifyingPropertiesFactory.newCertifiedRoleV2(OtherAttributeCertificate)public SignedAssertion newSignedAssertion(List content)
QualifyingPropertiesFactorySignedAssertion element with the specified list of
XMLStructures.newSignedAssertion in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)SignedAssertionQualifyingPropertiesFactory.newSignedAssertion(java.util.List)public SignerRoleV2 newSignerRoleV2(List claimedRoles, List certifiedRoles, List signedAssertions)
QualifyingPropertiesFactorySignerRoleV2 property with the given claimed roles,
certified roles and or signed assertions.newSignerRoleV2 in class QualifyingPropertiesFactoryclaimedRoles - a list of ClaimedRoles (may be null but never
empty)certifiedRoles - a list of CertifiedRoleV2s (may be null but never
empty)signedAssertions - a list of SignedAssertions (may be null but never
empty)SignerRoleV2QualifyingPropertiesFactory.newSignerRoleV2(java.util.List, java.util.List, java.util.List)public DataObjectFormat newDataObjectFormat(String description, ObjectIdentifier objectIdentifier, String mimeType, String encoding, String objectReference)
QualifyingPropertiesFactoryDataObjectFormat property with the given
description, object identifier, MIME type, encoding and object refererence.newDataObjectFormat in class QualifyingPropertiesFactorydescription - 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 objectDataObjectFormatQualifyingPropertiesFactory.newDataObjectFormat(String,
ObjectIdentifier, String, String, String)public CommitmentTypeIndication newCommitmentTypeIndication(ObjectIdentifier commitmentTypeId, List objectReferences, List commitmentTypeQualifiers)
QualifyingPropertiesFactoryCommitmentTypeIndication 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 QualifyingPropertiesFactorycommitmentTypeId - the commitment type identifierobjectReferences - a list of Strings, 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 CommitmentTypeQualifiers (may be
null or empty)CommitmentTypeIndicationjava.util.List, java.util.List)public CommitmentTypeQualifier newCommitmentTypeQualifer(List content)
QualifyingPropertiesFactoryCommitmentTypeQualifier with the specified list of
XMLStructures.newCommitmentTypeQualifer in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)CommitmentTypeQualifierQualifyingPropertiesFactory.newCommitmentTypeQualifer(java.util.List)public Include newInclude(String uri, boolean referencedData)
QualifyingPropertiesFactoryInclude 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 QualifyingPropertiesFactoryuri - the URI referencereferencedData - the referencedData-attribute valueIncludeQualifyingPropertiesFactory.newInclude(java.lang.String,
boolean)public Include newInclude(String uri)
QualifyingPropertiesFactoryInclude 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 QualifyingPropertiesFactoryuri - the URI referenceIncludeQualifyingPropertiesFactory.newInclude(java.lang.String)public AllDataObjectsTimeStamp newAllDataObjectsTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryAllDataObjectsTimeStamp property with the
canonicalization method, id-attribute value and
id-attribute value of the time-stamp token.newAllDataObjectsTimeStamp in class QualifyingPropertiesFactoryincludes - the list of Includes. 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 tokenAllDataObjectsTimeStampQualifyingPropertiesFactory.newAllDataObjectsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public AllDataObjectsTimeStamp newAllDataObjectsTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryAllDataObjectsTimeStamp property with the
canonicalization method, id-attribute value and
id-attribute value of the time-stamp token.newAllDataObjectsTimeStamp in class QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenAllDataObjectsTimeStampQualifyingPropertiesFactory.newAllDataObjectsTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public IndividualDataObjectsTimeStamp newIndividualDataObjectsTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryIndividualDataObjectsTimeStamp property with the
specified list of Includes, 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenIndividualDataObjectsTimeStampQualifyingPropertiesFactory.newIndividualDataObjectsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public CounterSignature newCounterSignature(XMLSignature counterSignature)
QualifyingPropertiesFactoryCounterSignature property with the specified
signature.newCounterSignature in class QualifyingPropertiesFactorycounterSignature - the counter signatureCounterSignatureQualifyingPropertiesFactory.newCounterSignature(javax.xml.crypto.dsig.XMLSignature)public CounterSignature newCounterSignature(XMLSignature counterSignature, KeySelector keySelector)
QualifyingPropertiesFactoryCounterSignature property with the specified
signature.newCounterSignature in class QualifyingPropertiesFactorycounterSignature - the counter signaturekeySelector - a KeySelector for countersigning the signatureCounterSignatureQualifyingPropertiesFactory.newCounterSignature(XMLSignature,
KeySelector)public CounterSignature newCounterSignature(XMLSignature counterSignature, KeySelector keySelector, String id)
QualifyingPropertiesFactoryCounterSignature property with the specified
signature.newCounterSignature in class QualifyingPropertiesFactorycounterSignature - the counter signaturekeySelector - a KeySelector for countersigning the signatureid - the value of the Id attribute. Maybe nullCounterSignatureQualifyingPropertiesFactory.newCounterSignature(XMLSignature, KeySelector, String)public SignatureTimeStamp newSignatureTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactorySignatureTimeStamp property with the specified list
of Includes, canonicalization method, id-attribute
value and id-attribute value of the time-stamp token.newSignatureTimeStamp in class QualifyingPropertiesFactoryincludes - the list of Includes. 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 tokenSignatureTimeStampQualifyingPropertiesFactory.newSignatureTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public SignatureTimeStamp newSignatureTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactorySignatureTimeStamp property with the specified
canonicalization method, id-attribute value and
id-attribute value of the time-stamp token.newSignatureTimeStamp in class QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenSignatureTimeStampQualifyingPropertiesFactory.newSignatureTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public CompleteCertificateRefs newCompleteCertificateRefs(List certRefs, String id)
QualifyingPropertiesFactoryCompleteCertificateRefs property with the specified
list of CertIDs and the id-attribute value.newCompleteCertificateRefs in class QualifyingPropertiesFactorycertRefs - a list of CertIDsid - the id-attribute value (may be null)CeompleteCertificateRefs propertyQualifyingPropertiesFactory.newCompleteCertificateRefs(List,
String)public CompleteCertificateRefsV2 newCompleteCertificateRefsV2(List certRefs, String id)
QualifyingPropertiesFactoryCompleteCertificateRefsV2 with the given list of
CertIDV2s.newCompleteCertificateRefsV2 in class QualifyingPropertiesFactorycertRefs - a list of CertIDV2s (may not be null or empty)id - the id-attribute value (may be null)CompleteCertificateRefsV2QualifyingPropertiesFactory.newCompleteCertificateRefsV2(List, String)public CompleteRevocationRefs newCompleteRevocationRefs(List crlRefs, List ocspRefs, List otherRefs, String id)
QualifyingPropertiesFactoryCompleteRevocationRefs property with the specified
list of CRLRefs, list of OCSPRefs, list of OtherRef
s and the id-attribute value.newCompleteRevocationRefs in class QualifyingPropertiesFactorycrlRefs - a list of CRLRefs (may be null or empty)ocspRefs - a list of OCSPRefs (may be null or empty}otherRefs - a list of OtherRefs (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)
QualifyingPropertiesFactoryCRLRef element for the given CRL with the specified
digest algorithm and URI.newCRLRef in class QualifyingPropertiesFactoryx509CRL - the X509 CRLdigestMethod - the digest methoduri - the URI of a copy of the CRLCRLRefQualifyingPropertiesFactory.newCRLRef(iaik.xml.crypto.xades.CRLIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)public CRLRef newCRLRef(CRLIdentifier crlIdentifier, DigestAlgAndValue digestAlgAndValue)
QualifyingPropertiesFactoryCRLRef with the given CRL identifier and digest
value.newCRLRef in class QualifyingPropertiesFactorycrlIdentifier - the CRL identifierdigestAlgAndValue - the digest valueCRLRefQualifyingPropertiesFactory.newCRLRef(iaik.xml.crypto.xades.CRLIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)public CRLRef newCRLRef(CRLIdentifier crlIdentifier, DigestMethod digestMethod, InputStream digestInputStream)
QualifyingPropertiesFactoryCRLRef with the given CRL identifier, digest method,
and input for the digest computation.newCRLRef in class QualifyingPropertiesFactorycrlIdentifier - the CRL identifierdigestMethod - the digest methoddigestInputStream - the input for the digest computationCRLRefQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryCRLIdentifier with the given issuer name, issuer
time, CRL number and URI.newCRLIdentifier in class QualifyingPropertiesFactoryissuer - the issuer distinguished nameissuerTime - the issuer timenumber - the CRL numberuri - the URI of a copy of the CRL (may be null)CRLIdentifierQualifyingPropertiesFactory.newCRLIdentifier(java.lang.String,
java.util.Date, java.math.BigInteger, java.lang.String)public OCSPRef newOCSPRef(OCSPIdentifier ocspIdentifer, DigestAlgAndValue digestAlgAndValue)
QualifyingPropertiesFactoryOCSPRef with the given OCSP identifier and digest
value.newOCSPRef in class QualifyingPropertiesFactoryocspIdentifer - the OCSP identifierdigestAlgAndValue - the digest valueOCSPRefQualifyingPropertiesFactory.newOCSPRef(OCSPIdentifier,
DigestAlgAndValue)public OCSPRef newOCSPRef(byte[] ocspResponse, DigestMethod digestMethod, String uri)
QualifyingPropertiesFactoryOCSPRef with the given OCSP response, digest method
and URI.newOCSPRef in class QualifyingPropertiesFactoryocspResponse - the OCSP responsedigestMethod - the digest methoduri - the URI-attribute valueOCSPRefQualifyingPropertiesFactory.newOCSPRef(iaik.xml.crypto.xades.OCSPIdentifier,
iaik.xml.crypto.xades.DigestAlgAndValue)public OCSPRef newOCSPRef(OCSPIdentifier ocspIdentifier, DigestMethod digestMethod, InputStream digestInputStream)
QualifyingPropertiesFactoryOCSPRef with the given OCSP identifier, digest
method and input for the digest computation.newOCSPRef in class QualifyingPropertiesFactoryocspIdentifier - the OCSP identifierdigestMethod - the digest methoddigestInputStream - the input for the digest computationOCSPRefQualifyingPropertiesFactory.newOCSPRef(iaik.xml.crypto.xades.OCSPIdentifier,
javax.xml.crypto.dsig.DigestMethod, java.io.InputStream)public OCSPIdentifier newOCSPIdentifier(String responderId, Date producedAt, String uri)
QualifyingPropertiesFactoryOCSPIdentifier with the given responder ID,
producedAt date and URI.newOCSPIdentifier in class QualifyingPropertiesFactoryresponderId - the OCSP responder IDproducedAt - the producedAt dateuri - the value of the URI-attributeOCSPIdentifierQualifyingPropertiesFactory.newOCSPIdentifier(String,
Date, String)public OCSPIdentifier newOCSPIdentifier(byte[] publicKeyHash, Date producedAt, String uri)
QualifyingPropertiesFactoryOCSPIdentifier 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 QualifyingPropertiesFactorypublicKeyHash - the OCSP responder pubilcKeyHashproducedAt - the producedAt dateuri - the value of the URI-attributeOCSPIdentifierQualifyingPropertiesFactory.newOCSPIdentifier(byte[]
, java.util.Date, java.lang.String)public OtherRef newOtherRef(List content)
QualifyingPropertiesFactoryOtherRef element with the specified list of
XMLStructures.newOtherRef in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)OtherRefQualifyingPropertiesFactory.newOtherRef(java.util.List)public AttributeCertificateRefs newAttributeCertificateRefs(List certRefs, String id)
QualifyingPropertiesFactoryAttributeCertificateRefs property with the specified
list of CertIDs and the id-attribute value.newAttributeCertificateRefs in class QualifyingPropertiesFactorycertRefs - a list of CertIDsid - the id-attribute value (may be null)AttributeCertificateRefs propertyQualifyingPropertiesFactory.newAttributeCertificateRefs(java.util.List,
java.lang.String)public AttributeCertificateRefsV2 newAttributeCertificateRefsV2(List certRefs, String id)
QualifyingPropertiesFactoryAttributeCertificateRefsV2 with the given list of
CertIDV2s.newAttributeCertificateRefsV2 in class QualifyingPropertiesFactorycertRefs - a list of CertIDV2s (may not be null or empty)id - the id-attribute value (may be null)AttributeCertificateRefsV2QualifyingPropertiesFactory.newAttributeCertificateRefsV2(List, String)public AttributeRevocationRefs newAttributeRevocationRefs(List crlRefs, List ocspRefs, List otherRefs, String id)
QualifyingPropertiesFactoryAttributeRevocationRefs property with the specified
list of CRLRefs, list of OCSPRefs, list of OtherRef
s and the id-attribute value.newAttributeRevocationRefs in class QualifyingPropertiesFactorycrlRefs - a list of CRLRefs (may be null or empty)ocspRefs - a list of OCSPRefs (may be null or empty}otherRefs - a list of OtherRefs (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)
QualifyingPropertiesFactorySigAndRefsTimeStamp property with the specified list
of Includes, 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:SignatureValueSignatureTimeStamp 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenSigAndRefsTimeStampQualifyingPropertiesFactory.newSigAndRefsTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public SigAndRefsTimeStamp newSigAndRefsTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactorySigAndRefsTimeStamp 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:SignatureValueSignatureTimeStamp elementsCompleteCertificateRefs elementCompleteRevocationRefs elementAttributeCertificateRefs? element, if presentAttributeRevocationRefs? element, if presentUnsignedProperties element.newSigAndRefsTimeStamp in class QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenSigAndRefsTimeStampQualifyingPropertiesFactory.newSigAndRefsTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public SigAndRefsTimeStampV2 newSigAndRefsTimeStampV2(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactorySigAndRefsTimeStampV2 property with the specified list
of Includes, 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:SignatureValueSignatureTimeStamp 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenSigAndRefsTimeStampV2QualifyingPropertiesFactory.newSigAndRefsTimeStampV2(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public SigAndRefsTimeStampV2 newSigAndRefsTimeStampV2(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactorySigAndRefsTimeStampV2 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:SignatureValueSignatureTimeStamp elementsCompleteCertificateRefsV2 elementCompleteRevocationRefs elementAttributeCertificateRefsV2? element, if presentAttributeRevocationRefs? element, if presentUnsignedProperties element.newSigAndRefsTimeStampV2 in class QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenSigAndRefsTimeStampV2QualifyingPropertiesFactory.newSigAndRefsTimeStampV2(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public RefsOnlyTimeStamp newRefsOnlyTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryRefsOnlyTimeStamp property with the specified list
of Includes, 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenRefsOnlyTimeStampQualifyingPropertiesFactory.newRefsOnlyTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public RefsOnlyTimeStamp newRefsOnlyTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryRefsOnlyTimeStamp 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 QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenRefsOnlyTimeStampQualifyingPropertiesFactory.newRefsOnlyTimeStamp(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public RefsOnlyTimeStampV2 newRefsOnlyTimeStampV2(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryRefsOnlyTimeStampV2 property with the specified list
of Includes, 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenRefsOnlyTimeStampV2QualifyingPropertiesFactory.newRefsOnlyTimeStampV2(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public RefsOnlyTimeStampV2 newRefsOnlyTimeStampV2(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryRefsOnlyTimeStampV2 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 QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenRefsOnlyTimeStampV2QualifyingPropertiesFactory.newRefsOnlyTimeStampV2(javax.xml.crypto.dsig.CanonicalizationMethod,
java.lang.String, java.lang.String)public CertificateValues newCertificateValues(List certificates, String id)
QualifyingPropertiesFactoryCertificateValues property with the given list of
EncapsulatedX509Certificates and OtherCertificate and the
specified id-attribute value.newCertificateValues in class QualifyingPropertiesFactorycertificates - a list of EncapsulatedX509Certificates and
OtherCertificatesid - the id-attribute valueCertificateValues propertyQualifyingPropertiesFactory.newCertificateValues(java.util.List,
java.lang.String)public AttrAuthoritiesCertValues newAttrAuthoritiesCertValues(List certificates, String id)
QualifyingPropertiesFactoryAttrAuthoritiesCertValues property with the given
list of EncapsulatedX509Certificates and OtherCertificate
and the specified id-attribute value.newAttrAuthoritiesCertValues in class QualifyingPropertiesFactorycertificates - a list of EncapsulatedX509Certificates and
OtherCertificatesid - the id-attribute valueAttrAuthoritiesCertValues propertyQualifyingPropertiesFactory.newAttrAuthoritiesCertValues(java.util.List,
java.lang.String)public EncapsulatedX509Certificate newEncapsulatedX509Certificate(X509Certificate x509Certificate, String id, String encoding)
QualifyingPropertiesFactoryEncapsulatedX509Certificate with the given X509
certificate, id-attribute value and encoding.newEncapsulatedX509Certificate in class QualifyingPropertiesFactoryx509Certificate - the X509 certificateid - the id-attribute valueencoding - the encodingEncapsulatedX509CertificateQualifyingPropertiesFactory.newEncapsulatedX509Certificate(java.security.cert.X509Certificate,
java.lang.String, java.lang.String)public OtherCertificate newOtherCerificate(List content)
QualifyingPropertiesFactoryOtherCertificate element with the specified list of
XMLStructures.newOtherCerificate in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)OtherCertificateQualifyingPropertiesFactory.newOtherCerificate(java.util.List)public RevocationValues newRevocationValues(List crlValues, List ocspValues, List otherValues, String id)
QualifyingPropertiesFactoryRevocationValues property with the specified list of
EncapsulatedCRLValues, list of EncapsulatedOCSPValues, list
of OtherValues and id-attribute value.newRevocationValues in class QualifyingPropertiesFactorycrlValues - a list of EncapsulatedCRLValuesocspValues - a list of EncapsulatedOCSPValuesotherValues - a list of OtherValuesid - 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)
QualifyingPropertiesFactoryAttributeRevocationValues property with the
specified list of EncapsulatedCRLValues, list of
EncapsulatedOCSPValues, list of OtherValues and
id-attribute value.newAttributeRevocationValues in class QualifyingPropertiesFactorycrlValues - a list of EncapsulatedCRLValuesocspValues - a list of EncapsulatedOCSPValuesotherValues - a list of OtherValuesid - 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)
QualifyingPropertiesFactoryEncapsulatedCRLValue with the given X509 CRL,
id-attribute value and encoding.newEncapsulatedCRLValue in class QualifyingPropertiesFactoryx509crl - the X509 CRLid - the id-attribute valueencoding - the encodingEncapsulatedCRLValueQualifyingPropertiesFactory.newEncapsulatedCRLValue(java.security.cert.X509CRL,
java.lang.String, java.lang.String)public EncapsulatedOCSPValue newEncapsulatedOCSPValue(byte[] ocspResponse, String id, String encoding)
QualifyingPropertiesFactoryEncapsulatedOCSPValue with the given OCSP response,
id-attribute value and encoding.newEncapsulatedOCSPValue in class QualifyingPropertiesFactoryocspResponse - the DER encoded OCSP responseid - the id-attribute valueencoding - the encodingEncapsulatedOCSPValueQualifyingPropertiesFactory.newEncapsulatedOCSPValue(byte[],
java.lang.String, java.lang.String)public OtherValue newOtherValue(List content)
QualifyingPropertiesFactoryOtherValue element with the specified list of
XMLStructures.newOtherValue in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)OtherValueQualifyingPropertiesFactory.newOtherValue(java.util.List)public ArchiveTimeStamp newArchiveTimeStamp(List includes, CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryArchiveTimeStamp property with the specified list of
Includes, 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 QualifyingPropertiesFactoryincludes - the list of Includes. If null, the implicit
mechanism is used.canonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenArchiveTimeStampQualifyingPropertiesFactory.newArchiveTimeStamp(java.util.List,
javax.xml.crypto.dsig.CanonicalizationMethod, java.lang.String,
java.lang.String)public ArchiveTimeStamp newArchiveTimeStamp(CanonicalizationMethod canonicalizationMethod, String id, String tokenId)
QualifyingPropertiesFactoryArchiveTimeStamp 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 QualifyingPropertiesFactorycanonicalizationMethod - the canonicalization methodid - the id-attribute valuetokenId - the id-attribute value of the time-stamp tokenArchiveTimeStampQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryDigestAlgAndValue element with the given digest
method and digest value.newDigestAlgAndValue in class QualifyingPropertiesFactorydigestMethod - the digest methoddigestValue - the digest valueDigestAlgAndValue elementQualifyingPropertiesFactory.newDigestAlgAndValue(javax.xml.crypto.dsig.DigestMethod,
byte[])public RecomputedDigestValue newRecomputedDigestValue(int order, byte[] digestValue)
QualifyingPropertiesFactoryRecomputedDigestValue with te given order and digest value.
newRecomputedDigestValue in class QualifyingPropertiesFactoryorder - 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)
QualifyingPropertiesFactoryRenewedDigests 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 QualifyingPropertiesFactorydigestMethod - 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)
QualifyingPropertiesFactoryRenewedDigests with te given digest method, list of RecomputedDigestValues 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 QualifyingPropertiesFactorydigestMethod - 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)
QualifyingPropertiesFactoryUnsignedDataObjectProperty with the specified list
of XMLStructures.newUnsignedDataObjectProperty in class QualifyingPropertiesFactorycontent - a list of XMLStructures (may be
null or empty)UnsignedDataObjectPropertyQualifyingPropertiesFactory.newUnsignedDataObjectProperty(java.util.List)public QualifyingProperties newQualifyingProperties(SignedProperties signedProperties, UnsignedProperties unsignedProperties, String target, String id) throws NullPointerException
QualifyingPropertiesFactoryQualifyingProperties with the specified signed
properties, unsigned properties, target-attribute value and
id-attribute value.newQualifyingProperties in class QualifyingPropertiesFactorysignedProperties - the signed propertiesunsignedProperties - the unsigned propertiestarget - the URI reference referencing the ds:Signature
qualified by this QualifyingPropertiesid - the id-attribute value (may be null)QualifyingPropertiesNullPointerException - if singedProperties, unsignedProperties
or target is nullQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryQualifyingProperties with the specified signed
properties, target-attribute value and id
-attribute value.newQualifyingProperties in class QualifyingPropertiesFactorysignedProperties - the signed propertiestarget - the URI reference referencing the ds:Signature
qualified by this QualifyingPropertiesid - the id-attribute value (may be null)QualifyingPropertiesQualifyingPropertiesFactory.newQualifyingProperties(iaik.xml.crypto.xades.SignedProperties,
java.lang.String, java.lang.String)public SignedProperties newSignedProperties(SignedSignatureProperties signedSignatureProperties, SignedDataObjectProperties signedDataObjectProperties, String id)
QualifyingPropertiesFactorySignedProperties with the specified signed signature
properties, signed data object properties and id-attribute
value.newSignedProperties in class QualifyingPropertiesFactorysignedSignatureProperties - 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)
QualifyingPropertiesFactoryUnsignedProperties with the specified unsigned
signature properties, unsigned data object properties and id
-attribute value.newUnsignedProperties in class QualifyingPropertiesFactoryunsignedSignatureProperties - 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 nullQualifyingPropertiesFactory.newUnsignedProperties(UnsignedSignatureProperties,
UnsignedDataObjectProperties, String)public SignedSignatureProperties newSignedSignatureProperties(SigningTime signingTime, SigningCertificate signingCertificate, SignaturePolicyIdentifier signaturePolicyIdentifier, SignatureProductionPlace signatureProductionPlace, SignerRole signerRole, String id)
QualifyingPropertiesFactorySignedSignatureProperties with the specified signing
time, signing certificate, signature policy identifier, signature
production place, signer role and id-attribute value.newSignedSignatureProperties in class QualifyingPropertiesFactorysigningTime - 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)SignedSignaturePropertiesQualifyingPropertiesFactory.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)
QualifyingPropertiesFactorySignedSignatureProperties with the specified signing
time, signing certificate, signature policy identifier, signature
production place, signer role and id-attribute value.newSignedSignatureProperties in class QualifyingPropertiesFactorysigningTime - 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)SignedSignaturePropertiesQualifyingPropertiesFactory.newSignedSignatureProperties(
SigningTime, SigningCertificateV2, SignaturePolicyIdentifier, SignatureProductionPlaceV2, SignerRoleV2, String)public SignedDataObjectProperties newSignedDataObjectProperties(List dataObjectFormats, List commitmentTypeIndications, List allDataObjectsTimeStamps, List individualDataObjectsTimeStamps, String id)
QualifyingPropertiesFactorySignedDataObjectProperties containing the specified
list of DataObjectFormats, list of CommitmentTypeIndication
s, list of AllDataObjectsTimeStamps, list of
IndividualDataObjectsTimeStamps and id-attribute
value.newSignedDataObjectProperties in class QualifyingPropertiesFactorydataObjectFormats - a list of DataObjectFormats. The list defensively copied to
protect against subsequent modification. May be null or
empty.commitmentTypeIndications - a list of CommitmentTypeIndications. The list defensively
copied to protect against subsequent modification. May be
null or empty.allDataObjectsTimeStamps - a list of AllDataObjectsTimeStamps. The list defensively
copied to protect against subsequent modification. May be
null or empty.individualDataObjectsTimeStamps - a list of IndividualDataObjectsTimeStamps. The list
defensively copied to protect against subsequent modification. May
be null or empty.id - the id-attribute value (may be null)SignedDataObjectPropertiesQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryUnsignedSignatureProperties element with the given
list of CounterSignatures, list of SignatureTimeStamps,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamps and RefsOnlyTimeStamps, certificate
values, revocation values and id-attribute value.newUnsignedSignatureProperties in class QualifyingPropertiesFactorycounterSignatures - a list of CounterSignatures (may be null but
never empty)signatureTimeStamps - a list of SignatureTimeStamps (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 SigAndRefsTimeStamps 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 ArchiveTimeStamps (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)
QualifyingPropertiesFactoryUnsignedSignatureProperties element with the given
list of CounterSignatures, list of SignatureTimeStamps,
complete certificate references, complete revocation references, attribute
certificate references, attribute revocation references, list of
SigAndRefsTimeStamps and RefsOnlyTimeStamps, certificate
values, revocation values and id-attribute value.newUnsignedSignatureProperties in class QualifyingPropertiesFactorycounterSignatures - a list of CounterSignatures (may be null but
never empty)signatureTimeStamps - a list of SignatureTimeStamps (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 SigAndRefsTimeStamps 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 ArchiveTimeStamps (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)
QualifyingPropertiesFactoryUnsignedSignatureProperties element with the given
list of CounterSignatures and id-attribute value.newUnsignedSignatureProperties in class QualifyingPropertiesFactorycounterSignatures - a list of CounterSignatures (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)
QualifyingPropertiesFactoryUnsignedDataObjectProperties element with the given
list of UnsignedDataObjectProperty elements.newUnsignedDataObjectProperties in class QualifyingPropertiesFactoryunsignedDataObjectProperties - a list of UnsignedDataObjectPropertysid - the id-attribute valueUnsignedDataObjectProperties elementQualifyingPropertiesFactory.newUnsignedDataObjectProperties(java.util.List,
java.lang.String)public QualifyingPropertiesReference newQualifyingPropertiesReference(String uri, List transforms, String id)
QualifyingPropertiesFactoryQualifyingPropertiesReference element with the given
URI, list of Transforms and id
-attribute value.newQualifyingPropertiesReference in class QualifyingPropertiesFactoryuri - the URI referencetransforms - a list of Transforms (may be
null)id - the id-attribute valueQualifyingPropertiesReferenceQualifyingPropertiesFactory.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)
QualifyingPropertiesFactoryTimeStampValidationData property with the given list
of EncapsulatedX509Certificates, OtherCertificate list of
EncapsulatedCRLValues, list of EncapsulatedOCSPValues, list
of OtherValues and the specified id-attribute value.newTimeStampValidationData in class QualifyingPropertiesFactorycertificates - a list of EncapsulatedX509Certificates and
OtherCertificatescrlValues - a list of EncapsulatedCRLValuesocspValues - a list of EncapsulatedOCSPValuesotherValues - a list of OtherValuesid - 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)
QualifyingPropertiesFactoryTimeStampValidationData property with the givennewTimeStampValidationData in class QualifyingPropertiesFactoryuri - 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