/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the given {@code * byte[]}, starting form the specified index for the specified length. * * @param data * the byte array to update with. * @param off * the start index in {@code data} of the data. * @param len * the number of bytes to use. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data, int off, int len) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } if (data == null || off < 0 || len < 0 || off + len > data.length) { throw new IllegalArgumentException(); } engineUpdate(data, off, len); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte}. * * @param b * the byte to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte b) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(b); }
/** * Updates the data to be verified or to be signed, using the specified * {@code byte[]}. * * @param data * the byte array to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(byte[] data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data, 0, data.length); }
/** * Updates the data to be verified or to be signed, using the specified * {@code ByteBuffer}. * * @param data * the {@code ByteBuffer} to update with. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final void update(ByteBuffer data) throws SignatureException { if (state == UNINITIALIZED) { throw new SignatureException("Signature object is not initialized properly"); } engineUpdate(data); }