Example #1
0
 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!");
 }
Example #2
0
 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!");
 }