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 void
addSignerLocationPostalAddress(String addressItem)
Adds an address item to the complete address.boolean
equals(Object obj)
List<String>
getClaimedSignerRoles()
Get claimed rolesList<CommitmentTypeEnum>
getCommitmentTypeIndications()
Get the commitment type indicationsString
getPolicyDescription()
Get the signature policy descriptionDigestAlgorithm
getPolicyDigestAlgorithm()
Return the hash algorithm for the signature policybyte[]
getPolicyDigestValue()
Get the hash value of the explicit signature policyString
getPolicyId()
Get the signature policy (EPES)ObjectIdentifierQualifier
getPolicyQualifier()
Get the identifier qualifierString
getPolicySpuri()
Get the SP URI (signature policy URI)String
getSignerLocationCountry()
String
getSignerLocationLocality()
List<String>
getSignerLocationPostalAddress()
String
getSignerLocationPostalCode()
String
getSignerLocationStateOrProvince()
String
getSignerLocationStreet()
Date
getSigningDate()
Get the signing dateint
hashCode()
boolean
isTrustAnchorBPPolicy()
void
setClaimedSignerRoles(List<String> claimedSignerRoles)
Set a list of claimed signer rolesvoid
setCommitmentTypeIndications(List<CommitmentTypeEnum> commitmentTypeIndications)
Set the commitment type indicationsCommitmentTypeEnum
void
setPolicyDescription(String description)
Set the signature policy descriptionvoid
setPolicyDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the hash algorithm for the explicit signature policyvoid
setPolicyDigestValue(byte[] digestValue)
Set the hash value of implicit signature policyvoid
setPolicyId(String id)
Set the signature policy (EPES)void
setPolicyQualifier(ObjectIdentifierQualifier qualifier)
Set the identifier qualifiervoid
setPolicySpuri(String spuri)
Set the SP URI (signature policy URI)void
setSignerLocationCountry(String country)
void
setSignerLocationLocality(String locality)
void
setSignerLocationPostalAddress(List<String> postalAddress)
void
setSignerLocationPostalCode(String postalCode)
void
setSignerLocationStateOrProvince(String stateOrProvince)
void
setSignerLocationStreet(String street)
void
setSigningDate(Date signingDate)
Set the signing datevoid
setTrustAnchorBPPolicy(boolean trustAnchorBPPolicy)
Allows to set the trust anchor policy to use when creating -B and -LT levels.String
toString()
-
Constructor Details
-
RemoteBLevelParameters
public RemoteBLevelParameters()
-
-
Method Details
-
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
Get the signature policy (EPES)- Returns:
- the policy id
-
setPolicyId
Set the signature policy (EPES)- Parameters:
id
- the policy id
-
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
Get the signing date- Returns:
- the signing date
-
setSigningDate
Set the signing date- Parameters:
signingDate
- the signing date
-
setClaimedSignerRoles
Set a list of claimed signer roles- Parameters:
claimedSignerRoles
- a list of claimed signer roles
-
getClaimedSignerRoles
Get claimed roles- Returns:
- the list of claimed roles
-
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
public int hashCode() -
equals
-
toString
-