Lines Matching refs:update
33 * {@code update} and {@code finish} operations.
36 * update and finish operations. Firstly, KeyStore's update operation can consume only a limited
37 * amount of data in one go because the operations are marshalled via Binder. Secondly, the update
39 * remainder for next time. The helper exposes {@link #update(byte[], int, int) update} and
45 * parameters to {@code update} and {@code final} operations.
56 * Returns the result of the KeyStore {@code update} operation or null if keystore couldn't
59 OperationResult update(byte[] input);
91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException {
104 // update operation.
112 // Nothing buffered and all of input array needs to be fed into the update
128 OperationResult opResult = mKeyStoreStream.update(chunk);
217 byte[] output = update(input, inputOffset, inputLength);
236 // Keep invoking the update operation with remaining buffered data until either all of the
237 // buffered data is consumed or until update fails to consume anything.
241 OperationResult opResult = mKeyStoreStream.update(chunk);
272 // Some output was produced by this update operation
284 // Buffer the output from this update operation
332 public OperationResult update(byte[] input) {
333 return mKeyStore.update(mOperationToken, null, input);