Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java453 PrivateKey originalPrivateKey = TestUtils.getRawResPrivateKey(context, privateResId); in importIntoAndroidKeyStore() local
458 if (!originalPublicKey.getAlgorithm().equalsIgnoreCase(originalPrivateKey.getAlgorithm())) { in importIntoAndroidKeyStore()
461 + ", private: " + originalPrivateKey.getAlgorithm()); in importIntoAndroidKeyStore()
463 assertKeyPairSelfConsistent(originalPublicKey, originalPrivateKey); in importIntoAndroidKeyStore()
466 alias, originalPrivateKey, originalCert, in importIntoAndroidKeyStore()
469 assertKeyPairSelfConsistent(keystoreBacked.getPublic(), originalPrivateKey); in importIntoAndroidKeyStore() local
472 new KeyPair(originalCert.getPublicKey(), originalPrivateKey), in importIntoAndroidKeyStore()