Lines Matching refs:mechCtxt

104     private GSSContextSpi mechCtxt = null;
163 mechCtxt = gssManager.getMechanismContext(interProcessToken);
164 initiator = mechCtxt.isInitiator();
165 this.mechOid = mechCtxt.getMech();
186 if (mechCtxt != null && currentState != IN_PROGRESS) {
197 if (mechCtxt == null) {
212 mechCtxt = gssManager.getMechanismContext(nameElement,
216 mechCtxt.requestConf(reqConfState);
217 mechCtxt.requestInteg(reqIntegState);
218 mechCtxt.requestCredDeleg(reqCredDelegState);
219 mechCtxt.requestMutualAuth(reqMutualAuthState);
220 mechCtxt.requestReplayDet(reqReplayDetState);
221 mechCtxt.requestSequenceDet(reqSequenceDetState);
222 mechCtxt.requestAnonymity(reqAnonState);
223 mechCtxt.setChannelBinding(channelBindings);
224 mechCtxt.requestDelegPolicy(reqDelegPolicyState);
231 if (mechCtxt.getProvider().getName().equals("SunNativeGSS") ||
248 byte[] obuf = mechCtxt.initSecContext(inStream, inTokenLen);
254 if (mechCtxt.getProvider().getName().equals("SunNativeGSS") ||
266 if (mechCtxt.isEstablished())
294 if (mechCtxt != null && currentState != IN_PROGRESS) {
304 if (mechCtxt == null) {
320 mechCtxt = gssManager.getMechanismContext(credElement,
322 mechCtxt.setChannelBinding(channelBindings);
326 if (mechCtxt.getProvider().getName().equals("SunNativeGSS") ||
342 byte[] obuf = mechCtxt.acceptSecContext(inStream, inTokenLen);
346 if (mechCtxt.getProvider().getName().equals("SunNativeGSS") ||
357 if (mechCtxt.isEstablished()) {
367 if (mechCtxt == null)
375 if (mechCtxt != null)
376 return mechCtxt.getWrapSizeLimit(qop, confReq, maxTokenSize);
384 if (mechCtxt != null)
385 return mechCtxt.wrap(inBuf, offset, len, msgProp);
393 if (mechCtxt != null)
394 mechCtxt.wrap(inStream, outStream, msgProp);
402 if (mechCtxt != null)
403 return mechCtxt.unwrap(inBuf, offset, len, msgProp);
411 if (mechCtxt != null)
412 mechCtxt.unwrap(inStream, outStream, msgProp);
420 if (mechCtxt != null)
421 return mechCtxt.getMIC(inMsg, offset, len, msgProp);
429 if (mechCtxt != null)
430 mechCtxt.getMIC(inStream, outStream, msgProp);
439 if (mechCtxt != null)
440 mechCtxt.verifyMIC(inTok, tokOffset, tokLen,
449 if (mechCtxt != null)
450 mechCtxt.verifyMIC(tokStream, msgStream, msgProp);
461 if (mechCtxt.isTransferable() &&
462 mechCtxt.getProvider().getName().equals("SunNativeGSS")) {
463 result = mechCtxt.export();
469 if (mechCtxt == null && initiator)
474 if (mechCtxt == null && initiator)
479 if (mechCtxt == null && initiator)
484 if (mechCtxt == null && initiator)
489 if (mechCtxt == null && initiator)
494 if (mechCtxt == null && initiator)
499 if (mechCtxt == null && initiator)
504 if (mechCtxt == null && initiator)
511 if (mechCtxt == null)
517 if (mechCtxt != null)
518 return mechCtxt.getCredDelegState();
524 if (mechCtxt != null)
525 return mechCtxt.getMutualAuthState();
531 if (mechCtxt != null)
532 return mechCtxt.getReplayDetState();
538 if (mechCtxt != null)
539 return mechCtxt.getSequenceDetState();
545 if (mechCtxt != null)
546 return mechCtxt.getAnonymityState();
552 if (mechCtxt != null)
553 return mechCtxt.isTransferable();
559 if (mechCtxt != null)
560 return mechCtxt.isProtReady();
566 if (mechCtxt != null)
567 return mechCtxt.getConfState();
573 if (mechCtxt != null)
574 return mechCtxt.getIntegState();
580 if (mechCtxt != null)
581 return mechCtxt.getLifetime();
589 (gssManager, mechCtxt.getSrcName());
597 (gssManager, mechCtxt.getTargName());
603 if (mechCtxt != null) {
604 return mechCtxt.getMech();
611 if (mechCtxt == null)
614 GSSCredentialSpi delCredElement = mechCtxt.getDelegCred();
625 if (mechCtxt != null) {
626 mechCtxt.dispose();
627 mechCtxt = null;
642 if (mechCtxt == null) {
645 return mechCtxt.inquireSecContext(type);
650 if (mechCtxt == null && initiator)
656 if (mechCtxt != null)
657 return mechCtxt.getDelegPolicyState();