Skip to main content
IWMSecureChannel Interface interface

[IWMSecureChannel is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Microsoft PlayReady. ]

The IWMSecureChannel interface provides methods that allow two DLLs to validate each other and perform secure communication.

Members

The IWMSecureChannel Interface interface inherits from IWMAuthorizer. IWMSecureChannel Interface also has these types of members:

Methods

The IWMSecureChannel Interface interface has these methods.

MethodDescription
WMSC_AddCertificate

Adds certificates that this object can present to other securechannel objects. If no certs are added, then this object can only connect to objects with no signatures.

WMSC_AddSignature

Adds signatures that this object will look for when trying to connect. If no signatures are added, then this object will connect to any other object.

WMSC_Connect

Initializes the secure connection.

WMSC_Decrypt

Decrypts data across DLL boundaries.

WMSC_Disconnect

Destroys the secure connection.

WMSC_Encrypt

Encrypts data across DLL boundaries.

WMSC_GetValidCertificate

Returns a copy of the certificate that was used provided by the other side of the connection. Also returns the index of the signature that validated that certificate.

WMSC_IsConnected

Checks to see if the secure connection is valid.

WMSC_Lock

Used to lock access to the secure connection.

WMSC_SetSharedData

Used during the connection negotiation process.

WMSC_Unlock

Used to unlock access to the secure connection.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wmsecure.h

See also

IWMAuthorizer