MimeMessage.SetSignedContent Method
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9147)
SetSignedContent(MimeEntity, Certificate[])
Sets the content of this entity to the specified signed entity.
Inherited from Mime
Declaration
public void SetSignedContent(MimeEntity entity, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Mime |
entity | Entity to be added as signed content. |
Certificate[] | signers | The list of signers' certificates with private keys to sign the content. |
Remarks
Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.
SetSignedContent(MimeEntity, MimeSignatureStyle, Certificate[])
Sets the content of this entity to the specified signed content.
Inherited from Mime
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Mime |
entity | Entity to be added as signed content. |
Mime |
style | Signed content style. |
Certificate[] | signers | The list of signers' certificates with private keys to sign the content. |
Remarks
Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.
SetSignedContent(MimeEntity, MimeSignatureStyle, SignatureHashAlgorithm, Certificate[])
Sets the content of this entity to the specified signed content.
Inherited from Mime
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, SignatureHashAlgorithm algorithm, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Mime |
entity | Entity to be added as signed content. |
Mime |
style | Signed content style. |
Signature |
algorithm | Digest algorithm. |
Certificate[] | signers | The list of signers' certificates with private keys to sign the content. |
Remarks
Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.
SetSignedContent(MimeEntity, SignatureParameters, Certificate[])
Sets the content of this entity to the specified signed content.
Inherited from Mime
Declaration
public void SetSignedContent(MimeEntity entity, SignatureParameters signatureParameters, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Mime |
entity | Entity to be added as signed content. |
Signature |
signatureParameters | Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1). |
Certificate[] | signers | The list of signers' certificates with private keys to sign the content. |
Remarks
Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.
SetSignedContent(MimeEntity, MimeSignatureStyle, SignatureParameters, Certificate[])
Sets the content of this entity to the specified signed content.
Inherited from Mime
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, SignatureParameters signatureParameters, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
Mime |
entity | Entity to be added as signed content. |
Mime |
style | Signed content style. |
Signature |
signatureParameters | Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1). |
Certificate[] | signers | The list of signers' certificates with private keys to sign the content. |
Remarks
Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.