< prev index next >

src/java.security.jgss/share/classes/sun/security/jgss/spi/GSSContextSpi.java

Print this page

        

@@ -49,18 +49,18 @@
  * while in state 1 and 2, and the established values in state 3.
  * Some mechanisms may allow the access to the per-message operations
  * and the context flags before the context is fully established. The
  * isProtReady method is used to indicate that these services are
  * available.
- *<p>
+ * <p>
  * <strong>
  * Context establishment tokens are defined in a mechanism independent
  * format in section 3.1 of RFC 2743. The GSS-Framework will add
  * and remove the mechanism independent header portion of this token format
  * depending on whether a token is received or is being sent. The mechanism
- * should only generate or expect to read the inner-context token portion..
- * <p>
+ * should only generate or expect to read the inner-context token portion.
+ * <br>
  * On the other hands, tokens used for per-message calls are generated
  * entirely by the mechanism. It is possible that the mechanism chooses to
  * encase inner-level per-message tokens in a header similar to that used
  * for initial tokens, however, this is upto the mechanism to do. The token
  * to/from the per-message calls are opaque to the GSS-Framework.

@@ -237,11 +237,11 @@
      *
      * @param qop the quality of protection that the context will be
      *    asked to provide.
      * @param confReq a flag indicating whether confidentiality will be
      *    requested or not
-     * @param outputSize the maximum size of the output token
+     * @param maxTokSize the maximum size of the output token
      * @return the maximum size for the input message that can be
      *    provided to the wrap() method in order to guarantee that these
      *    requirements are met.
      * @exception GSSException may be thrown
      */

@@ -252,11 +252,11 @@
      * Provides per-message token encapsulation.
      *
      * @param is the user-provided message to be protected
      * @param os the token to be sent to the peer. It includes
      *    the message from <i>is</i> with the requested protection.
-     * @param msgPro on input it contains the requested qop and
+     * @param msgProp on input it contains the requested qop and
      *    confidentiality state, on output, the applied values
      * @exception GSSException may be thrown
      * @see unwrap
      */
     public void wrap(InputStream is, OutputStream os, MessageProp msgProp)

@@ -363,11 +363,11 @@
      * Checks the integrity of the supplied tokens.
      * This token was previously generated by getMIC.
      *
      * @param is token generated by getMIC
      * @param msgStr the message to check integrity for
-     * @param msgProp will contain the applied QOP and confidentiality
+     * @param msgStr will contain the applied QOP and confidentiality
      *    states of the token as well as any informatory status codes
      * @exception GSSException may be thrown
      */
     public void verifyMIC(InputStream is, InputStream msgStr,
                            MessageProp mProp) throws GSSException;
< prev index next >