ChromeCertificateProvider class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reportSignature(ReportSignatureDetails details)
→ Future<void>
-
Should be called as a response to onSignatureRequested.
The extension must eventually call this function for every
onSignatureRequested event; the API implementation will stop
waiting for this call after some time and respond with a timeout
error when this function is called.
-
requestPin(RequestPinDetails details)
→ Future<PinResponseDetails?>
-
Requests the PIN from the user. Only one ongoing request at a time is
allowed. The requests issued while another flow is ongoing are rejected.
It's the extension's responsibility to try again later if another flow is
in progress.
|details|: Contains the details about the requested dialog.
|callback|: Is called when the dialog is resolved with the user input, or
when the dialog request finishes unsuccessfully (e.g. the dialog was
canceled by the user or was not allowed to be shown).
-
setCertificates(SetCertificatesDetails details)
→ Future<void>
-
Sets a list of certificates to use in the browser.
The extension should call this function after initialization and on
every change in the set of currently available certificates. The
extension should also call this function in response to
onCertificatesUpdateRequested every time this event is
received.
|details|: The certificates to set. Invalid certificates will be ignored.
|callback|: Called upon completion.
-
stopPinRequest(StopPinRequestDetails details)
→ Future<void>
-
Stops the pin request started by the requestPin function.
|details|: Contains the details about the reason for stopping the
request flow.
|callback|: To be used by Chrome to send to the extension the status from
their request to close PIN dialog for user.
-
toString()
→ String
-
A string representation of this object.
inherited