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
ConstructorDescriptionDefault 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-certificateDeprecated.since DSS 6.1.Gets aDigestAlgorithm
to be used on an enveloped-signature reference creationGets an Id of an enveloped-signature referenceGets the signing certificatevoid
setBLevelParameters
(RemoteBLevelParameters bLevelParameters) Sets bLevel parameters (e.g. claimed signing time, etc.)void
setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets a digest algorithm used on signingvoid
setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets the encryption algorithm used by the signing-certificatevoid
setMaskGenerationFunction
(MaskGenerationFunction maskGenerationFunction) Deprecated.since DSS 6.1.void
setReferenceDigestAlgorithm
(DigestAlgorithm referenceDigestAlgorithm) Sets aDigestAlgorithm
to be used on an enveloped-signature reference creationvoid
setReferenceId
(String referenceId) Sets a custom if for an enveloped-reference creation NOTE: if not set, a default value will be usedvoid
setSigningCertificate
(RemoteCertificate signingCertificate) Sets the signing certificate
-
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
-
getMaskGenerationFunction
Deprecated.since DSS 6.1. Please use#getEncryptionAlgorithm
method in order to distinguish between mask generation functions (i.e. RSA for none MFG, RSASSA-PSS for MGF1)Gets a mask generation function, if used- Returns:
MaskGenerationFunction
-
setMaskGenerationFunction
Deprecated.since DSS 6.1. Please use#setEncryptionAlgorithm
method instead in order to provide a correct mask generation function (use EncryptionAlgorithm.RSA for none MGF, EncryptionAlgorithm.RSASSA_PSS for MGF1)Sets a mask generation function, if used- Parameters:
maskGenerationFunction
-MaskGenerationFunction
-
getBLevelParameters
Gets bLevel parameters- Returns:
RemoteBLevelParameters
-
setBLevelParameters
Sets bLevel parameters (e.g. claimed signing time, etc.)- Parameters:
bLevelParameters
-RemoteBLevelParameters
-
getReferenceId
-
setReferenceId
-
getReferenceDigestAlgorithm
Gets aDigestAlgorithm
to be used on an enveloped-signature reference creation- Returns:
DigestAlgorithm
-
setReferenceDigestAlgorithm
Sets aDigestAlgorithm
to be used on an enveloped-signature reference creation- Parameters:
referenceDigestAlgorithm
-DigestAlgorithm
-