/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39706/src/android/security/cts/CVE_2021_39706/ |
D | PocPolicyManager.java | 35 public boolean installCaCert(byte[] cert) { in installCaCert() 39 public boolean hasCaCertInstalled(byte[] cert) { in hasCaCertInstalled() 43 public void uninstallCaCert(byte[] cert) { in uninstallCaCert()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | TestCertificates.java | 117 public static Certificate userCertFromString(String cert) throws Exception { in userCertFromString() 126 public static Certificate caCertFromString(String cert) throws Exception { in caCertFromString()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 264 private void installCaCert(byte[] cert) { in installCaCert() 273 private void removeCaCert(byte[] cert) { in removeCaCert() 282 private void verifyCaCert(byte[] cert) { in verifyCaCert() 314 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
|
D | KeyManagementTest.java | 679 X509Certificate cert = createCertificate(generated.getKeyPair(), subject, issuer); in testCanSetKeyPairCert() local 758 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | AttestationTest.java | 93 X509Certificate cert = certChain.iterator().next(); in attestationTest() local 137 X509Certificate cert = certs[i]; in verifyCertificateChain() local
|
D | X509CertificateSigningTest.java | 88 X509Certificate cert = Util.signPublicKeyWithPrivateKey(keyToSignAlias, in testSigning() local
|
D | ParsedAttestationRecord.java | 171 public ParsedAttestationRecord(X509Certificate cert) throws IOException { in ParsedAttestationRecord()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2109/ |
D | poc.c | 29 X509 *cert; variable
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertSelectionDelegateTest.java | 106 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanSelectKeychainKeypairs() local 165 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
|
D | CertInstallerReceiver.java | 124 String cert = intent.getStringExtra(EXTRA_CERT_DATA); in onReceive() local 172 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
D | DirectDelegatedCertInstallerTest.java | 274 private Certificate certificateFromString(String cert) throws Exception { in certificateFromString() 283 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ImsiEncryptionInfoTest.java | 76 private static PublicKey createPublicKey(String cert) throws Exception { in createPublicKey()
|
/cts/tools/utils/ |
D | certificates.py | 22 cert = None variable in Certificate 24 def __init__(self, cert, key): argument
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20230/src/android/security/cts/CVE_2022_20230/ |
D | PocPolicyManager.java | 42 public boolean installKeyPair(PrivateKey pkey, Certificate cert, String alias) { in installKeyPair()
|
D | DeviceTest.java | 321 Certificate cert = cf.generateCertificate(new ByteArrayInputStream(USER_CERT)); in testCVE_2022_20230() local
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/certificates/ |
D | Certificates.java | 79 public Certificate generateCertificate(byte[] cert) { in generateCertificate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/ |
D | DeviceTest.java | 111 Certificate cert = cf.generateCertificate(new ByteArrayInputStream(userCertByteArray)); in testOverlayButtonPresence() local
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 147 final Certificate cert = CertificateFactory.getInstance("X.509") in testGetPolicyInstalledCaCerts() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 536 SslCertificate cert = mOnUiThread.getCertificate(); in testInsecureSiteClearsCertificate() local 573 SslCertificate cert = mOnUiThread.getCertificate(); in testSecureSiteSetsCertificate() local 921 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 976 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() local 977 mKeyStore.setCertificateEntry(getTestAlias1(), cert); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() local 1162 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals() 1364 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_CAExists_Overwrite_Unencrypted_Success() local 1367 mKeyStore.setCertificateEntry(getTestAlias1(), cert); in testKeyStore_SetCertificate_CAExists_Overwrite_Unencrypted_Success() local 1380 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_PrivateKeyExists_Unencrypted_Failure() local 1383 mKeyStore.setCertificateEntry(getTestAlias1(), cert); in testKeyStore_SetCertificate_PrivateKeyExists_Unencrypted_Failure() local 1835 Certificate cert = generateCertificate(FAKE_RSA_USER_1); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local 2734 Certificate cert = generateCertificate(FAKE_RSA_USER_1); in createLargeNumberOfKeyStoreEntryAliases() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 174 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 145 protected boolean installCertificate(X509Certificate cert, boolean isUserVisible) { in installCertificate()
|
/cts/tests/tests/apache-http/src/android/net/http/cts/ |
D | SslCertificateTest.java | 244 X509Certificate cert = new MockX509Certificate(); in testGetX509Certificate() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 105 private static Certificate getCertificate(byte[] cert) { in getCertificate()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 457 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner() local
|