Searched refs:keyProtection (Results 1 – 4 of 4) sorted by relevance
64 KeyProtection keyProtection) throws Exception { in saveKeysToKeystore() argument74 keyProtection); in saveKeysToKeystore()79 KeyProtection keyProtection) throws Exception { in saveSecretKeyToKeystore() argument84 keyProtection); in saveSecretKeyToKeystore()
63 KeyProtection.Builder keyProtection = new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN | in saveKeyPairToKeystoreAndReturnPrivateKey() local71 keyProtection.setDigests(digest); in saveKeyPairToKeystoreAndReturnPrivateKey()73 keyProtection.setDigests(digest, mgfDigest); in saveKeyPairToKeystoreAndReturnPrivateKey()76 keyProtection.build()).getKey(KEY_ALIAS_1, null); in saveKeyPairToKeystoreAndReturnPrivateKey()
63 KeyProtection keyProtection = new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN) in getKeystorePrivateKey() local71 keyProtection); in getKeystorePrivateKey()
59 KeyProtection keyProtection = new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN) in getKeystorePrivateKey() local65 KeyStoreUtil.saveKeysToKeystore(KEY_ALIAS_1, pubKey, privKey, keyProtection); in getKeystorePrivateKey()