SignDocParameters

@Serializable
data class SignDocParameters(val credentialId: String? = null, val sad: String? = null, val operationMode: OperationMode = OperationMode.SYNCHRONOUS, val validityPeriod: Int? = null, val responseUri: String? = null, val clientData: String? = null, val signatureQualifier: SignatureQualifier? = null, val documentDigests: Collection<CscDocumentDigest>? = null, val documents: Collection<Document>? = null, val returnValidationInformation: Boolean = false) : CscSignatureRequestParameters(source)

Constructors

Link copied to clipboard
constructor(credentialId: String? = null, sad: String? = null, operationMode: OperationMode = OperationMode.SYNCHRONOUS, validityPeriod: Int? = null, responseUri: String? = null, clientData: String? = null, signatureQualifier: SignatureQualifier? = null, documentDigests: Collection<CscDocumentDigest>? = null, documents: Collection<Document>? = null, returnValidationInformation: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "clientData")
open override val clientData: String? = null

Arbitrary data from the signature application. It can be used to handle a transaction identifier or other application-spe cific data that may be useful for debugging purposes

Link copied to clipboard
@SerialName(value = "credentialID")
open override val credentialId: String? = null

The credentialID as defined in the Input parameter table in /credentials/info

Link copied to clipboard
@SerialName(value = "documentDigests")
val documentDigests: Collection<CscDocumentDigest>? = null
Link copied to clipboard
@SerialName(value = "documents")
val documents: Collection<Document>? = null
Link copied to clipboard
@SerialName(value = "operationMode")
open override val operationMode: OperationMode

The type of operation mode requested to the remote signing server The default value is “S”, so if the parameter is omitted then the remote signing server will manage the request in synchronous operation mode.

Link copied to clipboard
@SerialName(value = "response_uri")
open override val responseUri: String? = null

Value of one location where the server will notify the signature creation operation completion, as an URI value. This parameter MAY be specified only if the parameter operationMode is “A”.

Link copied to clipboard
@SerialName(value = "returnValidationInformation")
val returnValidationInformation: Boolean = false

This parameter SHALL be set to “true” to request the service to return the “validationInfo”. The default value is “false”, i.e. no “validationInfo” info is provided.

Link copied to clipboard
@SerialName(value = "SAD")
open override val sad: String? = null

The Signature Activation Data returned by the Credential Authorization methods. Not needed if the signing application has passed an access token in the “Authorization” HTTP header with scope “credential”, which is also good for the credential identified by credentialID. Note: For backward compatibility, signing applications MAY pass access tokens with scope “credential” in this parameter.

Link copied to clipboard
@SerialName(value = "signatureQualifier")
val signatureQualifier: SignatureQualifier? = null

Identifier of the signature type to be created, e.g. “eu_eidas_qes” to denote a Qualified Electronic Signature according to eIDAS

Link copied to clipboard
@SerialName(value = "validity_period")
open override val validityPeriod: Int? = null

Maximum period of time, expressed in milliseconds, until which the server SHALL keep the request outcome(s) available for the client application retrieval. This parameter MAY be specified only if the parameter operationMode is “A”.