SecureBlackbox 2020 .NET Edition

Questions / Feedback?

MailReader Component

Properties   Methods   Events   Configuration Settings   Errors  

The MailReader component implements parsing and decryption of e-mail messages.

Syntax

nsoftware.SecureBlackbox.Mailreader

Remarks

MailReader parses and decrypts e-mail messages, as well as verifies electronic signatures.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

AttachmentsProvides access to Message's attachments.
BccThe contents of the BCC header field of the Message.
BlockedCertificatesThe certificates that must be rejected as trust anchors.
CcThe value of the CC header field of the Message.
DecryptionCertificateThe certificate to be used for decryption.
ExternalCryptoProvides access to external signing and DC parameters.
FromContains the value of the From header of the Message.
IgnoreChainValidationErrorsMakes the component tolerant to chain validation errors.
KnownCertificatesAdditional certificates for chain validation.
KnownCRLsAdditional CRLs for chain validation.
KnownOCSPsAdditional OCSP responses for chain validation.
MessageThe message that is currently stored in the component.
OfflineModeSwitches the component to the offline mode.
OtherHeadersContains secondary headers of the mail message.
ProfileSpecifies a pre-defined profile to apply when creating the signature.
ProxyThe proxy server settings.
ReplyToThe value of the Reply-To header field of the Message.
RevocationCheckSpecifies the kind(s) of revocation check to perform.
SecurityInfoContains the Message's security info.
SenderThe value of the Sender header field of the Message.
SendToThe value of the To header field of the Message.
SigningCertificateThe certificate of the signature creator.
SocketSettingsManages network connection settings.
TLSSettingsManages TLS layer settings.
TrustedCertificatesA list of trusted certificates for chain validation.
UsedCertificatesContains a list of certificates used during the chain validation routine.
ValidationMomentThe time point at which signature validity is to be established.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
FindAttachmentLooks up a Message's attachment by its ID.
LoadFromBytesLoads an e-mail message from a byte array.
LoadFromFileLoads an e-mail message from a file.
LoadFromStreamLoads an e-mail message from a stream.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ChainValidatedReports the completion of a certificate chain validation.
DecryptionInfoNeededAsks the application to provide a decryption certificate.
ErrorReports information about errors during e-mail message loading, parsing or saving.
ExternalDecryptHandles remote or external decryption.
NotificationThis event notifies the application about an underlying control flow event.
SignatureFoundSignifies the start of signature validation.
SignatureValidatedMarks the completion of the signature validation routine.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

GracePeriodSpecifies a grace period to apply during revocation information checks.
HeaderCharsetCharset of the header. If not empty, the one specified in the message header will be ignored.
IgnoreSystemTrustWhether trusted Windows Certificate Stores should be treated as trusted.
TempPathPath for storing temporary files.
TextCharsetCharset of text parts, if any. If not empty, the one specified in the message text parts will be ignored.
TolerateMinorChainIssuesWhether to tolerate minor chain issues.
UseMicrosoftCTLEnables or disables automatic use of Microsoft online certificate trust list.
UseSystemCertificatesEnables or disables the use of the system certificates.
CheckKeyIntegrityBeforeUseEnables or disable private key integrity check before use.
CookieCachingSpecifies whether a cookie cache should be used for HTTP(S) transports.
CookiesGets or sets local cookies for the component (supported for HTTPClient, RESTClient and SOAPClient only).
DefDeriveKeyIterationsSpecifies the default key derivation algorithm iteration count.
EnableClientSideSSLFFDHEEnables or disables finite field DHE key exchange support in TLS clients.
GlobalCookiesGets or sets global cookies for all the HTTP transports.
HttpUserAgentSpecifies the user agent name to be used by all HTTP clients.
LogDestinationSpecifies the debug log destination.
LogDetailsSpecifies the debug log details to dump.
LogFileSpecifies the debug log filename.
LogFiltersSpecifies the debug log filters.
LogFlushModeSpecifies the log flush mode.
LogLevelSpecifies the debug log level.
LogMaxEventCountSpecifies the maximum number of events to cache before further action is taken.
LogRotationModeSpecifies the log rotation mode.
MaxASN1BufferLengthSpecifies the maximal allowed length for ASN.1 primitive tag data.
MaxASN1TreeDepthSpecifies the maximal depth for processed ASN.1 trees.
OCSPHashAlgorithmSpecifies the hash algorithm to be used to identify certificates in OCSP requests.
UseOwnDNSResolverSpecifies whether the client components should use own DNS resolver.
UseSharedSystemStoragesSpecifies whether the validation engine should use a global per-process copy of the system certificate stores.
UseSystemOAEPAndPSSEnforces or disables the use of system-driven RSA OAEP and PSS computations.
UseSystemRandomEnables or disables the use of the OS PRNG.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]