Home
last modified time | relevance | path

Searched refs:certificate (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DCertificateTest.java161 X509Certificate certificate = (X509Certificate) wfaKeyStore.getCertificate(alias); in getDeviceWfaCertificates() local
162 assertEquals(certificate.getSubjectUniqueID(), certificate.getIssuerUniqueID()); in getDeviceWfaCertificates()
163 assertNotNull(certificate.getSubjectDN()); in getDeviceWfaCertificates()
164 assertNotNull(certificate.getIssuerDN()); in getDeviceWfaCertificates()
165 String fingerprint = getFingerprint(certificate); in getDeviceWfaCertificates()
182 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias); in getDeviceCertificates() local
183 assertEquals(certificate.getSubjectUniqueID(), certificate.getIssuerUniqueID()); in getDeviceCertificates()
184 assertNotNull(certificate.getSubjectDN()); in getDeviceCertificates()
185 assertNotNull(certificate.getIssuerDN()); in getDeviceCertificates()
186 String fingerprint = getFingerprint(certificate); in getDeviceCertificates()
[all …]
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java164 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( in testCanAccessApis() local
168 mDpm.installKeyPair(null, privatekey, certificate, alias)); in testCanAccessApis()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/
Dca.conf19 certificate = $dir/certs/ca.cert.pem
48 certificate = $dir/certs/intermediate.cert.pem
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java128 Certificate certificate = CertificateFactory.getInstance("X.509") in onReceive() local
138 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), in onReceive()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java424 Certificate certificate, in importIntoAndroidKeyStore() argument
429 new KeyStore.PrivateKeyEntry(privateKey, new Certificate[] {certificate}), in importIntoAndroidKeyStore()
DKeyPairGeneratorTest.java1298 private static void assertSelfSignedCertificateSignatureVerifies(Certificate certificate) { in assertSelfSignedCertificateSignatureVerifies() argument
1300 certificate.verify(certificate.getPublicKey()); in assertSelfSignedCertificateSignatureVerifies()
DKeyStoreTest.java377 public static void setCertificate(KeyStore ks, String alias, Certificate certificate) in setCertificate() argument
379 ks.setCertificateEntry(alias, certificate); in setCertificate()