Home | History | Annotate | Download | only in profileowner

Lines Matching refs:cert

28 import java.security.cert.Certificate;
29 import java.security.cert.CertificateFactory;
34 * The CA cert below is the content of cacert.pem as generated by:
90 * Test: It should be recored whether the Profile Owner or the user installed a CA cert.
94 final Certificate cert = CertificateFactory.getInstance("X.509")
98 // Install a CA cert.
99 assertNull(store.getCertificateAlias(cert));
101 final String alias = store.getCertificateAlias(cert);
104 // Verify that the CA cert was marked as installed by the Profile Owner.
107 // Uninstall the CA cert.
110 // Verify that the CA cert is no longer marked as installed by the Profile Owner.