Package eu.europa.esig.dss.model
Class BLevelParameters
- java.lang.Object
-
- eu.europa.esig.dss.model.BLevelParameters
-
- All Implemented Interfaces:
Serializable
public class BLevelParameters extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BLevelParameters()
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)List<String>getClaimedSignerRoles()Get claimed rolesList<String>getCommitmentTypeIndications()Get the commitment type indicationsPolicygetSignaturePolicy()Get the signature policySignerLocationgetSignerLocation()Get the signer locationDategetSigningDate()Get the signing dateinthashCode()booleanisTrustAnchorBPPolicy()voidsetClaimedSignerRoles(List<String> claimedSignerRoles)Set a list of claimed signer rolesvoidsetCommitmentTypeIndications(List<String> commitmentTypeIndications)Set the commitment type indications (predefined values are available inCommitmentType)voidsetSignaturePolicy(Policy signaturePolicy)This setter allows to indicate the signature policy to use.voidsetSignerLocation(SignerLocation signerLocation)Set the signer locationvoidsetSigningDate(Date signingDate)Set the signing datevoidsetTrustAnchorBPPolicy(boolean trustAnchorBPPolicy)Allows to set the trust anchor policy to use when creating -B and -LT levels.StringtoString()
-
-
-
Method Detail
-
isTrustAnchorBPPolicy
public boolean isTrustAnchorBPPolicy()
- Returns:
- indicates the trust anchor policy shall be used when creating -B and -LT levels
-
setTrustAnchorBPPolicy
public void setTrustAnchorBPPolicy(boolean trustAnchorBPPolicy)
Allows to set the trust anchor policy to use when creating -B and -LT levels. NOTE: when trust anchor baseline profile policy is defined only the certificates previous to the trust anchor are included when building -B level.- Parameters:
trustAnchorBPPolicy-boolean
-
getSignaturePolicy
public Policy getSignaturePolicy()
Get the signature policy- Returns:
- the signature policy to use during the signature creation process
-
setSignaturePolicy
public void setSignaturePolicy(Policy signaturePolicy)
This setter allows to indicate the signature policy to use.- Parameters:
signaturePolicy- signature policy to use
-
getSigningDate
public Date getSigningDate()
Get the signing date- Returns:
- the signing date
-
setSigningDate
public void setSigningDate(Date signingDate)
Set the signing date- Parameters:
signingDate- the signing date
-
setClaimedSignerRoles
public void setClaimedSignerRoles(List<String> claimedSignerRoles)
Set a list of claimed signer roles- Parameters:
claimedSignerRoles- a list of claimed signer roles
-
getClaimedSignerRoles
public List<String> getClaimedSignerRoles()
Get claimed roles- Returns:
- the list of claimed roles
-
getCommitmentTypeIndications
public List<String> getCommitmentTypeIndications()
Get the commitment type indications- Returns:
- the list of commitment type indications
-
setCommitmentTypeIndications
public void setCommitmentTypeIndications(List<String> commitmentTypeIndications)
Set the commitment type indications (predefined values are available inCommitmentType)- Parameters:
commitmentTypeIndications- a list of commitment type indications
-
getSignerLocation
public SignerLocation getSignerLocation()
Get the signer location- Returns:
- the location
-
setSignerLocation
public void setSignerLocation(SignerLocation signerLocation)
Set the signer location- Parameters:
signerLocation- the location to set
-
-