public interface ICertificateService
IMozillaBrowserCanvasthat exposes the browser's advanced certificate-management functionality.
|Modifier and Type||Method and Description|
Adds a Certificate Authority certificate to the browser's certificate database.
Imports the contents of a PKCS#12 file, typically a client certificate and corresponding private key.
void importCertificateAuthorityCertificate(X509Certificate certificate)
The given certificate must be one that can safely be encoded using
Certificate.getEncoded(). This should be true of any certificate
created from an encoded representation.
certificate- the CA certificate to import
IllegalArgumentException- if the certificate could not be encoded