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.java455 PrivateKey originalPrivateKey = TestUtils.getRawResPrivateKey(context, privateResId); in importIntoAndroidKeyStore() local
460 if (!originalPublicKey.getAlgorithm().equalsIgnoreCase(originalPrivateKey.getAlgorithm())) { in importIntoAndroidKeyStore()
463 + ", private: " + originalPrivateKey.getAlgorithm()); in importIntoAndroidKeyStore()
465 assertKeyPairSelfConsistent(originalPublicKey, originalPrivateKey); in importIntoAndroidKeyStore()
468 alias, originalPrivateKey, originalCert, in importIntoAndroidKeyStore()
471 assertKeyPairSelfConsistent(keystoreBacked.getPublic(), originalPrivateKey); in importIntoAndroidKeyStore() local
474 new KeyPair(originalCert.getPublicKey(), originalPrivateKey), in importIntoAndroidKeyStore()