SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

MailReader Class

Properties   Methods   Events   Configuration Settings   Errors  

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

Syntax

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 class with short descriptions. Click on the links for further details.

AttachCountThe number of records in the Attach arrays.
AttachContentSubtypeContains the content subtype of the attachment.
AttachContentTypeContain the content type of the attachment.
AttachCreationDateThe creation date.
AttachDataThe content of the attachment.
AttachDescriptionTextual description of the attachment.
AttachFilenameSpecifies the name of the attachment file.
AttachIDContains the attachment's unique identifier.
AttachModificationDateSpecifies the date and time of the file's last modification.
AttachReadDateSpecifies the file's last read date.
AttachSizeAttachment's size in bytes.
BccAddrCountThe number of records in the BccAddr arrays.
BccAddrAddressContains the e-mail address in the form of john@doe.
BccAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
BccAddrGroupNameThe name of the group this address belongs to.
BlockedCertCountThe number of records in the BlockedCert arrays.
BlockedCertBytesReturns raw certificate data in DER format.
BlockedCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
CcAddrCountThe number of records in the CcAddr arrays.
CcAddrAddressContains the e-mail address in the form of john@doe.
CcAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
CcAddrGroupNameThe name of the group this address belongs to.
DecryptionCertBytesReturns raw certificate data in DER format.
DecryptionCertCAIndicates whether the certificate has a CA capability (a setting in BasicConstraints extension).
DecryptionCertCAKeyIDA unique identifier (fingerprint) of the CA certificate's private key.
DecryptionCertCRLDistributionPointsLocations of the CRL (Certificate Revocation List) distribution points used to check this certificate's validity.
DecryptionCertCurveSpecifies the elliptic curve of the EC public key.
DecryptionCertFingerprintContains the fingerprint (a hash imprint) of this certificate.
DecryptionCertFriendlyNameContains an associated alias (friendly name) of the certificate.
DecryptionCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
DecryptionCertHashAlgorithmSpecifies the hash algorithm to be used in the operations on the certificate (such as key signing) SB_HASH_ALGORITHM_SHA1 SHA1 SB_HASH_ALGORITHM_SHA224 SHA224 SB_HASH_ALGORITHM_SHA256 SHA256 SB_HASH_ALGORITHM_SHA384 SHA384 SB_HASH_ALGORITHM_SHA512 SHA512 SB_HASH_ALGORITHM_MD2 MD2 SB_HASH_ALGORITHM_MD4 MD4 SB_HASH_ALGORITHM_MD5 MD5 SB_HASH_ALGORITHM_RIPEMD160 RIPEMD160 SB_HASH_ALGORITHM_CRC32 CRC32 SB_HASH_ALGORITHM_SSL3 SSL3 SB_HASH_ALGORITHM_GOST_R3411_1994 GOST1994 SB_HASH_ALGORITHM_WHIRLPOOL WHIRLPOOL SB_HASH_ALGORITHM_POLY1305 POLY1305 SB_HASH_ALGORITHM_SHA3_224 SHA3_224 SB_HASH_ALGORITHM_SHA3_256 SHA3_256 SB_HASH_ALGORITHM_SHA3_384 SHA3_384 SB_HASH_ALGORITHM_SHA3_512 SHA3_512 SB_HASH_ALGORITHM_BLAKE2S_128 BLAKE2S_128 SB_HASH_ALGORITHM_BLAKE2S_160 BLAKE2S_160 SB_HASH_ALGORITHM_BLAKE2S_224 BLAKE2S_224 SB_HASH_ALGORITHM_BLAKE2S_256 BLAKE2S_256 SB_HASH_ALGORITHM_BLAKE2B_160 BLAKE2B_160 SB_HASH_ALGORITHM_BLAKE2B_256 BLAKE2B_256 SB_HASH_ALGORITHM_BLAKE2B_384 BLAKE2B_384 SB_HASH_ALGORITHM_BLAKE2B_512 BLAKE2B_512 SB_HASH_ALGORITHM_SHAKE_128 SHAKE_128 SB_HASH_ALGORITHM_SHAKE_256 SHAKE_256 SB_HASH_ALGORITHM_SHAKE_128_LEN SHAKE_128_LEN SB_HASH_ALGORITHM_SHAKE_256_LEN SHAKE_256_LEN .
DecryptionCertIssuerThe common name of the certificate issuer (CA), typically a company name.
DecryptionCertIssuerRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate issuer.
DecryptionCertKeyAlgorithmSpecifies the public key algorithm of this certificate.
DecryptionCertKeyBitsReturns the length of the public key.
DecryptionCertKeyFingerprintReturns a fingerprint of the public key contained in the certificate.
DecryptionCertKeyUsageIndicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.
DecryptionCertKeyValidReturns True if the certificate's key is cryptographically valid, and False otherwise.
DecryptionCertOCSPLocationsLocations of OCSP (Online Certificate Status Protocol) services that can be used to check this certificate's validity, as recorded by the CA.
DecryptionCertOriginReturns the origin of this certificate.
DecryptionCertPolicyIDsContains identifiers (OIDs) of the applicable certificate policies.
DecryptionCertPrivateKeyBytesContains the certificate's private key.
DecryptionCertPrivateKeyExistsIndicates whether the certificate has an associated private key.
DecryptionCertPrivateKeyExtractableIndicates whether the private key is extractable.
DecryptionCertPublicKeyBytesContains the certificate's public key in DER format.
DecryptionCertSelfSignedIndicates whether the certificate is self-signed (root) or signed by an external CA.
DecryptionCertSerialNumberReturns the certificate's serial number.
DecryptionCertSigAlgorithmIndicates the algorithm that was used by the CA to sign this certificate.
DecryptionCertSubjectThe common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.
DecryptionCertSubjectKeyIDContains a unique identifier (fingerprint) of the certificate's private key.
DecryptionCertSubjectRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject).
DecryptionCertValidFromThe time point at which the certificate becomes valid, in UTC.
DecryptionCertValidToThe time point at which the certificate expires, in UTC.
ExternalCryptoCustomParamsCustom parameters to be passed to the signing service (uninterpreted).
ExternalCryptoDataAdditional data to be included in the async state and mirrored back by the requestor.
ExternalCryptoExternalHashCalculationSpecifies whether the message hash is to be calculated at the external endpoint.
ExternalCryptoHashAlgorithmSpecifies the request's signature hash algorithm.
ExternalCryptoKeyIDThe ID of the pre-shared key used for DC request authentication.
ExternalCryptoKeySecretThe pre-shared key used for DC request authentication.
ExternalCryptoMethodSpecifies the asynchronous signing method.
ExternalCryptoModeSpecifies the external cryptography mode.
ExternalCryptoPublicKeyAlgorithmProvide public key algorithm here if the certificate is not available on the pre-signing stage.
FromAddrCountThe number of records in the FromAddr arrays.
FromAddrAddressContains the e-mail address in the form of john@doe.
FromAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
FromAddrGroupNameThe name of the group this address belongs to.
IgnoreChainValidationErrorsMakes the class tolerant to chain validation errors.
KnownCertCountThe number of records in the KnownCert arrays.
KnownCertBytesReturns raw certificate data in DER format.
KnownCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
KnownCRLCountThe number of records in the KnownCRL arrays.
KnownCRLBytesReturns raw CRL data in DER format.
KnownCRLHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
KnownOCSPCountThe number of records in the KnownOCSP arrays.
KnownOCSPBytesBuffer containing raw OCSP response data.
KnownOCSPHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
MsgAttachmentCountReturns the number of attachments in this message.
MsgBccThe contents of the BCC header property.
MsgCcThe value of the CC header property.
MsgCommentsContains additional information about the message body.
MsgDateThe date and time when the message entered the mail delivery system.
MsgDeliveryReceiptEnables delivery notification.
MsgFromContains the value of the From header property.
MsgHtmlTextThe HTML version of the message.
MsgIDThe contents of the Message-ID header property.
MsgInReplyToThe value of the In-Reply-To header property.
MsgKeywordsThe value of the Keywords header property.
MsgMailerThe name of the software that was used to send the message.
MsgPlainTextThe plain text version of the message.
MsgPrioritySpecifies the message priority.
MsgReadReceiptEnables a read notification.
MsgReferencesThe value of the References header property.
MsgReplyToThe value of the Reply-To header property.
MsgReturnPathThe value of the Return-Path header property.
MsgSenderThe value of the Sender header property.
MsgSendToThe value of the To header property.
MsgSubjectContains the subject property of this message.
OfflineModeSwitches the class to the offline mode.
HeaderFieldCountThe number of records in the HeaderField arrays.
HeaderFieldNameThe name element in a (name, value) pair.
HeaderFieldValueThe value element in a (name, value) pair.
ProfileSpecifies a pre-defined profile to apply when creating the signature.
ProxyAddressThe IP address of the proxy server.
ProxyAuthenticationThe authentication type used by the proxy server.
ProxyPasswordThe password to authenticate to the proxy server.
ProxyPortThe port on the proxy server to connect to.
ProxyProxyTypeThe type of the proxy server.
ProxyRequestHeadersContains HTTP request headers for WebTunnel and HTTP proxy.
ProxyResponseBodyContains the HTTP or HTTPS (WebTunnel) proxy response body.
ProxyResponseHeadersContains response headers received from an HTTP or HTTPS (WebTunnel) proxy server.
ProxyUseIPv6Specifies whether IPv6 should be used when connecting through the proxy.
ProxyUseProxyEnables or disables proxy-driven connection.
ProxyUsernameSpecifies the username credential for proxy authentication.
ReplyToAddrCountThe number of records in the ReplyToAddr arrays.
ReplyToAddrAddressContains the e-mail address in the form of john@doe.
ReplyToAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
ReplyToAddrGroupNameThe name of the group this address belongs to.
RevocationCheckSpecifies the kind(s) of revocation check to perform.
SecInfoChainValidationDetailsThe details of a certificate chain validation outcome.
SecInfoChainValidationResultThe outcome of a certificate chain validation routine.
SecInfoClaimedSigningTimeReturns the signature's claimed signing time.
SecInfoEncryptedIndicates whether the message is encrypted.
SecInfoEncryptionAlgorithmIndicates the algorithm that was used to encrypt the message.
SecInfoHashAlgorithmSpecifies the hash algorithm that was used to calculate the signature.
SecInfoSignatureValidationResultThe outcome of the cryptographic signature validation.
SecInfoSignedIndicates whether the message is signed.
SecInfoValidationLogContains the signing certificate's chain validation log.
SenderAddrAddressContains the e-mail address in the form of john@doe.
SenderAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
SenderAddrGroupNameThe name of the group this address belongs to.
SendToAddrCountThe number of records in the SendToAddr arrays.
SendToAddrAddressContains the e-mail address in the form of john@doe.
SendToAddrDisplayNameContains the friendly name of the user of this address, such as John Doe.
SendToAddrGroupNameThe name of the group this address belongs to.
SigningCertBytesReturns raw certificate data in DER format.
SigningCertCAIndicates whether the certificate has a CA capability (a setting in BasicConstraints extension).
SigningCertCAKeyIDA unique identifier (fingerprint) of the CA certificate's private key.
SigningCertCRLDistributionPointsLocations of the CRL (Certificate Revocation List) distribution points used to check this certificate's validity.
SigningCertCurveSpecifies the elliptic curve of the EC public key.
SigningCertFingerprintContains the fingerprint (a hash imprint) of this certificate.
SigningCertFriendlyNameContains an associated alias (friendly name) of the certificate.
SigningCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
SigningCertHashAlgorithmSpecifies the hash algorithm to be used in the operations on the certificate (such as key signing) SB_HASH_ALGORITHM_SHA1 SHA1 SB_HASH_ALGORITHM_SHA224 SHA224 SB_HASH_ALGORITHM_SHA256 SHA256 SB_HASH_ALGORITHM_SHA384 SHA384 SB_HASH_ALGORITHM_SHA512 SHA512 SB_HASH_ALGORITHM_MD2 MD2 SB_HASH_ALGORITHM_MD4 MD4 SB_HASH_ALGORITHM_MD5 MD5 SB_HASH_ALGORITHM_RIPEMD160 RIPEMD160 SB_HASH_ALGORITHM_CRC32 CRC32 SB_HASH_ALGORITHM_SSL3 SSL3 SB_HASH_ALGORITHM_GOST_R3411_1994 GOST1994 SB_HASH_ALGORITHM_WHIRLPOOL WHIRLPOOL SB_HASH_ALGORITHM_POLY1305 POLY1305 SB_HASH_ALGORITHM_SHA3_224 SHA3_224 SB_HASH_ALGORITHM_SHA3_256 SHA3_256 SB_HASH_ALGORITHM_SHA3_384 SHA3_384 SB_HASH_ALGORITHM_SHA3_512 SHA3_512 SB_HASH_ALGORITHM_BLAKE2S_128 BLAKE2S_128 SB_HASH_ALGORITHM_BLAKE2S_160 BLAKE2S_160 SB_HASH_ALGORITHM_BLAKE2S_224 BLAKE2S_224 SB_HASH_ALGORITHM_BLAKE2S_256 BLAKE2S_256 SB_HASH_ALGORITHM_BLAKE2B_160 BLAKE2B_160 SB_HASH_ALGORITHM_BLAKE2B_256 BLAKE2B_256 SB_HASH_ALGORITHM_BLAKE2B_384 BLAKE2B_384 SB_HASH_ALGORITHM_BLAKE2B_512 BLAKE2B_512 SB_HASH_ALGORITHM_SHAKE_128 SHAKE_128 SB_HASH_ALGORITHM_SHAKE_256 SHAKE_256 SB_HASH_ALGORITHM_SHAKE_128_LEN SHAKE_128_LEN SB_HASH_ALGORITHM_SHAKE_256_LEN SHAKE_256_LEN .
SigningCertIssuerThe common name of the certificate issuer (CA), typically a company name.
SigningCertIssuerRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate issuer.
SigningCertKeyAlgorithmSpecifies the public key algorithm of this certificate.
SigningCertKeyBitsReturns the length of the public key.
SigningCertKeyFingerprintReturns a fingerprint of the public key contained in the certificate.
SigningCertKeyUsageIndicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.
SigningCertKeyValidReturns True if the certificate's key is cryptographically valid, and False otherwise.
SigningCertOCSPLocationsLocations of OCSP (Online Certificate Status Protocol) services that can be used to check this certificate's validity, as recorded by the CA.
SigningCertPolicyIDsContains identifiers (OIDs) of the applicable certificate policies.
SigningCertPublicKeyBytesContains the certificate's public key in DER format.
SigningCertSelfSignedIndicates whether the certificate is self-signed (root) or signed by an external CA.
SigningCertSerialNumberReturns the certificate's serial number.
SigningCertSigAlgorithmIndicates the algorithm that was used by the CA to sign this certificate.
SigningCertSubjectThe common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.
SigningCertSubjectKeyIDContains a unique identifier (fingerprint) of the certificate's private key.
SigningCertSubjectRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject).
SigningCertValidFromThe time point at which the certificate becomes valid, in UTC.
SigningCertValidToThe time point at which the certificate expires, in UTC.
SocketDNSModeSelects the DNS resolver to use: the class's (secure) built-in one, or the one provided by the system.
SocketDNSPortSpecifies the port number to be used for sending queries to the DNS server.
SocketDNSQueryTimeoutThe timeout (in milliseconds) for each DNS query.
SocketDNSServersThe addresses of DNS servers to use for address resolution, separated by commas or semicolons.
SocketDNSTotalTimeoutThe timeout (in milliseconds) for the whole resolution process.
SocketIncomingSpeedLimitThe maximum number of bytes to read from the socket, per second.
SocketLocalAddressThe local network interface to bind the socket to.
SocketLocalPortThe local port number to bind the socket to.
SocketOutgoingSpeedLimitThe maximum number of bytes to write to the socket, per second.
SocketTimeoutThe maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful.
SocketUseIPv6Enables or disables IP protocol version 6.
TLSAutoValidateCertificatesSpecifies whether server-side TLS certificates should be validated automatically using internal validation rules.
TLSBaseConfigurationSelects the base configuration for the TLS settings.
TLSCiphersuitesA list of ciphersuites separated with commas or semicolons.
TLSECCurvesDefines the elliptic curves to enable.
TLSForceResumeIfDestinationChangesWhether to force TLS session resumption when the destination address changes.
TLSPreSharedIdentityDefines the identity used when the PSK (Pre-Shared Key) key-exchange mechanism is negotiated.
TLSPreSharedKeyContains the pre-shared for the PSK (Pre-Shared Key) key-exchange mechanism, encoded with base16.
TLSPreSharedKeyCiphersuiteDefines the ciphersuite used for PSK (Pre-Shared Key) negotiation.
TLSRenegotiationAttackPreventionModeSelects renegotiation attack prevention mechanism.
TLSRevocationCheckSpecifies the kind(s) of revocation check to perform.
TLSSSLOptionsVarious SSL (TLS) protocol options, set of cssloExpectShutdownMessage 0x001 Wait for the close-notify message when shutting down the connection cssloOpenSSLDTLSWorkaround 0x002 (DEPRECATED) Use a DTLS version workaround when talking to very old OpenSSL versions cssloDisableKexLengthAlignment 0x004 Do not align the client-side PMS by the RSA modulus size.
TLSTLSModeSpecifies the TLS mode to use.
TLSUseExtendedMasterSecretEnables Extended Master Secret Extension, as defined in RFC 7627.
TLSUseSessionResumptionEnables or disables TLS session resumption capability.
TLSVersionsTh SSL/TLS versions to enable by default.
TrustedCertCountThe number of records in the TrustedCert arrays.
TrustedCertBytesReturns raw certificate data in DER format.
TrustedCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
UsedCertCountThe number of records in the UsedCert arrays.
UsedCertBytesReturns raw certificate data in DER format.
UsedCertCAIndicates whether the certificate has a CA capability (a setting in BasicConstraints extension).
UsedCertCAKeyIDA unique identifier (fingerprint) of the CA certificate's private key.
UsedCertCRLDistributionPointsLocations of the CRL (Certificate Revocation List) distribution points used to check this certificate's validity.
UsedCertCurveSpecifies the elliptic curve of the EC public key.
UsedCertFingerprintContains the fingerprint (a hash imprint) of this certificate.
UsedCertFriendlyNameContains an associated alias (friendly name) of the certificate.
UsedCertHandleAllows to get or set a 'handle', a unique identifier of the underlying property object.
UsedCertHashAlgorithmSpecifies the hash algorithm to be used in the operations on the certificate (such as key signing) SB_HASH_ALGORITHM_SHA1 SHA1 SB_HASH_ALGORITHM_SHA224 SHA224 SB_HASH_ALGORITHM_SHA256 SHA256 SB_HASH_ALGORITHM_SHA384 SHA384 SB_HASH_ALGORITHM_SHA512 SHA512 SB_HASH_ALGORITHM_MD2 MD2 SB_HASH_ALGORITHM_MD4 MD4 SB_HASH_ALGORITHM_MD5 MD5 SB_HASH_ALGORITHM_RIPEMD160 RIPEMD160 SB_HASH_ALGORITHM_CRC32 CRC32 SB_HASH_ALGORITHM_SSL3 SSL3 SB_HASH_ALGORITHM_GOST_R3411_1994 GOST1994 SB_HASH_ALGORITHM_WHIRLPOOL WHIRLPOOL SB_HASH_ALGORITHM_POLY1305 POLY1305 SB_HASH_ALGORITHM_SHA3_224 SHA3_224 SB_HASH_ALGORITHM_SHA3_256 SHA3_256 SB_HASH_ALGORITHM_SHA3_384 SHA3_384 SB_HASH_ALGORITHM_SHA3_512 SHA3_512 SB_HASH_ALGORITHM_BLAKE2S_128 BLAKE2S_128 SB_HASH_ALGORITHM_BLAKE2S_160 BLAKE2S_160 SB_HASH_ALGORITHM_BLAKE2S_224 BLAKE2S_224 SB_HASH_ALGORITHM_BLAKE2S_256 BLAKE2S_256 SB_HASH_ALGORITHM_BLAKE2B_160 BLAKE2B_160 SB_HASH_ALGORITHM_BLAKE2B_256 BLAKE2B_256 SB_HASH_ALGORITHM_BLAKE2B_384 BLAKE2B_384 SB_HASH_ALGORITHM_BLAKE2B_512 BLAKE2B_512 SB_HASH_ALGORITHM_SHAKE_128 SHAKE_128 SB_HASH_ALGORITHM_SHAKE_256 SHAKE_256 SB_HASH_ALGORITHM_SHAKE_128_LEN SHAKE_128_LEN SB_HASH_ALGORITHM_SHAKE_256_LEN SHAKE_256_LEN .
UsedCertIssuerThe common name of the certificate issuer (CA), typically a company name.
UsedCertIssuerRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate issuer.
UsedCertKeyAlgorithmSpecifies the public key algorithm of this certificate.
UsedCertKeyBitsReturns the length of the public key.
UsedCertKeyFingerprintReturns a fingerprint of the public key contained in the certificate.
UsedCertKeyUsageIndicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.
UsedCertKeyValidReturns True if the certificate's key is cryptographically valid, and False otherwise.
UsedCertOCSPLocationsLocations of OCSP (Online Certificate Status Protocol) services that can be used to check this certificate's validity, as recorded by the CA.
UsedCertOriginReturns the origin of this certificate.
UsedCertPolicyIDsContains identifiers (OIDs) of the applicable certificate policies.
UsedCertPrivateKeyBytesContains the certificate's private key.
UsedCertPrivateKeyExistsIndicates whether the certificate has an associated private key.
UsedCertPrivateKeyExtractableIndicates whether the private key is extractable.
UsedCertPublicKeyBytesContains the certificate's public key in DER format.
UsedCertSelfSignedIndicates whether the certificate is self-signed (root) or signed by an external CA.
UsedCertSerialNumberReturns the certificate's serial number.
UsedCertSigAlgorithmIndicates the algorithm that was used by the CA to sign this certificate.
UsedCertSubjectThe common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.
UsedCertSubjectKeyIDContains a unique identifier (fingerprint) of the certificate's private key.
UsedCertSubjectRDNA collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject).
UsedCertValidFromThe time point at which the certificate becomes valid, in UTC.
UsedCertValidToThe time point at which the certificate expires, in UTC.
ValidationMomentThe time point at which signature validity is to be established.

Method List


The following is the full list of the methods of the class 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.

Event List


The following is the full list of the events fired by the class 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 class 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 class (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 classes 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 Node.js Edition - Version 20.0 [Build 8165]