jdk/src/share/classes/sun/security/jgss/spi/GSSContextSpi.java
changeset 21278 ef8a3a2a72f2
parent 14342 8435a30053c1
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   230      */
   230      */
   231     public byte[] acceptSecContext(InputStream is, int mechTokenSize)
   231     public byte[] acceptSecContext(InputStream is, int mechTokenSize)
   232                         throws GSSException;
   232                         throws GSSException;
   233 
   233 
   234     /**
   234     /**
   235      * Queries the context for largest data size to accomodate
   235      * Queries the context for largest data size to accommodate
   236      * the specified protection and for the token to remain less then
   236      * the specified protection and for the token to remain less then
   237      * maxTokSize.
   237      * maxTokSize.
   238      *
   238      *
   239      * @param qop the quality of protection that the context will be
   239      * @param qop the quality of protection that the context will be
   240      *    asked to provide.
   240      *    asked to provide.
   311      */
   311      */
   312     public void unwrap(InputStream is, OutputStream os,
   312     public void unwrap(InputStream is, OutputStream os,
   313                         MessageProp msgProp) throws GSSException;
   313                         MessageProp msgProp) throws GSSException;
   314 
   314 
   315     /**
   315     /**
   316      * For apps that want simplicity and dont care about buffer copies.
   316      * For apps that want simplicity and don't care about buffer copies.
   317      */
   317      */
   318     public byte[] unwrap(byte inBuf[], int offset, int len,
   318     public byte[] unwrap(byte inBuf[], int offset, int len,
   319                          MessageProp msgProp) throws GSSException;
   319                          MessageProp msgProp) throws GSSException;
   320 
   320 
   321     /**
   321     /**