sspi.helpers

Undocumented in source.

Members

Functions

acceptSecurityContext
auto acceptSecurityContext(CredHandle credentials, SecHandle* context, SecBufferDesc* input, uint fContextReq, uint targetDataRep, SecHandle* newContext, SecBufferDesc outputBufferDesc)

Based on Roger Upole's sspi demos.

completeAuthToken
void completeAuthToken(SecHandle* context, SecBufferDesc token)

Based on Roger Upole's sspi demos.

decryptMessage
uint decryptMessage(SecHandle context, SecBufferDesc message, uint messageSeqNo)

Based on Roger Upole's sspi demos.

deleteSecurityContext
void deleteSecurityContext(SecHandle* pContext)

Based on Roger Upole's sspi demos.

encryptMessage
void encryptMessage(SecHandle context, uint fQOP, SecBufferDesc message, uint messageSeqNo)

Based on Roger Upole's sspi demos.

freeCredentialsHandle
void freeCredentialsHandle(CredHandle* pCredentials)

Based on Roger Upole's sspi demos.

getUserName
string getUserName()

Based on Roger Upole's sspi demos.

impersonateSecurityContext
void impersonateSecurityContext(SecHandle* context)

Based on Roger Upole's sspi demos.

initializeSecurityContext
auto initializeSecurityContext(CredHandle credentials, SecHandle* context, string targetName, uint fContextReq, ulong reserved1, uint targetDataRep, SecBufferDesc* input, SecBufferDesc outputBufferDesc)

Based on Roger Upole's sspi demos.

initializeSecurityContext
auto initializeSecurityContext(CredHandle credentials, SecHandle* context, string targetName, uint fContextReq, ulong reserved1, uint targetDataRep, SecBufferDesc input, SecBufferDesc outputBufferDesc)

Based on Roger Upole's sspi demos.

initializeSecurityContextInitial
auto initializeSecurityContextInitial(CredHandle credentials, SecHandle* context, string targetName, uint fContextReq, ulong reserved1, uint targetDataRep, SecBufferDesc outputBufferDesc)

Based on Roger Upole's sspi demos.

makeSignature
void makeSignature(SecHandle context, uint fQOP, SecBufferDesc message, uint messageSeqNo)

Based on Roger Upole's sspi demos.

queryContextAttributes
T queryContextAttributes(SecHandle* context, SecPackageAttribute attribute)

Based on Roger Upole's sspi demos.

querySecurityPackageInfo
auto querySecurityPackageInfo(string packageName)

Based on Roger Upole's sspi demos.

revertSecurityContext
void revertSecurityContext(SecHandle* context)

Based on Roger Upole's sspi demos.

secSuccess
bool secSuccess(SECURITY_STATUS status)

Based on Roger Upole's sspi demos.

verifySignature
uint verifySignature(SecHandle context, SecBufferDesc message, uint messageSeqNo)

Based on Roger Upole's sspi demos.

Structs

SecurityContextResult
struct SecurityContextResult

Based on Roger Upole's sspi demos.

Meta