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
208 * establishment. Since this is fromm the client's perspective, it
218 * Is mutual authentication enabled? Since this is from the client's
219 * perspective, it essentially meas that the server is being
252 * Tests if this is the initiator side of the context.
254 * @return boolean indicating if this is initiator (true)
277 * is received from the peer.
279 * @param is contains the token received from the peer. On the
282 * It is responsibility of the caller to send the token
286 public final byte[] initSecContext(InputStream is, int mechTokenSize)
334 if (is == null) {
340 byte[] server_token = new byte[is.available()];
341 SpNegoToken.readFully(is, server_token);
363 "supported mechansim from server is null");
405 "mechanism token from server is null");
472 * is received from the peer.
474 * @param is contains the token received from the peer.
476 * It is responsibility of the caller to send the token
480 public final byte[] acceptSecContext(InputStream is, int mechTokenSize)
502 byte[] token = new byte[is.available()];
503 SpNegoToken.readFully(is, token);
594 byte[] client_token = new byte[is.available()];
595 SpNegoToken.readFully(is, client_token);
699 // state from mech below is used.
703 // default for cred delegation is false
880 * and the first one that matches what the server can support is
881 * chosen as the negotiated mechanism. If one is found, negResult
882 * is set to ACCEPT_COMPLETE, otherwise we return NULL and negResult
883 * is set to REJECT.
936 * Anonymity is a little different in that after an application
939 * context establishment. Since this is from the initiator's
949 // establishment to get the right answer, but that is
951 // tokens if anonymity is not available.
991 * We enable sequence checking if replay detection is enabled.
1008 * We enable replay detection if sequence checking is enabled.
1048 * is an optional feature of contexts which not all
1051 * This is only valid on the acceptor side of the context.
1097 public final void wrap(InputStream is, OutputStream os,
1100 mechContext.wrap(is, os, msgProp);
1118 public final void unwrap(InputStream is, OutputStream os,
1121 mechContext.unwrap(is, os, msgProp);
1139 public final void getMIC(InputStream is, OutputStream os,
1142 mechContext.getMIC(is, os, msgProp);
1162 public final void verifyMIC(InputStream is, InputStream msgStr,
1165 mechContext.verifyMIC(is, msgStr, msgProp);