Lines Matching defs:offset
75 * specified buffer <code>key</code> starting at <code>offset</code> with
80 * @param offset
81 * the offset.
88 * is empty or <code>offset</code> and <code>len</code> do not
91 * if <code>offset</code> or <code>len</code> is negative.
93 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) {
100 if (len < 0 || offset < 0) {
101 throw new ArrayIndexOutOfBoundsException("len < 0 || offset < 0");
103 if (key.length - offset < len) {
111 System.arraycopy(key, offset, this.key, 0, len);