Pki Environment Hooks
Callbacks for external calls made by CoreCrypto during X509 credential acquisition.
When communicating with the Identity Provider (IDP) and Wire server, CoreCrypto delegates to the client app by calling the relevant methods.
Client App CoreCrypto Acme IDP | | | | | X509CredentialAcquisition().finalize() | | |-------------------------->| | | | | GET acme/root.pem | | | |------------------------> | | | | 200 OK | | | |<------------------------ | | | authenticate() | | | |<--------------------------| | | | | Authentication flow | | | ----------------------------------------------------------------------------> | |<----------------------------------------------------------------------------- | | return Success PKiEnvironmentHooks.authenticate() | | |<--------------------------| | | | | (excluded several calls for brevity) | | return Success(Credential) X509CredentialAcquisition().finalize() | |<--------------------------| | |
Inheritors
Functions
Authenticate with the user's identity provider (IdP)
Fetch an access token to be used for the DPoP challenge (wire-dpop-01)
Get a nonce from the backend.
Make an HTTP request.