Method | Description | |
---|---|---|
Accept ( MimeVisitor visitor ) : void |
Dispatches to the specific visit method for this MIME entity. This default implementation for MimeKit.Cryptography.MultipartSigned nodes calls MimeKit.MimeVisitor.VisitMultipartSigned. Override this method to call into a more specific method on a derived visitor class of the MimeKit.MimeVisitor class. However, it should still support unknown visitors by calling MimeKit.MimeVisitor.VisitMultipartSigned. |
|
Create ( |
Creates a new MultipartSigned. Cryptographically signs the entity using the supplied signer in order to generate a detached signature and then adds the entity along with the detached signature data to a new multipart/signed part. |
|
Create ( MimeKit.Cryptography.CryptographyContext ctx, MailboxAddress signer, DigestAlgorithm digestAlgo, MimeEntity entity ) : |
Creates a new MultipartSigned. Cryptographically signs the entity using the supplied signer and digest algorithm in order to generate a detached signature and then adds the entity along with the detached signature data to a new multipart/signed part. |
|
Create ( MimeKit.Cryptography.OpenPgpContext ctx, |
Creates a new MultipartSigned. Cryptographically signs the entity using the supplied signer and digest algorithm in order to generate a detached signature and then adds the entity along with the detached signature data to a new multipart/signed part. |
|
Create ( |
Creates a new MultipartSigned. Cryptographically signs the entity using the supplied signer and digest algorithm in order to generate a detached signature and then adds the entity along with the detached signature data to a new multipart/signed part. |
|
Create ( MimeKit.Cryptography.SecureMimeContext ctx, |
Creates a new MultipartSigned. Cryptographically signs the entity using the supplied signer in order to generate a detached signature and then adds the entity along with the detached signature data to a new multipart/signed part. |
|
MultipartSigned ( ) : System |
Initializes a new instance of the MimeKit.Cryptography.MultipartSigned class. Creates a new MultipartSigned. |
|
MultipartSigned ( MimeEntityConstructorArgs args ) : System |
Initializes a new instance of the MimeKit.Cryptography.MultipartSigned class. This constructor is used by MimeKit.MimeParser. |
|
Prepare ( EncodingConstraint constraint, int maxLineLength = 78 ) : void |
Prepare the MIME entity for transport using the specified encoding constraints. Prepares the MIME entity for transport using the specified encoding constraints. |
|
Verify ( ) : DigitalSignatureCollection |
Verifies the multipart/signed part. Verifies the multipart/signed part using the default cryptography context. |
|
Verify ( MimeKit.Cryptography.CryptographyContext ctx ) : DigitalSignatureCollection |
Verifies the multipart/signed part. Verifies the multipart/signed part using the supplied cryptography context. |
public Accept ( MimeVisitor visitor ) : void | ||
visitor | MimeVisitor | The visitor. |
return | void |
public static Create ( |
||
signer | The signer. | |
entity | MimeEntity | The entity to sign. |
return |
public static Create ( MimeKit.Cryptography.CryptographyContext ctx, MailboxAddress signer, DigestAlgorithm digestAlgo, MimeEntity entity ) : |
||
ctx | MimeKit.Cryptography.CryptographyContext | The cryptography context to use for signing. |
signer | MailboxAddress | The signer. |
digestAlgo | DigestAlgorithm | The digest algorithm to use for signing. |
entity | MimeEntity | The entity to sign. |
return |
public static Create ( MimeKit.Cryptography.OpenPgpContext ctx, |
||
ctx | MimeKit.Cryptography.OpenPgpContext | The OpenPGP context to use for signing. |
signer | The signer. | |
digestAlgo | DigestAlgorithm | The digest algorithm to use for signing. |
entity | MimeEntity | The entity to sign. |
return |
public static Create ( |
||
signer | The signer. | |
digestAlgo | DigestAlgorithm | The digest algorithm to use for signing. |
entity | MimeEntity | The entity to sign. |
return |
public static Create ( MimeKit.Cryptography.SecureMimeContext ctx, |
||
ctx | MimeKit.Cryptography.SecureMimeContext | The S/MIME context to use for signing. |
signer | The signer. | |
entity | MimeEntity | The entity to sign. |
return |
public MultipartSigned ( MimeEntityConstructorArgs args ) : System | ||
args | MimeEntityConstructorArgs | Information used by the constructor. |
return | System |
public Prepare ( EncodingConstraint constraint, int maxLineLength = 78 ) : void | ||
constraint | EncodingConstraint | The encoding constraint. |
maxLineLength | int | The maximum number of octets allowed per line (not counting the CRLF). Must be between |
return | void |
public Verify ( ) : DigitalSignatureCollection | ||
return | DigitalSignatureCollection |
public Verify ( MimeKit.Cryptography.CryptographyContext ctx ) : DigitalSignatureCollection | ||
ctx | MimeKit.Cryptography.CryptographyContext | The cryptography context to use for verifying the signature. |
return | DigitalSignatureCollection |