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