addRecipientCert (method)
Used to add recipient certificates used to encrypt messages.
Syntax
- (void)addRecipientCert:(NSData*)certEncoded;
public func addRecipientCert(_ certEncoded: Data) throws -> Void
Remarks
This method adds a public certificate used when Encrypt is called. Public certificates of recipients may be added using this method or by adding a certificate directly to the RecipientCerts property.
CertEncoded must contain the PEM or Base64 encoded public certificate.