RqesWalletService
class RqesWalletService(clientId: String = "https://wallet.a-sit.at/app", redirectUrl: String = "/callback", stateToCodeStore: MapStore<String, String>? = null)(source)
Wallet service that implements generation of all data classes necessary to successfully end-end a remote signature creation request by a driving application This class focuses on the POTENTIAL UC5 wallet use case and as such currently only supports signHash
. signDoc
is out of testing scope for now but may be added later
Constructors
Functions
Link copied to clipboard
suspend fun createOAuth2AuthenticationRequest(rqesRequest: SignatureRequestParameters, credentialId: ByteArray): CscAuthenticationRequestParameters
Link copied to clipboard
suspend fun createOAuth2TokenRequest(state: String, authorization: OAuth2Client.AuthorizationForToken, authorizationDetails: Set<AuthorizationDetails>): TokenRequestParameters
Link copied to clipboard
suspend fun createSignHashRequestParameters(rqesRequest: SignatureRequestParameters, credentialId: String, sad: String): CscSignatureRequestParameters