BaseAuth

Undocumented in source.

Members

Functions

acquireCredentialsHandle
auto acquireCredentialsHandle(string userName, string packageName, CredentialDirection credentialDirection)
Undocumented in source. Be warned that the author may not have intended to support it.
decrypt
auto decrypt(string data, string trailer)

Decrypt a previously encrypted string, returning the orignal data

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt
auto encrypt(string data)
Undocumented in source. Be warned that the author may not have intended to support it.
getNextSequenceNumber
auto getNextSequenceNumber()

Get the next sequence number for a transmission. Default implementation is to increment a counter

reset
void reset()

Reset everything to an unauthorized state

sign
string sign(string data)

sign a string suitable for transmission, returning the signature. Passing the data and signature to verify will determine if the data is unchanged.

verifySignature
void verifySignature(string data, string sig)

Verifies data and its signature. If verification fails, an sspi.error will be raised.

Manifest constants

DefaultSecurityContextFlags
enum DefaultSecurityContextFlags;
Undocumented in source.

Variables

context
SecHandle context;
Undocumented in source.
contextAttr
uint contextAttr;
Undocumented in source.
credentials
CredHandle credentials;
Undocumented in source.
credentialsExpiry
TimeStamp credentialsExpiry;
Undocumented in source.
dataRep
uint dataRep;
Undocumented in source.
isAuthenticated
bool isAuthenticated;
Undocumented in source.
nextSequenceNumber
uint nextSequenceNumber;
Undocumented in source.
packageInfo
SecPkgInfoW* packageInfo;
Undocumented in source.
packageName
string packageName;
Undocumented in source.
securityContextFlags
IscReq securityContextFlags;
Undocumented in source.

Meta