메소드 | 설명 | |
---|---|---|
Decrypt ( Stream encryptedData ) : MimeEntity |
Decrypt the encrypted data. Decrypt the encrypted data. |
|
EncapsulatedSign ( MailboxAddress signer, DigestAlgorithm digestAlgo, Stream content ) : |
Sign and encapsulate the content using the specified signer. Sign and encapsulate the content using the specified signer. |
|
Import ( Org certificate ) : void |
Import the specified certificate. Import the specified certificate. |
|
Import ( Stream stream, string password ) : void |
Imports certificates and keys from a pkcs12-encoded stream. Imports certificates and keys from a pkcs12-encoded stream. |
|
Import ( |
Import the specified certificate revocation list. Import the specified certificate revocation list. |
|
Sign ( MailboxAddress signer, DigestAlgorithm digestAlgo, Stream content ) : MimePart |
Sign the content using the specified signer. Sign the content using the specified signer. |
|
WindowsSecureMimeContext ( ) : System |
Initializes a new instance of the MimeKit.Cryptography.WindowsSecureMimeContext class. Constructs an S/MIME context using the current user's X.509 store location. |
|
WindowsSecureMimeContext ( StoreLocation location ) : System |
Initializes a new instance of the MimeKit.Cryptography.WindowsSecureMimeContext class. Creates a new WindowsSecureMimeContext. |
메소드 | 설명 | |
---|---|---|
GetCertificate ( IX509Selector selector ) : |
Gets the X.509 certificate based on the selector. Gets the X.509 certificate based on the selector. |
|
GetCertificateRevocationLists ( ) : IX509Store |
Gets the certificate revocation lists. Gets the certificate revocation lists. |
|
GetCmsRecipient ( MailboxAddress mailbox ) : CmsRecipient |
Gets the X.509 certificate associated with the MimeKit.MailboxAddress. Gets the X.509 certificate associated with the MimeKit.MailboxAddress. |
|
GetCmsSigner ( MailboxAddress mailbox, DigestAlgorithm digestAlgo ) : CmsSigner |
Gets the cms signer for the specified MimeKit.MailboxAddress. Gets the cms signer for the specified MimeKit.MailboxAddress. |
|
GetIntermediateCertificates ( ) : IX509Store |
Gets the intermediate certificates. Gets the intermediate certificates. |
|
GetPrivateKey ( IX509Selector selector ) : |
Gets the private key based on the provided selector. Gets the private key based on the provided selector. |
|
GetTrustedAnchors ( ) : Org.BouncyCastle.Utilities.Collections.HashSet |
Gets the trusted anchors. Gets the trusted anchors. |
|
UpdateSecureMimeCapabilities ( Org certificate, EncryptionAlgorithm algorithms, System.DateTime timestamp ) : void |
Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate. Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate. |
메소드 | 설명 | |
---|---|---|
DecodeEncryptionAlgorithms ( byte rawData ) : EncryptionAlgorithm[] | ||
GetCmsRecipientCertificate ( MailboxAddress mailbox ) : |
||
GetCmsSignerCertificate ( MailboxAddress mailbox ) : |
||
GetRealCmsRecipient ( MailboxAddress mailbox ) : |
||
GetRealCmsRecipients ( IEnumerable |
||
GetRealCmsSigner ( MailboxAddress mailbox, DigestAlgorithm digestAlgo ) : System.Security.Cryptography.Pkcs.CmsSigner | ||
ReadAllBytes ( Stream stream ) : byte[] |
public Decrypt ( Stream encryptedData ) : MimeEntity | ||
encryptedData | Stream | The encrypted data. |
리턴 | MimeEntity |
public EncapsulatedSign ( MailboxAddress signer, DigestAlgorithm digestAlgo, Stream content ) : |
||
signer | MailboxAddress | The signer. |
digestAlgo | DigestAlgorithm | The digest algorithm to use for signing. |
content | Stream | The content. |
리턴 |
protected GetCertificate ( IX509Selector selector ) : |
||
selector | IX509Selector | The search criteria for the certificate. |
리턴 |
protected GetCertificateRevocationLists ( ) : IX509Store | ||
리턴 | IX509Store |
protected GetCmsRecipient ( MailboxAddress mailbox ) : CmsRecipient | ||
mailbox | MailboxAddress | The mailbox. |
리턴 | CmsRecipient |
protected GetCmsSigner ( MailboxAddress mailbox, DigestAlgorithm digestAlgo ) : CmsSigner | ||
mailbox | MailboxAddress | The mailbox. |
digestAlgo | DigestAlgorithm | The preferred digest algorithm. |
리턴 | CmsSigner |
protected GetIntermediateCertificates ( ) : IX509Store | ||
리턴 | IX509Store |
protected GetPrivateKey ( IX509Selector selector ) : |
||
selector | IX509Selector | The search criteria for the private key. |
리턴 |
protected GetTrustedAnchors ( ) : Org.BouncyCastle.Utilities.Collections.HashSet | ||
리턴 | Org.BouncyCastle.Utilities.Collections.HashSet |
public Import ( Stream stream, string password ) : void | ||
stream | Stream | The raw certificate and key data. |
password | string | The password to unlock the stream. |
리턴 | void |
public Import ( |
||
crl | The certificate revocation list. | |
리턴 | void |
public Sign ( MailboxAddress signer, DigestAlgorithm digestAlgo, Stream content ) : MimePart | ||
signer | MailboxAddress | The signer. |
digestAlgo | DigestAlgorithm | The digest algorithm to use for signing. |
content | Stream | The content. |
리턴 | MimePart |
protected UpdateSecureMimeCapabilities ( Org certificate, EncryptionAlgorithm algorithms, System.DateTime timestamp ) : void | ||
certificate | Org | The certificate. |
algorithms | EncryptionAlgorithm | The encryption algorithm capabilities of the client (in preferred order). |
timestamp | System.DateTime | The timestamp. |
리턴 | void |
public WindowsSecureMimeContext ( StoreLocation location ) : System | ||
location | StoreLocation | The X.509 store location. |
리턴 | System |