Searched refs:privKey (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 84 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallValidRsaKeypair() local 86 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallValidRsaKeypair() local 96 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullKeyParamsFailPredictably() local 104 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably() local 113 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullAdminComponentIsDenied() local 116 mDevicePolicyManager.installKeyPair(null, privKey, cert, alias); in testNullAdminComponentIsDenied()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1117 final PrivateKey privKey = keyEntry.getPrivateKey(); in assertPrivateKeyEntryEquals() local 1121 assertTrue("Returned PrivateKey " + privKey.getClass() + " should be instanceof ECKey", in assertPrivateKeyEntryEquals() 1122 privKey instanceof ECKey); in assertPrivateKeyEntryEquals() 1125 ((ECKey) privKey).getParams().getCurve()); in assertPrivateKeyEntryEquals() 1127 assertTrue("Returned PrivateKey " + privKey.getClass() + " should be instanceof RSAKey", in assertPrivateKeyEntryEquals() 1128 privKey instanceof RSAKey); in assertPrivateKeyEntryEquals() 1131 ((RSAKey) privKey).getModulus()); in assertPrivateKeyEntryEquals() 1134 assertNull("getFormat() should return null", privKey.getFormat()); in assertPrivateKeyEntryEquals() 1135 assertNull("getEncoded() should return null", privKey.getEncoded()); in assertPrivateKeyEntryEquals() 1621 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Unencrypted_Failure() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 201 final Key privKey; in doInBackground() local 221 privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(userKey.toByteArray())); in doInBackground() 235 ks.setKeyEntry("alias", privKey, KEYSTORE_PASSWORD, chain); in doInBackground()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 87128 private java.security.PrivateKey privKey 92156 private org.bouncycastle.asn1.DERObject privKey 100543 private transient java.security.PrivateKey privKey 106267 private java.security.PrivateKey privKey
|