Liking cljdoc? Tell your friends :D

chromex.ext.certificate-provider

clj

Use this API to expose certificates to the platform which can use these certificates for TLS authentications.

Use this API to expose certificates to the platform which can use these
certificates for TLS authentications.

  * available since Chrome 46
  * https://developer.chrome.com/extensions/certificateProvider
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

on-certificates-requested*cljs

(on-certificates-requested* config channel & args)
source

on-sign-digest-requested*cljs

(on-sign-digest-requested* config channel & args)
source

request-pinclj/smacro

(request-pin details)

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.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [details] where:

|details| - https://developer.chrome.com/extensions/certificateProvider#property-callback-details.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/extensions/certificateProvider#method-requestPin.

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.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [details] where:

  |details| - https://developer.chrome.com/extensions/certificateProvider#property-callback-details.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/extensions/certificateProvider#method-requestPin.
sourceraw docstring

request-pin*cljs

(request-pin* config details)
source

stop-pin-requestclj/smacro

(stop-pin-request details)

Stops the pin request started by the 'requestPin' function.

|details| - Contains the details about the reason for stopping the request flow.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/extensions/certificateProvider#method-stopPinRequest.

Stops the pin request started by the 'requestPin' function.

  |details| - Contains the details about the reason for stopping the request flow.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/extensions/certificateProvider#method-stopPinRequest.
sourceraw docstring

stop-pin-request*cljs

(stop-pin-request* config details)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.certificate-provider namespace.

Taps all valid non-deprecated events in chromex.ext.certificate-provider namespace.
sourceraw docstring

tap-on-certificates-requested-eventsclj/smacro

(tap-on-certificates-requested-events channel & args)

This event fires every time the browser requests the current list of certificates provided by this extension. The extension must call reportCallback exactly once with the current list of certificates.

Events will be put on the |channel| with signature [::on-certificates-requested [report-callback]].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/certificateProvider#event-onCertificatesRequested.

This event fires every time the browser requests the current list of certificates provided by this extension. The extension
must call reportCallback exactly once with the current list of certificates.

Events will be put on the |channel| with signature [::on-certificates-requested [report-callback]].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/certificateProvider#event-onCertificatesRequested.
sourceraw docstring

tap-on-sign-digest-requested-eventsclj/smacro

(tap-on-sign-digest-requested-events channel & args)

This event fires every time the browser needs to sign a message using a certificate provided by this extension in reply to an 'onCertificatesRequested' event. The extension must sign the data in request using the appropriate algorithm and private key and return it by calling reportCallback. reportCallback must be called exactly once.

Events will be put on the |channel| with signature [::on-sign-digest-requested [request report-callback]] where:

|request| - Contains the details about the sign request.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/certificateProvider#event-onSignDigestRequested.

This event fires every time the browser needs to sign a message using a certificate provided by this extension in reply to
an 'onCertificatesRequested' event. The extension must sign the data in request using the appropriate algorithm and private
key and return it by calling reportCallback. reportCallback must be called exactly once.

Events will be put on the |channel| with signature [::on-sign-digest-requested [request report-callback]] where:

  |request| - Contains the details about the sign request.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/certificateProvider#event-onSignDigestRequested.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close