共用方式為


CSecureChannelClient Class

banner art

The CSecureChannelClient class helps an application authenticate a component by using the IComponentAuthenticate interface. The authentication process requires that the application create a CSecureChannelClient object and the component create a CSecureChannelServer object.

The CSecureChannelClient class exposes the following methods.

Method Description
Authenticate Triggers the exchange of certificates between components to establish trust.
DecryptParam Decrypts the data contained in a parameter.
EncryptParam Encrypts the data contained in a parameter.
fIsAuthenticated Verifies that a secure authentication channel has been successfully established.
GetAppSec Retrieves the application security levels of the local and remote components.
GetSessionKey Retrieves the current session key.
MACFinal Releases the message authentication code (MAC) channel and retrieves a final MAC value.
MACInit Acquires a message authentication code (MAC) channel.
MACUpdate Updates the message authentication code (MAC) value with a parameter value.
SetCertificate Specifies the certificate and private key of the secure authenticated channel (SAC) client.
SetInterface Selects the authentication interface into the secure authenticated channel (SAC).
SetSessionKey Sets the session key that is used to communicate with another component.

See Also