共用方式為


CSecureChannelClient Class

banner art

The CSecureChannelClient class is a helper class (not an interface) that enables applications to authenticate themselves, encrypt and decrypt data, and create MACs.

The CSecureChannelClient class exposes the following methods.

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

See Also