Searched defs:expectedKey (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java269 private void readAndVerifyEntity(BackupDataInput bdi, String expectedKey, byte[] expectedData) argument
272 expectedKey, bdi.getKey());
284 private void readAndVerifyDeletedEntity(BackupDataInput bdi, String expectedKey) argument
287 expectedKey, bdi.getKey());
/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyStoreTest.java1568 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key));
1581 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain);
1584 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, argument
1586 if (expectedKey instanceof DSAPrivateKey) {
1588 ((DSAPrivateKey) expectedKey).getParams(),
1590 } else if (expectedKey instanceof ECPrivateKey) {
1592 ((ECPrivateKey) expectedKey).getParams().getCurve(),
1594 } else if (expectedKey instanceof RSAPrivateKey) {
1596 ((RSAPrivateKey) expectedKey).getModulus(),
1655 PrivateKey expectedKey
[all...]

Completed in 206 milliseconds