CredentialRequired

data class CredentialRequired(    val credentialID: ByteArray,     val signatureQualifier: SignatureQualifier,     val numSignatures: Int,     val hashes: Hashes,     val hashAlgorithmOid: ObjectIdentifier) : OAuth2RqesParameters(source)

Constructors

Link copied to clipboard
constructor(credentialID: ByteArray, signatureQualifier: SignatureQualifier, numSignatures: Int, hashes: Hashes, hashAlgorithmOid: ObjectIdentifier)

Properties

Link copied to clipboard
@SerialName(value = "credentialID")
@Serializable(with = ByteArrayBase64UrlSerializer::class)
val credentialID: ByteArray

CSC: REQUIRED-"credential" The identifier associated to the credential to authorize. This parameter value may contain characters that are reserved, unsafe or forbidden in URLs and therefore SHALL be url-encoded by the signature application

Link copied to clipboard
@SerialName(value = "hashAlgorithmOID")
val hashAlgorithmOid: ObjectIdentifier

CSC: REQUIRED-"credential" String containing the OID of the hash algorithm used to generate the hashes

Link copied to clipboard
@SerialName(value = "hashes")
@Serializable(with = HashesSerializer::class)
val hashes: Hashes

CSC: REQUIRED-"credential" One or more base64url-encoded hash values to be signed

Link copied to clipboard
@SerialName(value = "numSignatures")
val numSignatures: Int

CSC: Required-"credential" The number of signatures to authorize

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

CSC: Required-"credential" This parameter contains the symbolic identifier determining the kind of signature to be created

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int