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 * This class is a base class for new GSS token definitions, as defined
85 * This class is the super class of WrapToken_v2 and MicToken_v2. The token's
87 * tokenData fields. Since there is no easy way to find out the exact length
92 * super class only write the tokenHeader, and the content writing is inside
153 * it is read.
160 * @throws GSSException if there is a problem parsing the token
173 * complete the token. Please note there is no accurate way to find out
174 * the size of a token, but we try our best to make sure there is
178 * it is read.
180 * @param is the InputStream from which to read
183 * @throws GSSException if there is a problem reading from the
186 MessageToken_v2(int tokenId, Krb5Context context, InputStream is,
194 tokenHeader = new MessageTokenHeader(is, prop, tokenId);
218 readFully(is, tokenData);
220 tokenDataLen = is.available();
223 readFully(is, tokenData);
226 readFully(is, tmp);
228 // come and is.available() below contains the whole token.
229 int more = is.available();
232 readFully(is, tokenData, minSize, more);
280 * @return true if it contains any encrypted data, false if there is only
281 * plaintext data or if there is no data.
412 * Note: There is no such requirement wrt adding padding to the
474 * @throws IOException is an error occurs while writing to the OutputStream
484 * @throws IOException is an error occurs while encoding the token
547 * @param is the InputStream to read from
549 * @throws IOException is an error occurs while reading from the
552 public MessageTokenHeader(InputStream is, MessageProp prop, int tokId)
555 readFully(is, bytes, 0, TOKEN_HEADER_SIZE);
618 * @throws IOException is an error occurs while writing