Searched refs:cryptoPrimitive (Results 1 – 2 of 2) sorted by relevance
176 public static long getKeyStoreOperationHandle(Object cryptoPrimitive) { in getKeyStoreOperationHandle() argument177 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 …]
64 public static long getKeyStoreOperationHandle(Object cryptoPrimitive) { in getKeyStoreOperationHandle() argument66 .getKeyStoreOperationHandle(cryptoPrimitive); in getKeyStoreOperationHandle()