Lines Matching defs:len
76 * length <code>len</code> and the specified <code>algorithm</code> name.
82 * @param len
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) {
110 this.key = new byte[len];
111 System.arraycopy(key, offset, this.key, 0, len);