Lines Matching defs:offset
60 * <code>offset</code>.
64 * @param offset
65 * the offset to start at.
67 * if the length of the key data starting at offset is less than
72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException {
76 if (key.length - offset < DES_EDE_KEY_LEN) {
80 System.arraycopy(key, offset, this.key, 0, DES_EDE_KEY_LEN);
95 * Returns whether the specified key data starting at <code>offset</code> is
100 * @param offset
101 * the offset to start checking at.
105 * if the length of the key data starting at offset is less than
108 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException {
109 if (key.length - offset < DES_EDE_KEY_LEN) {
112 for (int i=offset; i<DES_EDE_KEY_LEN+offset; i++) {