Example #1
0
 public void verifyMIC(
     byte[] inTok,
     int tokOffset,
     int tokLen,
     byte[] inMsg,
     int msgOffset,
     int msgLen,
     MessageProp msgProp)
     throws GSSException {
   if (mechCtxt != null)
     mechCtxt.verifyMIC(inTok, tokOffset, tokLen, inMsg, msgOffset, msgLen, msgProp);
   else throw new GSSExceptionImpl(GSSException.NO_CONTEXT, "No mechanism context yet!");
 }
Example #2
0
 public void verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp)
     throws GSSException {
   if (mechCtxt != null) mechCtxt.verifyMIC(tokStream, msgStream, msgProp);
   else throw new GSSExceptionImpl(GSSException.NO_CONTEXT, "No mechanism context yet!");
 }