ITConnection::SetEncryptionKey method

[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The SetEncryptionKey method sets the encryption key needed to decrypt the session or an indication to a mechanism to obtain a usable key by external means.

Syntax

HRESULT SetEncryptionKey(
  [in] BSTR pKeyType,
  [in] BSTR *ppKeyData
);

Parameters

pKeyType [in]

Pointer to a BSTR containing the encryption key type.

ppKeyData [in]

Pointer to a BSTR containing encryption key information.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.

Remarks

The application must use SysAllocString to allocate memory for the pKeyType and ppKeyData parameters. The application must use SysFreeString to free the memory when the variables are no longer needed.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
Sdpblb.h
Library
Uuid.lib
DLL
Sdpblb.dll

See also

ITConnection