MailMessage.Sign Method
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9083)
Sign(IEnumerable<Certificate>)
Signs a message.
Declaration
public void Sign(IEnumerable<Certificate> signers)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Certificate> | signers | The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available. |
Sign(Certificate[])
Signs a message.
Declaration
public void Sign(params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Certificate[] | signers | The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available. |
Sign(MailSignatureParameters, IEnumerable<Certificate>)
Signs a message.
Declaration
public void Sign(MailSignatureParameters signatureParameters, IEnumerable<Certificate> signers)
Parameters
Type | Name | Description |
---|---|---|
MailSignatureParameters | signatureParameters | Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1 detached signature). |
IEnumerable<Certificate> | signers | The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available. |
Sign(MailSignatureParameters, Certificate[])
Signs a message.
Declaration
public void Sign(MailSignatureParameters signatureParameters, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MailSignatureParameters | signatureParameters | Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1 detached signature). |
Certificate[] | signers | The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available. |