Class Sspi.SecPkgContext_Sizes

java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Sspi.SecPkgContext_Sizes
Direct Known Subclasses:
Sspi.SecPkgContext_Sizes.ByReference
Enclosing interface:
Sspi

@FieldOrder({"cbMaxToken","cbMaxSignature","cbBlockSize","cbSecurityTrailer"}) public static class Sspi.SecPkgContext_Sizes extends Structure
The SecPkgContext_Sizes structure indicates the sizes of important structures used in the message support functions.

The Secur32.QueryContextAttributes(com.sun.jna.platform.win32.Sspi.CtxtHandle, int, com.sun.jna.Structure) function uses this structure.

  • Field Details

    • cbMaxToken

      public int cbMaxToken
      Specifies the maximum size of the security token used in the authentication exchanges.
    • cbMaxSignature

      public int cbMaxSignature
      Specifies the maximum size of the signature created by the MakeSignature function. This member must be zero if integrity services are not requested or available.
    • cbBlockSize

      public int cbBlockSize
      Specifies the preferred integral size of the messages. For example, eight indicates that messages should be of size zero mod eight for optimal performance. Messages other than this block size can be padded.
    • cbSecurityTrailer

      public int cbSecurityTrailer
      Size of the security trailer to be appended to messages. This member should be zero if the relevant services are not requested or available.
  • Constructor Details

    • SecPkgContext_Sizes

      public SecPkgContext_Sizes()
  • Method Details

    • toString

      public String toString()
      Description copied from class: Structure
      If jna.dump_memory is true, will include a native memory dump of the Structure's backing memory.
      Overrides:
      toString in class Structure
      Returns:
      String representation of this object.