Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226963

More clarification on possible sequencing error in GSSContext::unwrap

XMLWordPrintable

    • b29
    • Not verified

        Unlike in C where GSS_unwrap returns something other than GSS_S_COMPLETE when there is a sequencing error, JGSS's GSSContext::unwrap returns a decrypted message successfully and only put the sequencing error info in the MessageProp parameter of the method. We should educate users to check for the parameter.

        One thing we can do is to add a unwrap call with checks in the example of the GSSContext class spec.

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: