RqesOpenId4VpVerifier

class RqesOpenId4VpVerifier(    clientIdScheme: ClientIdScheme,     keyMaterial: KeyMaterial = EphemeralKeyWithoutCert(),     verifier: Verifier = VerifierAgent(identifier = clientIdScheme.clientId),     jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyMaterial)),     verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(DefaultVerifierCryptoService()),     verifierCoseService: VerifierCoseService = DefaultVerifierCoseService(DefaultVerifierCryptoService()),     timeLeewaySeconds: Long = 300,     clock: Clock = Clock.System,     nonceService: NonceService = DefaultNonceService(),     stateToAuthnRequestStore: MapStore<String, AuthenticationRequestParameters> = DefaultMapStore()) : OpenId4VpVerifier(source)

Deprecated

OpenId4VpVerifier can now access TransactionData, for RqesRequests use RqesRequestOptions

Replace with

OpenId4VpVerifier

Verifier with access to TransactionData class can now generate requests containing TransactionData

Constructors

Link copied to clipboard
constructor(    clientIdScheme: ClientIdScheme,     keyMaterial: KeyMaterial = EphemeralKeyWithoutCert(),     verifier: Verifier = VerifierAgent(identifier = clientIdScheme.clientId),     jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyMaterial)),     verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(DefaultVerifierCryptoService()),     verifierCoseService: VerifierCoseService = DefaultVerifierCoseService(DefaultVerifierCryptoService()),     timeLeewaySeconds: Long = 300,     clock: Clock = Clock.System,     nonceService: NonceService = DefaultNonceService(),     stateToAuthnRequestStore: MapStore<String, AuthenticationRequestParameters> = DefaultMapStore())

Types

Link copied to clipboard
data class CreatedRequest(url: String, loadRequestObject: suspend (RequestObjectParameters?) -> KmmResult<String>?)
Link copied to clipboard
sealed class CreationOptions
Link copied to clipboard
data class ExtendedRequestOptions(val baseRequestOptions: OpenIdRequestOptions) : RequestOptions

Necessary to use QesInputDescriptor ExtendedRequestOptions cannot generate DifInputDescriptor!

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun createAuthnRequest(    requestOptions: RequestOptions,     requestObjectParameters: RequestObjectParameters?): AuthenticationRequestParameters
suspend fun createAuthnRequest(    requestOptions: RequestOptions,     creationOptions: OpenId4VpVerifier.CreationOptions): KmmResult<OpenId4VpVerifier.CreatedRequest>
Link copied to clipboard
suspend fun createAuthnRequestAsSignedRequestObject(    requestOptions: RequestOptions,     requestObjectParameters: RequestObjectParameters?): KmmResult<JwsSigned<AuthenticationRequestParameters>>
Link copied to clipboard
suspend fun prepareAuthnRequest(    requestOptions: RequestOptions,     requestObjectParameters: RequestObjectParameters?): AuthenticationRequestParameters
Link copied to clipboard
suspend fun submitAuthnRequest(authenticationRequestParameters: AuthenticationRequestParameters)