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.java434 PrivateKey originalPrivateKey = TestUtils.getRawResPrivateKey(context, privateResId); in importIntoAndroidKeyStore() local
439 if (!originalPublicKey.getAlgorithm().equalsIgnoreCase(originalPrivateKey.getAlgorithm())) { in importIntoAndroidKeyStore()
442 + ", private: " + originalPrivateKey.getAlgorithm()); in importIntoAndroidKeyStore()
444 assertKeyPairSelfConsistent(originalPublicKey, originalPrivateKey); in importIntoAndroidKeyStore()
447 alias, originalPrivateKey, originalCert, in importIntoAndroidKeyStore()
450 assertKeyPairSelfConsistent(keystoreBacked.getPublic(), originalPrivateKey); in importIntoAndroidKeyStore() local
453 new KeyPair(originalCert.getPublicKey(), originalPrivateKey), in importIntoAndroidKeyStore()