Searched defs:keyAlgorithm (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreProvider.java170 @NonNull @KeyProperties.KeyAlgorithmEnum String keyAlgorithm,
174 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm);
178 "Failed to obtain " + keyAlgorithm + " KeyFactory", e);
182 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) {
184 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) {
188 + keyAlgorithm);
195 String keyAlgorithm = publicKey.getAlgorithm();
196 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) {
199 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) {
204 + keyAlgorithm);
168 getAndroidKeyStorePublicKey( @onNull String alias, @NonNull @KeyProperties.KeyAlgorithmEnum String keyAlgorithm, @NonNull byte[] x509EncodedForm) argument
[all...]

Completed in 49 milliseconds