The ISmsMessage4::SetEncryptionCertificatesStore method, in Configuration Manager, sets the certificates to use for encrypting outgoing data.
[IDL] HRESULT SetEncryptionCertificatesStore( MPAPI_CERT_STORE_LOCATION StoreLocation, LPCWSTR szStoreName );
- Data type: MPAPI_CERT_STORE_LOCATIONQualifiers: [in]The location of the store. Possible values are defined by MPAPI_CERT_STORE_LOCATION Enumeration.
- Data type: LPCWSTRQualifiers: [in]Null-terminated string specifying the store name.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
This method is applicable only to the mixed security mode.
The certificate store must contain the public portion of the certificates for all management points that can possibly receive the message.
|If you are using Network Load Balancing (NLB), provide the certificate for each computer in the NLB cluster.|
The certificate store only needs to be set when the security flag MPAPI_SECURITYFLAG_ENCRYPT_MESSAGE is applied to the message. For more information, see MPAPI_SECURITY_FLAGS Enumeration.
Send comments about this topic to Microsoft.