Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreProvider.java176 public static long getKeyStoreOperationHandle(Object cryptoPrimitive) { in getKeyStoreOperationHandle() argument
177 if (cryptoPrimitive == null) { in getKeyStoreOperationHandle()
181 if (cryptoPrimitive instanceof Signature) { in getKeyStoreOperationHandle()
182 spi = ((Signature) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
183 } else if (cryptoPrimitive instanceof Mac) { in getKeyStoreOperationHandle()
184 spi = ((Mac) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
185 } else if (cryptoPrimitive instanceof Cipher) { in getKeyStoreOperationHandle()
186 spi = ((Cipher) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
187 } else if (cryptoPrimitive instanceof KeyAgreement) { in getKeyStoreOperationHandle()
188 spi = ((KeyAgreement) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java64 public static long getKeyStoreOperationHandle(Object cryptoPrimitive) { in getKeyStoreOperationHandle() argument
66 .getKeyStoreOperationHandle(cryptoPrimitive); in getKeyStoreOperationHandle()