Class RemoteBLevelParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteBLevelParameters
- All Implemented Interfaces:
Serializable
The common parameters used for a b-level signature creation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSignerLocationPostalAddress(String addressItem) Adds an address item to the complete address.booleanGet claimed rolesGet the commitment type indicationsGet the signature policy descriptionReturn the hash algorithm for the signature policybyte[]Get the hash value of the explicit signature policyGet the signature policy (EPES)Get the identifier qualifierGet the SP URI (signature policy URI)Gets signed assertionsGets the signer location countryGets the signer location locality (city)Gets the signer location postal addressGets the signer location postal codeGets the signer location state or provinceGets the signer location streetGet the signing dateinthashCode()booleanGets if the trust anchor policy is used for -B and -LT levelsvoidsetClaimedSignerRoles(List<String> claimedSignerRoles) Set a list of claimed signer rolesvoidsetCommitmentTypeIndications(List<CommitmentTypeEnum> commitmentTypeIndications) Set the commitment type indicationsCommitmentTypeEnumvoidsetPolicyDescription(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(ObjectIdentifierQualifier qualifier) Set the identifier qualifiervoidsetPolicySpuri(String spuri) Set the SP URI (signature policy URI)voidsetSignedAssertions(List<String> signedAssertions) Sets signed assertionsvoidsetSignerLocationCountry(String country) Sets the signer location countryvoidsetSignerLocationLocality(String locality) Sets the signer location locality (city)voidsetSignerLocationPostalAddress(List<String> postalAddress) Sets the signer location postal addressvoidsetSignerLocationPostalCode(String postalCode) Sets the signer location postal codevoidsetSignerLocationStateOrProvince(String stateOrProvince) Sets the signer location state or provincevoidsetSignerLocationStreet(String street) Sets the signer location streetvoidsetSigningDate(Date signingDate) Set the signing datevoidsetTrustAnchorBPPolicy(boolean trustAnchorBPPolicy) Allows to set the trust anchor policy to use when creating -B and -LT levels.toString()
-
Constructor Details
-
RemoteBLevelParameters
public RemoteBLevelParameters()Default constructor
-
-
Method Details
-
isTrustAnchorBPPolicy
public boolean isTrustAnchorBPPolicy()Gets if the trust anchor policy is used for -B and -LT levels- 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
-
setPolicyId
-
getPolicyQualifier
Get the identifier qualifier- Returns:
- the qualifier
-
setPolicyQualifier
Set the identifier qualifier- Parameters:
qualifier- the qualifier
-
getPolicyDescription
Get the signature policy description- Returns:
- the signature policy description
-
setPolicyDescription
Set the signature policy description- Parameters:
description- the policy description
-
getPolicyDigestAlgorithm
Return the hash algorithm for the signature policy- Returns:
- the used digest algorithm for the policy
-
setPolicyDigestAlgorithm
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
Get the SP URI (signature policy URI)- Returns:
- the signature policy URI
-
setPolicySpuri
Set the SP URI (signature policy URI)- Parameters:
spuri- the signature policy URI
-
getSigningDate
-
setSigningDate
Set the signing date- Parameters:
signingDate- the signing date
-
getClaimedSignerRoles
-
setClaimedSignerRoles
-
getSignedAssertions
-
setSignedAssertions
-
getCommitmentTypeIndications
Get the commitment type indications- Returns:
- the list of commitment type indications
-
setCommitmentTypeIndications
Set the commitment type indicationsCommitmentTypeEnum- Parameters:
commitmentTypeIndications- a list of commitment type indications
-
getSignerLocationCountry
-
setSignerLocationCountry
-
getSignerLocationLocality
-
setSignerLocationLocality
-
getSignerLocationPostalAddress
-
setSignerLocationPostalAddress
-
getSignerLocationPostalCode
-
setSignerLocationPostalCode
-
getSignerLocationStateOrProvince
-
setSignerLocationStateOrProvince
-
getSignerLocationStreet
-
setSignerLocationStreet
-
addSignerLocationPostalAddress
Adds an address item to the complete address.- Parameters:
addressItem- an address line
-
hashCode
-
equals
-
toString
-