Class Sspi.SecBufferDesc

  • Direct Known Subclasses:
    SspiUtil.ManagedSecBufferDesc
    Enclosing interface:
    Sspi

    @FieldOrder({"ulVersion","cBuffers","pBuffers"})
    public static class Sspi.SecBufferDesc
    extends Structure
    The SecBufferDesc structure describes an array of SecBuffer structures to pass from a transport application to a security package.

    SecBufferDesc was introduced because Sspi.SecBufferDesc does not correctly cover the case there not exactly one Sspi.SecBuffer is passed to the security package.

    If the SecBufferDesc is managed from the java side, prefer to use ManagedSecBufferDesc.

    • Field Detail

      • ulVersion

        public int ulVersion
        Version number.
      • cBuffers

        public int cBuffers
        Number of buffers.
      • pBuffers

        public Pointer pBuffers
        Pointer to array of buffers.
    • Constructor Detail

      • SecBufferDesc

        public SecBufferDesc()
        Create a new SecBufferDesc with one SECBUFFER_EMPTY buffer.