IssuerEncryptionService
class IssuerEncryptionService(encryptCredentialResponse: EncryptJweFun = EncryptJwe(EphemeralKeyWithoutCert()), requireResponseEncryption: Boolean = false, supportedJweAlgorithms: Set<JweAlgorithm> = setOf(JweAlgorithm.ECDH_ES), supportedJweEncryptionAlgorithms: Set<JweEncryption> = setOf(JweEncryption.A256GCM), requireRequestEncryption: Boolean = false, decryptionKeyMaterial: KeyMaterial = EphemeralKeyWithoutCert(), decryptCredentialRequest: DecryptJweFun? = DecryptJwe(decryptionKeyMaterial))(source)
Server implementation to handle credential request decryption and credential response encryption using OID4VCI.
Implemented from OpenID for Verifiable Credential Issuance 1.0 from 2025-09-16.
Constructors
Link copied to clipboard
constructor(encryptCredentialResponse: EncryptJweFun = EncryptJwe(EphemeralKeyWithoutCert()), requireResponseEncryption: Boolean = false, supportedJweAlgorithms: Set<JweAlgorithm> = setOf(JweAlgorithm.ECDH_ES), supportedJweEncryptionAlgorithms: Set<JweEncryption> = setOf(JweEncryption.A256GCM), requireRequestEncryption: Boolean = false, decryptionKeyMaterial: KeyMaterial = EphemeralKeyWithoutCert(), decryptCredentialRequest: DecryptJweFun? = DecryptJwe(decryptionKeyMaterial))