Class RemoteTrustedListSignatureParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTrustedListSignatureParameters
- All Implemented Interfaces:
Serializable
DTO used to define customizable parameters for a Trusted List signing
NOTE : other basic parameters are pre-configured for a Trusted List signing
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets bLevel parametersGets a digest algorithm used on signingGets the encryption algorithm used by the signing-certificateGets aDigestAlgorithmto be used on an enveloped-signature reference creationGets an Id of an enveloped-signature referenceGets the signing certificateGets the XML Trusted List Version identifier to be signedvoidsetBLevelParameters(RemoteBLevelParameters bLevelParameters) Sets bLevel parameters (e.g. claimed signing time, etc.)voidsetDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets a digest algorithm used on signingvoidsetEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm) Sets the encryption algorithm used by the signing-certificatevoidsetReferenceDigestAlgorithm(DigestAlgorithm referenceDigestAlgorithm) Sets aDigestAlgorithmto be used on an enveloped-signature reference creationvoidsetReferenceId(String referenceId) Sets a custom if for an enveloped-reference creation NOTE: if not set, a default value will be usedvoidsetSigningCertificate(RemoteCertificate signingCertificate) Sets the signing certificatevoidsetTlVersion(String tlVersion) Sets the XML Trusted List Version identifier to be signed.
-
Constructor Details
-
RemoteTrustedListSignatureParameters
public RemoteTrustedListSignatureParameters()Default constructor instantiating object with null values
-
-
Method Details
-
getSigningCertificate
Gets the signing certificate- Returns:
RemoteCertificate
-
setSigningCertificate
Sets the signing certificate- Parameters:
signingCertificate-RemoteCertificate
-
getEncryptionAlgorithm
Gets the encryption algorithm used by the signing-certificate- Returns:
EncryptionAlgorithm
-
setEncryptionAlgorithm
Sets the encryption algorithm used by the signing-certificate- Parameters:
encryptionAlgorithm-EncryptionAlgorithm
-
getDigestAlgorithm
Gets a digest algorithm used on signing- Returns:
DigestAlgorithm
-
setDigestAlgorithm
Sets a digest algorithm used on signing- Parameters:
digestAlgorithm-DigestAlgorithm
-
getBLevelParameters
Gets bLevel parameters- Returns:
RemoteBLevelParameters
-
setBLevelParameters
Sets bLevel parameters (e.g. claimed signing time, etc.)- Parameters:
bLevelParameters-RemoteBLevelParameters
-
getReferenceId
Gets an Id of an enveloped-signature reference- Returns:
String
-
setReferenceId
Sets a custom if for an enveloped-reference creation NOTE: if not set, a default value will be used- Parameters:
referenceId-String
-
getReferenceDigestAlgorithm
Gets aDigestAlgorithmto be used on an enveloped-signature reference creation- Returns:
DigestAlgorithm
-
setReferenceDigestAlgorithm
Sets aDigestAlgorithmto be used on an enveloped-signature reference creation- Parameters:
referenceDigestAlgorithm-DigestAlgorithm
-
getTlVersion
Gets the XML Trusted List Version identifier to be signed- Returns:
String
-
setTlVersion
Sets the XML Trusted List Version identifier to be signed. This ensures the created signature corresponds to the requirements of the XML Trusted List version. NOTE: The value shall be an integer.- Parameters:
tlVersion-Stringthe target XML Trusted List version integer
-