Lines Matching defs:crypto
42 import javax.crypto.Cipher;
43 import javax.crypto.Mac;
208 public OnAuthenticationCancelListener(CryptoObject crypto) {
209 mCrypto = crypto;
219 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the
284 * @param crypto the crypto object
288 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint, int userId) {
289 mCryptoObject = crypto;
295 * Obtain the crypto object associated with this transaction
296 * @return crypto object provided to {@link FingerprintManager#authenticate(CryptoObject,
461 * Request authentication of a crypto object. This call warms up the fingerprint hardware
468 * @param crypto object associated with the call or null if none required.
474 * @throws IllegalArgumentException if the crypto operation is not supported or is not backed
477 * @throws IllegalStateException if the crypto primitive is not initialized.
480 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel,
482 authenticate(crypto, cancel, flags, callback, handler, UserHandle.myUserId());
502 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel,
513 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto));
520 mCryptoObject = crypto;
521 long sessionId = crypto != null ? crypto.getOpId() : 0;