Class CAdESLevelBaselineB
java.lang.Object
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineB
public class CAdESLevelBaselineB extends Object
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
Constructors Constructor Description CAdESLevelBaselineB()
The default constructor for CAdESLevelBaselineB.CAdESLevelBaselineB(boolean padesUsage)
The constructor for CAdESLevelBaselineB with apadesUsage
indication -
Method Summary
Modifier and Type Method Description org.bouncycastle.asn1.cms.AttributeTable
getSignedAttributes(CAdESSignatureParameters parameters)
Generates and returns a Signed Attributes Tableorg.bouncycastle.asn1.cms.AttributeTable
getUnsignedAttributes()
Return 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 apadesUsage
indication- Parameters:
padesUsage
- defines if the CMS signature shall be created a PAdES
-
-
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:
AttributeTable
representing the signed attributes
-