MimeEntity.SetSignedContent Method
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9119)
SetSignedContent(MimeEntity, Certificate[])
Sets the content of this entity to the specified signed entity.
Declaration
public void SetSignedContent(MimeEntity entity, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MimeEntity | 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.
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MimeEntity | entity | Entity to be added as signed content. |
MimeSignatureStyle | 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.
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, SignatureHashAlgorithm algorithm, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MimeEntity | entity | Entity to be added as signed content. |
MimeSignatureStyle | style | Signed content style. |
SignatureHashAlgorithm | 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.
Declaration
public void SetSignedContent(MimeEntity entity, SignatureParameters signatureParameters, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MimeEntity | entity | Entity to be added as signed content. |
SignatureParameters | 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.
Declaration
public void SetSignedContent(MimeEntity entity, MimeSignatureStyle style, SignatureParameters signatureParameters, params Certificate[] signers)
Parameters
Type | Name | Description |
---|---|---|
MimeEntity | entity | Entity to be added as signed content. |
MimeSignatureStyle | style | Signed content style. |
SignatureParameters | 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.