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