Top Description Inners Fields
com.sun.jna.platform.win32

public Interface Sspi

Imports
com.sun.jna.Memory, .Pointer, .Structure, .Structure.FieldOrder, com.sun.jna.win32.W32APITypeMapper

Ported from Sspi.h. Microsoft Windows SDK 6.0A.
Author
dblock[at]dblock.org

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Sspi.CredHandle

Credentials handle.

public static class
Sspi.CtxtHandle

Security context handle.

public static class
Sspi.PSecHandle

A pointer to a SecHandle

public static class
Sspi.PSecPkgInfo

A pointer to an array of SecPkgInfo structures.

public static class
public static class
Sspi.SecBuffer

The SecBuffer structure describes a buffer allocated by a transport application to pass to a security package.

public static class
Sspi.SecBufferDesc

The SecBufferDesc structure describes an array of SecBuffer structures to pass from a transport application to a security package.

public static class
Sspi.SecHandle

Security handle.

public static class
public static class
public static class
public static class
public static class
Sspi.SecPkgContext_PackageInfo

The SecPkgContext_PackageInfo structure.

public static class
public static class
Sspi.SecPkgContext_Sizes

The SecPkgContext_Sizes structure indicates the sizes of important structures used in the message support functions.

public static class
Sspi.SecPkgCredentials_Names

The SecPkgCredentials_Names structure holds the name of the user associated with a context.

public static class
Sspi.SecPkgInfo

The SecPkgInfo structure provides general information about a security package, such as its name and capabilities.

public static class
Sspi.SECURITY_INTEGER

A security integer.

public static class
Sspi.TimeStamp

A timestamp.

Field Summary

Modifier and TypeField and Description
public static final int
ISC_REQ_ALLOCATE_MEMORY

The security package allocates output buffers for you.

public static final int
ISC_REQ_CONFIDENTIALITY

Encrypt messages by using the EncryptMessage function.

public static final int
ISC_REQ_CONNECTION

The security context will not handle formatting messages.

public static final int
ISC_REQ_DELEGATE

The server can use the context to authenticate to other servers as the client.

public static final int
ISC_REQ_EXTENDED_ERROR

When errors occur, the remote party will be notified.

public static final int
ISC_REQ_INTEGRITY

Sign messages and verify signatures by using the EncryptMessage and MakeSignature functions.

public static final int
ISC_REQ_MUTUAL_AUTH

The mutual authentication policy of the service will be satisfied.

public static final int
ISC_REQ_REPLAY_DETECT

Detect replayed messages that have been encoded by using the EncryptMessage or MakeSignature functions.

public static final int
ISC_REQ_SEQUENCE_DETECT

Detect messages received out of sequence.

public static final int
ISC_REQ_STREAM

Support a stream-oriented connection.

public static final int
MAX_TOKEN_SIZE

Maximum size in bytes of a security token.

public static final int
public static final int
public static final int
SECBUFFER_DATA

This buffer type is used for common data.

public static final int
SECBUFFER_EMPTY

This is a placeholder in the buffer array.

public static final int
SECBUFFER_TOKEN

This buffer type is used to indicate the security token portion of the message.

public static final int
SECBUFFER_VERSION

Version of the SecBuffer struct.

public static final int
SECPKG_ATTR_ACCESS_TOKEN

The pBuffer parameter contains a pointer to a SecPkgContext_AccessToken structure.

public static final int
public static final int
SECPKG_ATTR_AUTHORITY

The pBuffer parameter contains a pointer to a SecPkgContext_Authority structure.

public static final int
SECPKG_ATTR_CLIENT_SPECIFIED_TARGET

The pBuffer parameter contains a pointer to a SecPkgContext_ClientSpecifiedTarget structure that represents the service principal name (SPN) of the initial target supplied by the client.

public static final int
public static final int
public static final int
SECPKG_ATTR_DCE_INFO

The pBuffer parameter contains a pointer to a SecPkgContext_DceInfo structure.

public static final int
SECPKG_ATTR_ENDPOINT_BINDINGS

The pBuffer parameter contains a pointer to a SecPkgContext_Bindings structure that specifies channel binding information.

public static final int
SECPKG_ATTR_FLAGS

The pBuffer parameter contains a pointer to a SecPkgContext_Flags structure.

public static final int
SECPKG_ATTR_KEY_INFO

The pBuffer parameter contains a pointer to a SecPkgContext_KeyInfo structure.

public static final int
SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS

The pBuffer parameter contains a pointer to a SecPkgContext_LastClientTokenStatus structure that specifies whether the token from the most recent call to the InitializeSecurityContext function is the last token from the client.

public static final int
SECPKG_ATTR_LIFESPAN

The pBuffer parameter contains a pointer to a SecPkgContext_Lifespan structure.

public static final int
public static final int
SECPKG_ATTR_NAMES

The pBuffer parameter contains a pointer to a SecPkgCredentials_Names structure.

public static final int
SECPKG_ATTR_NATIVE_NAMES

The pBuffer parameter contains a pointer to a SecPkgContext_NativeNames structure.

public static final int
public static final int
public static final int
public static final int
SECPKG_ATTR_NEGOTIATION_INFO

The pBuffer parameter contains a pointer to a SecPkgContext_NegotiationInfo structure.

public static final int
SECPKG_ATTR_PACKAGE_INFO

The pBuffer parameter contains a pointer to a SecPkgContext_PackageInfo structure.

public static final int
SECPKG_ATTR_PASSWORD_EXPIRY

The pBuffer parameter contains a pointer to a SecPkgContext_PasswordExpiry structure.

public static final int
public static final int
public static final int
SECPKG_ATTR_SESSION_KEY

The pBuffer parameter contains a pointer to a SecPkgContext_SessionKey structure.

public static final int
SECPKG_ATTR_SIZES

The pBuffer parameter contains a pointer to a SecPkgContext_Sizes structure.

public static final int
SECPKG_ATTR_STREAM_SIZES

The pBuffer parameter contains a pointer to a SecPkgContext_StreamSizes structure.

public static final int
SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES

The pBuffer parameter contains a pointer to a SecPkgContext_SubjectAttributes structure.

public static final int
public static final int
SECPKG_ATTR_TARGET_INFORMATION

The pBuffer parameter contains a pointer to a SecPkgContext_TargetInformation structure.

public static final int
SECPKG_ATTR_UNIQUE_BINDINGS

The pBuffer parameter contains a pointer to a SecPkgContext_Bindings structure that specifies channel binding information.

public static final int
public static final int
public static final int
SECPKG_CRED_ATTR_NAMES

Returns the name of a credential in a pbuffer of type SecPkgCredentials_Names.

public static final int
SECPKG_CRED_INBOUND

Validate an incoming server credential.

public static final int
SECPKG_CRED_OUTBOUND

Allow a local client credential to prepare an outgoing token.

public static final int
SECPKG_FLAG_ACCEPT_WIN32_NAME

Accepts Win32 names

public static final int
SECPKG_FLAG_APPCONTAINER_CHECKS

This package receives calls from app container apps if one of the following checks succeeds.

public static final int
SECPKG_FLAG_APPCONTAINER_PASSTHROUGH

This package receives all calls from app container apps.

public static final int
SECPKG_FLAG_ASCII_BUFFERS

Token Buffers are in ASCII

public static final int
SECPKG_FLAG_CLIENT_ONLY

Server side functionality not available

public static final int
SECPKG_FLAG_CONNECTION

Connection oriented RPC support

public static final int
SECPKG_FLAG_DATAGRAM

Datagram RPC support

public static final int
SECPKG_FLAG_DELEGATION

Package can delegate

public static final int
SECPKG_FLAG_EXTENDED_ERROR

Supports extended error msgs

public static final int
SECPKG_FLAG_FRAGMENT

Package can fragment to fit

public static final int
SECPKG_FLAG_GSS_COMPATIBLE

GSS Compatibility Available

public static final int
SECPKG_FLAG_IMPERSONATION

Supports impersonation

public static final int
SECPKG_FLAG_INTEGRITY

Supports integrity on messages

public static final int
SECPKG_FLAG_LOGON

Supports common LsaLogonUser

public static final int
SECPKG_FLAG_MULTI_REQUIRED

Full 3-leg required for re-auth.

public static final int
SECPKG_FLAG_MUTUAL_AUTH

Package can perform mutual authentication

public static final int
SECPKG_FLAG_NEGO_EXTENDER

The security package extends the Microsoft Negotiate security package.

public static final int
SECPKG_FLAG_NEGOTIABLE

Can be used by the negotiate package

public static final int
SECPKG_FLAG_NEGOTIABLE2

This package is negotiated by the package of type SECPKG_FLAG_NEGO_EXTENDER.

public static final int
SECPKG_FLAG_PRIVACY

Supports privacy (confidentiality)

public static final int
SECPKG_FLAG_RESTRICTED_TOKENS

Supports callers with restricted tokens.

public static final int
SECPKG_FLAG_STREAM

Supports stream semantics

public static final int
SECPKG_FLAG_TOKEN_ONLY

Only security token needed

public static final int
SECPKG_NEGOTIATION_COMPLETE

Negotiation has been completed.

public static final int
public static final int
SECPKG_NEGOTIATION_IN_PROGRESS

Negotiations in progress.

public static final int
SECPKG_NEGOTIATION_OPTIMISTIC

Negotiations not yet completed.

public static final int
public static final int
SECQOP_WRAP_NO_ENCRYPT

Produce a header or trailer but do not encrypt the message.

public static final int
SECQOP_WRAP_OOB_DATA

Send an Schannel alert message.

public static final int
SECURITY_NATIVE_DREP

Specifies Native data representation.

public static final int
SECURITY_NETWORK_DREP

Specifies network data representation.