AddRecipientCert Method
Used to add recipient certificates used to encrypt messages.
Syntax
[VB.NET] Public Sub AddRecipientCert(ByVal CertEncoded As String)
[C#] public void AddRecipientCert(byte[] certEncoded);
Remarks
This method is used to add recipient certificates to the internal MessageRecipients collection used to encrypt the Message. The recipient certificate must be a valid PKCS encoded certificate. If the certificate provided is Base64 encoded it will be decoded first by the object.
The CertMgr component may be used to retrieve the appropriate certificate from the system.