Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java226 ExportResult exportResult = keyStore.exportKey( in loadAndroidKeyStorePublicKeyFromKeystore() local
228 if (exportResult.resultCode != KeyStore.NO_ERROR) { in loadAndroidKeyStorePublicKeyFromKeystore()
231 .initCause(KeyStore.getKeyStoreException(exportResult.resultCode)); in loadAndroidKeyStorePublicKeyFromKeystore()
233 final byte[] x509EncodedPublicKey = exportResult.exportData; in loadAndroidKeyStorePublicKeyFromKeystore()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java414 ExportResult exportResult = mAndroidKeyStore.exportKey( in assertKeyPairCorrect() local
416 assertEquals(KeyStore.NO_ERROR, exportResult.resultCode); in assertKeyPairCorrect()
417 final byte[] pubKeyBytes = exportResult.exportData; in assertKeyPairCorrect()