Public Member Functions | |
CServerContext (CCountedCredentialsHandle &credentials, ULONG attributes, ULONG tokenSize) | |
void | ImpersonateClient () const override |
void | RevertToSelf () const override |
const IServerContext * | GetAsServerContext () const override |
CContext * | Copy () const override |
void | StartHandshake (CToken &outputToken) override |
void | ContinueHandshake (const CSecurityBuffer &input, CToken &outputToken, CSecurityBuffer &extraData) override |
virtual const IClientContext * | GetAsClientContext () const |
JetByteTools::Core::_tstring | GetPackageName () const override |
ULONG | GetAttributes () const override |
TimeStamp | GetExpiry () const override |
JetByteTools::Core::_tstring | GetTargetName () const override |
Direction | GetDirection () const override |
Sizes | GetMaximumMessageSize () const override |
Sizes | GetTokenSize () const override |
Sizes | GetTrailerSize () const override |
Sizes | GetSignatureSize () const override |
bool | IsComplete () const |
SECURITY_STATUS | GetLastStatus () const |
void | EncryptData (CSecurityBuffer &data, CSecurityBuffer &trailer) |
void | DecryptData (CSecurityBuffer &data, const CSecurityBuffer &trailer) |
void | MakeSignature (const CSecurityBuffer &data, CSecurityBuffer &signature) |
void | VerifySignature (const CSecurityBuffer &data, const CSecurityBuffer &signature) |
void | QueryContextAttributes (SecPkgContext_PackageInfo &packageInfo) const |
Protected Types | |
enum | Direction { InboundContext, OutboundContext } |
enum | Direction { InboundContext, OutboundContext } |
typedef unsigned long | Sizes |
typedef unsigned long | Sizes |
Protected Member Functions | |
CtxtHandle & | GetContext () const |
void | CompleteTokenIfRequired (SECURITY_STATUS status, SecBufferDesc *pOutputToken) |
void | IsContextComplete (SECURITY_STATUS status) |
CredHandle * | GetCredentials () const |
bool | IsNewContextRequired () const |
void | ResetContext () |
void | CreateNewContext () |
void | SetLastStatus (SECURITY_STATUS lastStatus) |
Protected Attributes | |
CSmartCredentialsHandle | m_credentials |
ULONG | m_requiredAttributes |
ULONG | m_achievedAttributes |
TimeStamp | m_expiry |
typedef unsigned long Sizes [inherited] |
typedef unsigned long Sizes [inherited] |
enum Direction [inherited] |
enum Direction [inherited] |
CServerContext | ( | CCountedCredentialsHandle & | credentials, | |
ULONG | attributes, | |||
ULONG | tokenSize | |||
) |
void ImpersonateClient | ( | ) | const [override, virtual] |
Reimplemented from CContext.
void RevertToSelf | ( | ) | const [override, virtual] |
Reimplemented from CContext.
const IServerContext * GetAsServerContext | ( | ) | const [override, virtual] |
Reimplemented from CContext.
void ContinueHandshake | ( | const CSecurityBuffer & | input, | |
CToken & | outputToken, | |||
CSecurityBuffer & | extraData | |||
) | [override, virtual] |
Implements CContext.
const IClientContext * GetAsClientContext | ( | ) | const [virtual, inherited] |
Reimplemented in CClientContext.
_tstring GetPackageName | ( | ) | const [override, virtual, inherited] |
Implements IContext.
TimeStamp GetExpiry | ( | ) | const [override, virtual, inherited] |
Implements IContext.
_tstring GetTargetName | ( | ) | const [override, virtual, inherited] |
CContext::Direction GetDirection | ( | ) | const [override, virtual, inherited] |
Implements IContext.
CContext::Sizes GetMaximumMessageSize | ( | ) | const [override, virtual, inherited] |
Implements IContext.
CContext::Sizes GetTokenSize | ( | ) | const [override, virtual, inherited] |
Implements IContext.
CContext::Sizes GetTrailerSize | ( | ) | const [override, virtual, inherited] |
Implements IContext.
CContext::Sizes GetSignatureSize | ( | ) | const [override, virtual, inherited] |
Implements IContext.
bool IsComplete | ( | ) | const [inherited] |
SECURITY_STATUS GetLastStatus | ( | ) | const [inherited] |
void EncryptData | ( | CSecurityBuffer & | data, | |
CSecurityBuffer & | trailer | |||
) | [inherited] |
void DecryptData | ( | CSecurityBuffer & | data, | |
const CSecurityBuffer & | trailer | |||
) | [inherited] |
void MakeSignature | ( | const CSecurityBuffer & | data, | |
CSecurityBuffer & | signature | |||
) | [inherited] |
void VerifySignature | ( | const CSecurityBuffer & | data, | |
const CSecurityBuffer & | signature | |||
) | [inherited] |
void QueryContextAttributes | ( | SecPkgContext_PackageInfo & | packageInfo | ) | const [inherited] |
CtxtHandle & GetContext | ( | ) | const [protected, inherited] |
void CompleteTokenIfRequired | ( | SECURITY_STATUS | status, | |
SecBufferDesc * | pOutputToken | |||
) | [protected, inherited] |
void IsContextComplete | ( | SECURITY_STATUS | status | ) | [protected, inherited] |
CredHandle * GetCredentials | ( | ) | const [protected, inherited] |
bool IsNewContextRequired | ( | ) | const [protected, inherited] |
void ResetContext | ( | ) | [protected, inherited] |
void CreateNewContext | ( | ) | [protected, inherited] |
void SetLastStatus | ( | SECURITY_STATUS | lastStatus | ) | [protected, inherited] |
CSmartCredentialsHandle m_credentials [protected, inherited] |
ULONG m_requiredAttributes [protected, inherited] |
ULONG m_achievedAttributes [protected, inherited] |
TimeStamp m_expiry [protected, inherited] |