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