Class RemoteBLevelParameters
- java.lang.Object
-
- eu.europa.esig.dss.ws.signature.dto.parameters.RemoteBLevelParameters
-
- All Implemented Interfaces:
Serializable
public class RemoteBLevelParameters extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteBLevelParameters()
-
Method Summary
Modifier and Type Method Description voidaddSignerLocationPostalAddress(String addressItem)Adds an address item to the complete address.booleanequals(Object obj)List<String>getClaimedSignerRoles()Get claimed rolesList<String>getCommitmentTypeIndications()Get the commitment type indicationsStringgetPolicyDescription()Get the signature policy descriptionDigestAlgorithmgetPolicyDigestAlgorithm()Return the hash algorithm for the signature policybyte[]getPolicyDigestValue()Get the hash value of the explicit signature policyStringgetPolicyId()Get the signature policy (EPES)StringgetPolicyQualifier()Get the identifier qualifierStringgetPolicySpuri()Get the SP URI (signature policy URI)StringgetSignerLocationCountry()StringgetSignerLocationLocality()List<String>getSignerLocationPostalAddress()StringgetSignerLocationPostalCode()StringgetSignerLocationStateOrProvince()StringgetSignerLocationStreet()DategetSigningDate()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)voidsetPolicyDescription(String description)Set the signature policy descriptionvoidsetPolicyDigestAlgorithm(DigestAlgorithm digestAlgorithm)Set the hash algorithm for the explicit signature policyvoidsetPolicyDigestValue(byte[] digestValue)Set the hash value of implicit signature policyvoidsetPolicyId(String id)Set the signature policy (EPES)voidsetPolicyQualifier(String qualifier)Set the identifier qualifiervoidsetPolicySpuri(String spuri)Set the SP URI (signature policy URI)voidsetSignerLocationCountry(String country)voidsetSignerLocationLocality(String locality)voidsetSignerLocationPostalAddress(List<String> postalAddress)voidsetSignerLocationPostalCode(String postalCode)voidsetSignerLocationStateOrProvince(String stateOrProvince)voidsetSignerLocationStreet(String street)voidsetSigningDate(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
-
getPolicyId
public String getPolicyId()
Get the signature policy (EPES)- Returns:
- the policy id
-
setPolicyId
public void setPolicyId(String id)
Set the signature policy (EPES)- Parameters:
id- the policy id
-
getPolicyQualifier
public String getPolicyQualifier()
Get the identifier qualifier- Returns:
- the qualifier
-
setPolicyQualifier
public void setPolicyQualifier(String qualifier)
Set the identifier qualifier- Parameters:
qualifier- the qualifier
-
getPolicyDescription
public String getPolicyDescription()
Get the signature policy description- Returns:
- the signature policy description
-
setPolicyDescription
public void setPolicyDescription(String description)
Set the signature policy description- Parameters:
description- the policy description
-
getPolicyDigestAlgorithm
public DigestAlgorithm getPolicyDigestAlgorithm()
Return the hash algorithm for the signature policy- Returns:
- the used digest algorithm for the policy
-
setPolicyDigestAlgorithm
public void setPolicyDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the hash algorithm for the explicit signature policy- Parameters:
digestAlgorithm- the used digest algorithm for the policy
-
getPolicyDigestValue
public byte[] getPolicyDigestValue()
Get the hash value of the explicit signature policy- Returns:
- the digest value for the policy
-
setPolicyDigestValue
public void setPolicyDigestValue(byte[] digestValue)
Set the hash value of implicit signature policy- Parameters:
digestValue- the digest of the policy
-
getPolicySpuri
public String getPolicySpuri()
Get the SP URI (signature policy URI)- Returns:
- the signature policy URI
-
setPolicySpuri
public void setPolicySpuri(String spuri)
Set the SP URI (signature policy URI)- Parameters:
spuri- the signature policy URI
-
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
-
getSignerLocationCountry
public String getSignerLocationCountry()
-
setSignerLocationCountry
public void setSignerLocationCountry(String country)
-
getSignerLocationLocality
public String getSignerLocationLocality()
-
setSignerLocationLocality
public void setSignerLocationLocality(String locality)
-
setSignerLocationPostalAddress
public void setSignerLocationPostalAddress(List<String> postalAddress)
-
getSignerLocationPostalCode
public String getSignerLocationPostalCode()
-
setSignerLocationPostalCode
public void setSignerLocationPostalCode(String postalCode)
-
getSignerLocationStateOrProvince
public String getSignerLocationStateOrProvince()
-
setSignerLocationStateOrProvince
public void setSignerLocationStateOrProvince(String stateOrProvince)
-
getSignerLocationStreet
public String getSignerLocationStreet()
-
setSignerLocationStreet
public void setSignerLocationStreet(String street)
-
addSignerLocationPostalAddress
public void addSignerLocationPostalAddress(String addressItem)
Adds an address item to the complete address.- Parameters:
addressItem- an address line
-
-