Class BLevelXAdESImpl
java.lang.Object
es.uji.crypto.xades.jxades.security.xml.XAdES.BaseXAdESImpl
es.uji.crypto.xades.jxades.security.xml.XAdES.BLevelXAdESImpl
- All Implemented Interfaces:
XAdES_B_Level
,XAdESBase
,XadesWithBaselineAttributes
,XadesWithExplicitPolicy
- Direct Known Subclasses:
TLevelXAdESImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Document
private final Element
protected TreeMap
<XAdES.Element, Object> private QualifyingProperties
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QualifyingProperties
protected SignedDataObjectProperties
protected SignedSignatureProperties
protected UnsignedSignatureProperties
protected XAdES
protected void
marshalQualifyingProperties
(QualifyingProperties qp, String signatureIdPrefix, List referencesIdList) void
setAllDataObjectsTimeStamps
(List<AllDataObjectsTimeStamp> allDataObjectsTimeStamps) void
setCommitmentTypeIndications
(List<CommitmentTypeIndication> commitmentTypeIndications) void
setCounterSignatures
(List<CounterSignature> counterSignatures) void
setDataObjectFormats
(List<DataObjectFormat> dataObjectFormats) void
setIndividualDataObjectsTimeStamps
(List<IndividualDataObjectsTimeStamp> individualDataObjectsTimeStamps) void
setSignaturePolicyIdentifier
(SignaturePolicyIdentifier signaturePolicyIdentifier) void
setSignatureProductionPlaceV2
(SignatureProductionPlaceV2 productionPlace) Set the production place.void
void
setSignerRoleV2
(SignerRoleV2 signerRole) Set the signer roles.void
setSigningCertificateV2
(X509Certificate signingCertificate, SigningCertificateV2Info additionalInfo) Set the signing certificate.void
setSigningTime
(Date signingTime)
-
Field Details
-
readOnlyMode
protected boolean readOnlyMode -
data
-
baseElement
-
baseDocument
-
qualifyingProperties
-
xadesPrefix
-
xadesNamespace
-
xmlSignaturePrefix
-
digestMethod
-
-
Constructor Details
-
BLevelXAdESImpl
-
-
Method Details
-
getBaseDocument
- Specified by:
getBaseDocument
in interfaceXAdESBase
-
getBaseElement
- Specified by:
getBaseElement
in interfaceXAdESBase
-
getDigestMethod
- Specified by:
getDigestMethod
in interfaceXAdESBase
-
getSigningTime
- Specified by:
getSigningTime
in interfaceXAdESBase
-
getSigningCertificateV2
- Specified by:
getSigningCertificateV2
in interfaceXadesWithBaselineAttributes
-
getSignatureProductionPlaceV2
- Specified by:
getSignatureProductionPlaceV2
in interfaceXadesWithBaselineAttributes
-
getSignerRoleV2
- Specified by:
getSignerRoleV2
in interfaceXadesWithBaselineAttributes
-
getSigner
-
getDataObjectFormats
- Specified by:
getDataObjectFormats
in interfaceXAdESBase
-
getCommitmentTypeIndications
- Specified by:
getCommitmentTypeIndications
in interfaceXAdESBase
-
getAllDataObjectsTimeStamps
- Specified by:
getAllDataObjectsTimeStamps
in interfaceXAdESBase
-
getIndividualDataObjectsTimeStamps
- Specified by:
getIndividualDataObjectsTimeStamps
in interfaceXAdESBase
-
getCounterSignatures
- Specified by:
getCounterSignatures
in interfaceXAdESBase
-
setSigningTime
- Specified by:
setSigningTime
in interfaceXAdESBase
-
setSigningCertificateV2
public void setSigningCertificateV2(X509Certificate signingCertificate, SigningCertificateV2Info additionalInfo) Description copied from interface:XadesWithBaselineAttributes
Set the signing certificate.- Specified by:
setSigningCertificateV2
in interfaceXadesWithBaselineAttributes
- Parameters:
signingCertificate
- Signing certificate information.
-
setSignatureProductionPlaceV2
Description copied from interface:XadesWithBaselineAttributes
Set the production place.- Specified by:
setSignatureProductionPlaceV2
in interfaceXadesWithBaselineAttributes
- Parameters:
productionPlace
- Production place information.
-
setSignerRoleV2
Description copied from interface:XadesWithBaselineAttributes
Set the signer roles.- Specified by:
setSignerRoleV2
in interfaceXadesWithBaselineAttributes
- Parameters:
signerRole
- Signer's Roles.
-
setSigner
-
setDataObjectFormats
- Specified by:
setDataObjectFormats
in interfaceXAdESBase
-
setCommitmentTypeIndications
- Specified by:
setCommitmentTypeIndications
in interfaceXAdESBase
-
setAllDataObjectsTimeStamps
- Specified by:
setAllDataObjectsTimeStamps
in interfaceXAdESBase
-
setIndividualDataObjectsTimeStamps
public void setIndividualDataObjectsTimeStamps(List<IndividualDataObjectsTimeStamp> individualDataObjectsTimeStamps) - Specified by:
setIndividualDataObjectsTimeStamps
in interfaceXAdESBase
-
setCounterSignatures
- Specified by:
setCounterSignatures
in interfaceXAdESBase
-
getXAdESType
-
getQualifyingProperties
-
getSignedSignatureProperties
-
getSignedDataObjectProperties
-
getUnsignedSignatureProperties
-
marshalQualifyingProperties
protected void marshalQualifyingProperties(QualifyingProperties qp, String signatureIdPrefix, List referencesIdList) throws MarshalException - Specified by:
marshalQualifyingProperties
in classBaseXAdESImpl
- Throws:
MarshalException
-
getXadesPrefix
- Specified by:
getXadesPrefix
in interfaceXAdESBase
-
getXmlSignaturePrefix
- Specified by:
getXmlSignaturePrefix
in interfaceXAdESBase
-
getXadesNamespace
- Specified by:
getXadesNamespace
in interfaceXAdESBase
-
setSignaturePolicyIdentifier
- Specified by:
setSignaturePolicyIdentifier
in interfaceXadesWithExplicitPolicy
-
getSignaturePolicyIdentifier
- Specified by:
getSignaturePolicyIdentifier
in interfaceXadesWithExplicitPolicy
-