Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java267 KeyPairGeneratorSpec legacySpec = (KeyPairGeneratorSpec) params; in initialize() local
270 legacySpec); in initialize()
271 spec = buildKeyGenParameterSpecFromLegacy(legacySpec, keymasterAlgorithm); in initialize()
487 KeyPairGeneratorSpec legacySpec) throws InvalidAlgorithmParameterException { in getKeymasterAlgorithmFromLegacy() argument
488 String specKeyAlgorithm = legacySpec.getKeyType(); in getKeymasterAlgorithmFromLegacy()
503 private KeyGenParameterSpec buildKeyGenParameterSpecFromLegacy(KeyPairGeneratorSpec legacySpec, in buildKeyGenParameterSpecFromLegacy() argument
509 legacySpec.getKeystoreAlias(), in buildKeyGenParameterSpecFromLegacy()
524 legacySpec.getKeystoreAlias(), in buildKeyGenParameterSpecFromLegacy()
556 if (legacySpec.getKeySize() != -1) { in buildKeyGenParameterSpecFromLegacy()
557 specBuilder.setKeySize(legacySpec.getKeySize()); in buildKeyGenParameterSpecFromLegacy()
[all …]
DAndroidKeyStoreSpi.java361 KeyStoreParameter legacySpec = (KeyStoreParameter) param; in setPrivateKeyEntry() local