dart/core/js/certificate_provider
library
Typedefs
-
Algorithm
= String
-
Types of supported cryptographic signature algorithms.
-
CertificatesCallback
= JSFunction
-
Call this exactly once with the list of certificates that this extension is
providing. The list must only contain certificates for which the extension
can sign data using the associated private key. If the list contains
invalid certificates, these will be ignored. All valid certificates are
still registered for the extension. Chrome will call back with the list of
rejected certificates, which might be empty.
-
Error
= String
-
Types of errors that the extension can report.
-
Hash
= String
-
Deprecated. Replaced by Algorithm.
-
PinRequestErrorType
= String
-
The types of errors that can be presented to the user through the
requestPin function.
-
PinRequestType
= String
-
The type of code being requested by the extension with requestPin function.
-
ResultCallback
= JSFunction
-
The callback provided by the extension that Chrome uses to report back
rejected certificates. See
CertificatesCallback
.
-
SignCallback
= JSFunction
-
If no error occurred, this function must be called with the signature of
the digest using the private key of the requested certificate.
For an RSA key, the signature must be a PKCS#1 signature. The extension
is responsible for prepending the DigestInfo prefix and adding PKCS#1
padding. If an error occurred, this callback should be called without
signature.