public void unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp) throws GSSException { if (mechCtxt != null) mechCtxt.unwrap(inStream, outStream, msgProp); else throw new GSSExceptionImpl(GSSException.NO_CONTEXT, "No mechanism context yet!"); }
public byte[] unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp) throws GSSException { if (mechCtxt != null) return mechCtxt.unwrap(inBuf, offset, len, msgProp); else throw new GSSExceptionImpl(GSSException.NO_CONTEXT, "No mechanism context yet!"); }