IMFContentDecryptionModule::SetServerCertificate method (mfcontentdecryptionmodule.h)
Provides a server certificate to be used to encrypt messages to the license server.
Syntax
HRESULT SetServerCertificate(
const BYTE *certificate,
DWORD certificateSize
);
Parameters
certificate
A BYTE array containing the certificate.
certificateSize
The size of the array in certificate.
Return value
Returns S_OK on success.
Remarks
SetServerCertificate is based on the Encrypted Media Extension specification's SetServerCertificate.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | mfcontentdecryptionmodule.h |