Class CAdESLevelBaselineB
java.lang.Object
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineB
This class holds the CAdES-B signature profile; it supports the inclusion of the mandatory signed
id_aa_ets_sigPolicyId attribute as specified in ETSI TS 101 733 V1.8.1, clause 5.8.1.
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor for CAdESLevelBaselineB.CAdESLevelBaselineB(boolean padesUsage) The constructor for CAdESLevelBaselineB with apadesUsageindicationCAdESLevelBaselineB(DSSDocument documentToSign) The constructor for CAdESLevelBaselineB with adocumentToSign -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.cms.AttributeTablegetSignedAttributes(CAdESSignatureParameters parameters) Generates and returns a Signed Attributes Tableorg.bouncycastle.asn1.cms.AttributeTableReturn the table of unsigned properties.
-
Constructor Details
-
CAdESLevelBaselineB
public CAdESLevelBaselineB()The default constructor for CAdESLevelBaselineB. -
CAdESLevelBaselineB
public CAdESLevelBaselineB(boolean padesUsage) The constructor for CAdESLevelBaselineB with apadesUsageindication- Parameters:
padesUsage- defines if the CMS signature shall be created a PAdES
-
CAdESLevelBaselineB
The constructor for CAdESLevelBaselineB with adocumentToSign- Parameters:
documentToSign-DSSDocumentdocument to be signed
-
-
Method Details
-
getUnsignedAttributes
public org.bouncycastle.asn1.cms.AttributeTable getUnsignedAttributes()Return the table of unsigned properties.- Returns:
AttributeTable
-
getSignedAttributes
public org.bouncycastle.asn1.cms.AttributeTable getSignedAttributes(CAdESSignatureParameters parameters) Generates and returns a Signed Attributes Table- Parameters:
parameters-CAdESSignatureParameters- Returns:
AttributeTablerepresenting the signed attributes
-