Lines Matching defs:is

5  * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
38 * call. It is a MessageToken except that it also contains plaintext
40 * that are peculiar to it and different from a MICToken, which is
41 * another type of MessageToken. All data in a WrapToken is prepended
42 * by a random counfounder of 8 bytes. All data in a WrapToken is
45 * data is replaced by (confounder || data || padding).
56 * The padding used with a WrapToken. All data is padded to the
57 * next multiple of 8 bytes, even if its length is already
77 * it's data only later when getData() is called and
78 * decryption/copying is needed to be done. Note that JCE can
82 private InputStream is = null;
117 * @throws GSSException if the token is defective
143 * @param is the InputStream containing the token bytes
146 * @throws GSSException if the token is defective or if there is
150 InputStream is, MessageProp prop)
154 super(Krb5Token.WRAP_ID, context, is, prop);
157 this.is = is;
216 * this WrapToken. It is called if the WrapToken was constructed
236 // debug("WrapToken cons: data is token is [" +
247 debug("\t\tDecrypted data is [" +
257 // Token data is in cleartext
277 // debug("\t\tData is: " + getHexBytes(debugbuf, debugbuf.length));
295 * this WrapToken. It is called if the WrapToken was constructed
320 cipherHelper.decryptData(this, is, dataSize,
323 // debug("\t\tDecrypted data is [" +
332 // Token data is in cleartext
334 readFully(is, confounder);
338 readFully(is, dataBuf, dataBufOffset, dataSize-CONFOUNDER_SIZE-1);
340 // Data is always a multiple of 8 with this GSS Mech
345 readFully(is, dataBuf, offset, 8);
350 readFully(is, finalBlock);
389 // For RC4-HMAC, all padding is rounded up to 1 byte.
390 // One byte is needed to say that there is 1 byte of padding.
415 debug("\nWrapToken cons: data to wrap is [" +
418 // padding is never null for Wrap
473 // Token header is small
524 // This implementation is way too conservative. And it certainly