다음을 통해 공유


Authentication Examples

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing applications can request authentication when sending messages, verify that authentication was requested when reading message, and enforce authentication so that the queue will only accept authenticated messages. (For information on how Message Queuing authenticates messages, including information on internal certificate, external certificates, and the digital signature types used to authenticate messages, see Message Authentication).

Code Examples

The following examples show how to request, validate, and enforce authentication.

Task Example
Requesting authentication using an internal certificate C/C++ Code Example: Requesting Authentication Using an Internal Certificate

 Visual Basic Code Example: Requesting Authentication Using an Internal Certificate
Requesting authentication using an external certificate C/C++ Code Example: Requesting Authentication Using an External Certificate

 Visual Basic Code Example: Requesting Authentication Using an External Certificate
Validating authentication C/C++ Code Example: Validating Authentication

 Visual Basic Code Example: Validating Authentication
Enforcing authentication C/C++ Code Example: Enforcing Authentication

 Visual Basic Code Example: Enforcing Authentication