Searched refs:privKey (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertSelectionDelegateTest.java | 104 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanSelectKeychainKeypairs() local 107 assertThat(mDpm.installKeyPair(null, privKey, cert, alias)).isTrue(); in testCanSelectKeychainKeypairs()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1133 final PrivateKey privKey = keyEntry.getPrivateKey(); in assertPrivateKeyEntryEquals() local 1137 assertTrue("Returned PrivateKey " + privKey.getClass() + " should be instanceof ECKey", in assertPrivateKeyEntryEquals() 1138 privKey instanceof ECKey); in assertPrivateKeyEntryEquals() 1141 ((ECKey) privKey).getParams().getCurve()); in assertPrivateKeyEntryEquals() 1143 assertTrue("Returned PrivateKey " + privKey.getClass() + " should be instanceof RSAKey", in assertPrivateKeyEntryEquals() 1144 privKey instanceof RSAKey); in assertPrivateKeyEntryEquals() 1147 ((RSAKey) privKey).getModulus()); in assertPrivateKeyEntryEquals() 1150 assertNull("getFormat() should return null", privKey.getFormat()); in assertPrivateKeyEntryEquals() 1151 assertNull("getEncoded() should return null", privKey.getEncoded()); in assertPrivateKeyEntryEquals() 1611 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Unencrypted_Failure() local [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 171 final PrivateKey privKey = loadPrivateKeyFromAsset("user-cert-chain.key"); in testCanInstallCertChain() local 177 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) in testCanInstallCertChain() local
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 992 Key privKey = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); in getKeyManagersFromStreams() local 1000 keyStore.setKeyEntry("server", privKey, EMPTY_PASSWORD, chain); in getKeyManagersFromStreams()
|