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-certificateDeprecated.since DSS 6.1.Gets aDigestAlgorithmto be used on an enveloped-signature reference creationGets an Id of an enveloped-signature referenceGets the signing certificatevoidsetBLevelParameters(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-certificatevoidsetMaskGenerationFunction(MaskGenerationFunction maskGenerationFunction) Deprecated.since DSS 6.1.voidsetReferenceDigestAlgorithm(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 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#getEncryptionAlgorithmmethod 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#setEncryptionAlgorithmmethod 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 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
-