Package com.sun.jna.platform.win32
Interface Sspi
-
public interface SspiPorted from Sspi.h. Microsoft Windows SDK 6.0A.- Author:
- dblock[at]dblock.org
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSspi.CredHandleCredentials handle.static classSspi.CtxtHandleSecurity context handle.static classSspi.PSecHandleA pointer to a SecHandlestatic classSspi.PSecPkgInfoA pointer to an array of SecPkgInfo structures.static classSspi.SecBufferThe SecBuffer structure describes a buffer allocated by a transport application to pass to a security package.static classSspi.SecBufferDescstatic classSspi.SecHandleSecurity handle.static classSspi.SecPkgContext_PackageInfoThe SecPkgContext_PackageInfo structure.static classSspi.SecPkgInfoThe SecPkgInfo structure provides general information about a security package, such as its name and capabilities.static classSspi.SECURITY_INTEGERA security integer.static classSspi.TimeStampA timestamp.
-
Field Summary
Fields Modifier and Type Field Description static intISC_REQ_ALLOCATE_MEMORYThe security package allocates output buffers for you.static intISC_REQ_CONFIDENTIALITYEncrypt messages by using the EncryptMessage function.static intISC_REQ_CONNECTIONThe security context will not handle formatting messages.static intISC_REQ_DELEGATEThe server can use the context to authenticate to other servers as the client.static intISC_REQ_EXTENDED_ERRORWhen errors occur, the remote party will be notified.static intISC_REQ_INTEGRITYSign messages and verify signatures by using the EncryptMessage and MakeSignature functions.static intISC_REQ_MUTUAL_AUTHThe mutual authentication policy of the service will be satisfied.static intISC_REQ_REPLAY_DETECTDetect replayed messages that have been encoded by using the EncryptMessage or MakeSignature functions.static intISC_REQ_SEQUENCE_DETECTDetect messages received out of sequence.static intISC_REQ_STREAMSupport a stream-oriented connection.static intMAX_TOKEN_SIZEMaximum size in bytes of a security token.static intSECBUFFER_DATAThis buffer type is used for common data.static intSECBUFFER_EMPTYThis is a placeholder in the buffer array.static intSECBUFFER_TOKENThis buffer type is used to indicate the security token portion of the message.static intSECBUFFER_VERSIONVersion of the SecBuffer struct.static intSECPKG_ATTR_PACKAGE_INFOThe pBuffer parameter contains a pointer to aSspi.SecPkgContext_PackageInfostructure.static intSECPKG_CRED_INBOUNDValidate an incoming server credential.static intSECPKG_CRED_OUTBOUNDAllow a local client credential to prepare an outgoing token.static intSECPKG_FLAG_ACCEPT_WIN32_NAMEAccepts Win32 namesstatic intSECPKG_FLAG_APPCONTAINER_CHECKSThis package receives calls from app container apps if one of the following checks succeeds.static intSECPKG_FLAG_APPCONTAINER_PASSTHROUGHThis package receives all calls from app container apps.static intSECPKG_FLAG_ASCII_BUFFERSToken Buffers are in ASCIIstatic intSECPKG_FLAG_CLIENT_ONLYServer side functionality not availablestatic intSECPKG_FLAG_CONNECTIONConnection oriented RPC supportstatic intSECPKG_FLAG_DATAGRAMDatagram RPC supportstatic intSECPKG_FLAG_DELEGATIONPackage can delegatestatic intSECPKG_FLAG_EXTENDED_ERRORSupports extended error msgsstatic intSECPKG_FLAG_FRAGMENTPackage can fragment to fitstatic intSECPKG_FLAG_GSS_COMPATIBLEGSS Compatibility Availablestatic intSECPKG_FLAG_IMPERSONATIONSupports impersonationstatic intSECPKG_FLAG_INTEGRITYSupports integrity on messagesstatic intSECPKG_FLAG_LOGONSupports common LsaLogonUserstatic intSECPKG_FLAG_MULTI_REQUIREDFull 3-leg required for re-auth.static intSECPKG_FLAG_MUTUAL_AUTHPackage can perform mutual authenticationstatic intSECPKG_FLAG_NEGO_EXTENDERThe security package extends the Microsoft Negotiate security package.static intSECPKG_FLAG_NEGOTIABLECan be used by the negotiate packagestatic intSECPKG_FLAG_NEGOTIABLE2This package is negotiated by the package of type SECPKG_FLAG_NEGO_EXTENDER.static intSECPKG_FLAG_PRIVACYSupports privacy (confidentiality)static intSECPKG_FLAG_RESTRICTED_TOKENSSupports callers with restricted tokens.static intSECPKG_FLAG_STREAMSupports stream semanticsstatic intSECPKG_FLAG_TOKEN_ONLYOnly security token neededstatic intSECURITY_NATIVE_DREPSpecifies Native data representation.
-
-
-
Field Detail
-
MAX_TOKEN_SIZE
static final int MAX_TOKEN_SIZE
Maximum size in bytes of a security token.- See Also:
- Constant Field Values
-
SECPKG_CRED_INBOUND
static final int SECPKG_CRED_INBOUND
Validate an incoming server credential. Inbound credentials might be validated by using an authenticating authority when InitializeSecurityContext or AcceptSecurityContext is called. If such an authority is not available, the function will fail and return SEC_E_NO_AUTHENTICATING_AUTHORITY. Validation is package specific.- See Also:
- Constant Field Values
-
SECPKG_CRED_OUTBOUND
static final int SECPKG_CRED_OUTBOUND
Allow a local client credential to prepare an outgoing token.- See Also:
- Constant Field Values
-
SECURITY_NATIVE_DREP
static final int SECURITY_NATIVE_DREP
Specifies Native data representation.- See Also:
- Constant Field Values
-
ISC_REQ_ALLOCATE_MEMORY
static final int ISC_REQ_ALLOCATE_MEMORY
The security package allocates output buffers for you. When you have finished using the output buffers, free them by calling the FreeContextBuffer function.- See Also:
- Constant Field Values
-
ISC_REQ_CONFIDENTIALITY
static final int ISC_REQ_CONFIDENTIALITY
Encrypt messages by using the EncryptMessage function.- See Also:
- Constant Field Values
-
ISC_REQ_CONNECTION
static final int ISC_REQ_CONNECTION
The security context will not handle formatting messages. This value is the default.- See Also:
- Constant Field Values
-
ISC_REQ_DELEGATE
static final int ISC_REQ_DELEGATE
The server can use the context to authenticate to other servers as the client. The ISC_REQ_MUTUAL_AUTH flag must be set for this flag to work. Valid for Kerberos. Ignore this flag for constrained delegation.- See Also:
- Constant Field Values
-
ISC_REQ_EXTENDED_ERROR
static final int ISC_REQ_EXTENDED_ERROR
When errors occur, the remote party will be notified.- See Also:
- Constant Field Values
-
ISC_REQ_INTEGRITY
static final int ISC_REQ_INTEGRITY
Sign messages and verify signatures by using the EncryptMessage and MakeSignature functions.- See Also:
- Constant Field Values
-
ISC_REQ_MUTUAL_AUTH
static final int ISC_REQ_MUTUAL_AUTH
The mutual authentication policy of the service will be satisfied.- See Also:
- Constant Field Values
-
ISC_REQ_REPLAY_DETECT
static final int ISC_REQ_REPLAY_DETECT
Detect replayed messages that have been encoded by using the EncryptMessage or MakeSignature functions.- See Also:
- Constant Field Values
-
ISC_REQ_SEQUENCE_DETECT
static final int ISC_REQ_SEQUENCE_DETECT
Detect messages received out of sequence.- See Also:
- Constant Field Values
-
ISC_REQ_STREAM
static final int ISC_REQ_STREAM
Support a stream-oriented connection.- See Also:
- Constant Field Values
-
SECBUFFER_VERSION
static final int SECBUFFER_VERSION
Version of the SecBuffer struct.- See Also:
- Constant Field Values
-
SECBUFFER_EMPTY
static final int SECBUFFER_EMPTY
This is a placeholder in the buffer array.- See Also:
- Constant Field Values
-
SECBUFFER_DATA
static final int SECBUFFER_DATA
This buffer type is used for common data. The security package can read and write this data.- See Also:
- Constant Field Values
-
SECBUFFER_TOKEN
static final int SECBUFFER_TOKEN
This buffer type is used to indicate the security token portion of the message. This is read-only for input parameters or read/write for output parameters.- See Also:
- Constant Field Values
-
SECPKG_ATTR_PACKAGE_INFO
static final int SECPKG_ATTR_PACKAGE_INFO
The pBuffer parameter contains a pointer to aSspi.SecPkgContext_PackageInfostructure. Returns information on the SSP in use.- See Also:
- Constant Field Values
-
SECPKG_FLAG_INTEGRITY
static final int SECPKG_FLAG_INTEGRITY
Supports integrity on messages- See Also:
- Constant Field Values
-
SECPKG_FLAG_PRIVACY
static final int SECPKG_FLAG_PRIVACY
Supports privacy (confidentiality)- See Also:
- Constant Field Values
-
SECPKG_FLAG_TOKEN_ONLY
static final int SECPKG_FLAG_TOKEN_ONLY
Only security token needed- See Also:
- Constant Field Values
-
SECPKG_FLAG_DATAGRAM
static final int SECPKG_FLAG_DATAGRAM
Datagram RPC support- See Also:
- Constant Field Values
-
SECPKG_FLAG_CONNECTION
static final int SECPKG_FLAG_CONNECTION
Connection oriented RPC support- See Also:
- Constant Field Values
-
SECPKG_FLAG_MULTI_REQUIRED
static final int SECPKG_FLAG_MULTI_REQUIRED
Full 3-leg required for re-auth.- See Also:
- Constant Field Values
-
SECPKG_FLAG_CLIENT_ONLY
static final int SECPKG_FLAG_CLIENT_ONLY
Server side functionality not available- See Also:
- Constant Field Values
-
SECPKG_FLAG_EXTENDED_ERROR
static final int SECPKG_FLAG_EXTENDED_ERROR
Supports extended error msgs- See Also:
- Constant Field Values
-
SECPKG_FLAG_IMPERSONATION
static final int SECPKG_FLAG_IMPERSONATION
Supports impersonation- See Also:
- Constant Field Values
-
SECPKG_FLAG_ACCEPT_WIN32_NAME
static final int SECPKG_FLAG_ACCEPT_WIN32_NAME
Accepts Win32 names- See Also:
- Constant Field Values
-
SECPKG_FLAG_STREAM
static final int SECPKG_FLAG_STREAM
Supports stream semantics- See Also:
- Constant Field Values
-
SECPKG_FLAG_NEGOTIABLE
static final int SECPKG_FLAG_NEGOTIABLE
Can be used by the negotiate package- See Also:
- Constant Field Values
-
SECPKG_FLAG_GSS_COMPATIBLE
static final int SECPKG_FLAG_GSS_COMPATIBLE
GSS Compatibility Available- See Also:
- Constant Field Values
-
SECPKG_FLAG_LOGON
static final int SECPKG_FLAG_LOGON
Supports common LsaLogonUser- See Also:
- Constant Field Values
-
SECPKG_FLAG_ASCII_BUFFERS
static final int SECPKG_FLAG_ASCII_BUFFERS
Token Buffers are in ASCII- See Also:
- Constant Field Values
-
SECPKG_FLAG_FRAGMENT
static final int SECPKG_FLAG_FRAGMENT
Package can fragment to fit- See Also:
- Constant Field Values
-
SECPKG_FLAG_MUTUAL_AUTH
static final int SECPKG_FLAG_MUTUAL_AUTH
Package can perform mutual authentication- See Also:
- Constant Field Values
-
SECPKG_FLAG_DELEGATION
static final int SECPKG_FLAG_DELEGATION
Package can delegate- See Also:
- Constant Field Values
-
SECPKG_FLAG_RESTRICTED_TOKENS
static final int SECPKG_FLAG_RESTRICTED_TOKENS
Supports callers with restricted tokens.- See Also:
- Constant Field Values
-
SECPKG_FLAG_NEGO_EXTENDER
static final int SECPKG_FLAG_NEGO_EXTENDER
The security package extends the Microsoft Negotiate security package.- See Also:
- Constant Field Values
-
SECPKG_FLAG_NEGOTIABLE2
static final int SECPKG_FLAG_NEGOTIABLE2
This package is negotiated by the package of type SECPKG_FLAG_NEGO_EXTENDER.- See Also:
- Constant Field Values
-
SECPKG_FLAG_APPCONTAINER_PASSTHROUGH
static final int SECPKG_FLAG_APPCONTAINER_PASSTHROUGH
This package receives all calls from app container apps.- See Also:
- Constant Field Values
-
SECPKG_FLAG_APPCONTAINER_CHECKS
static final int SECPKG_FLAG_APPCONTAINER_CHECKS
This package receives calls from app container apps if one of the following checks succeeds.- Caller has default credentials capability.
- The target is a proxy server.
- The caller has supplied credentials.
- See Also:
- Constant Field Values
-
-