SECURITY_PACKAGE_OPTIONS structure (sspi.h)

Specifies information about a security package. This structure is used by the AddSecurityPackage function.

Syntax

typedef struct _SECURITY_PACKAGE_OPTIONS {
  unsigned long Size;
  unsigned long Type;
  unsigned long Flags;
  unsigned long SignatureSize;
  void          *Signature;
} SECURITY_PACKAGE_OPTIONS, *PSECURITY_PACKAGE_OPTIONS;

Members

Size

The size, in bytes, of this structure.

Type

The type of security package. This can be one of the following values.

Value Meaning
SECPKG_OPTIONS_TYPE_UNKNOWN
0
The package type is not known.
SECPKG_OPTIONS_TYPE_LSA
1
The security package is an LSA authentication package.
SECPKG_OPTIONS_TYPE_SSPI
2
The security package is a Security Support Provider Interface (SSPI) package.

Flags

This member is reserved. Do not use it.

SignatureSize

The size, in bytes, of a digital signature for this security package.

Signature

A digital signature for this security package.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header sspi.h