# MailReader Component

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

## Syntax

```text
TsbxMailReader
```

## Remarks

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

Loading a e-mail message and accessing its properties:

```text
  MailReader reader = new MailReader();
  reader.LoadFromFile("path\\message.eml");
  Console.WriteLine($"From: {reader.Message.From}");
  Console.WriteLine($"To  : {reader.Message.SendTo}");
  Console.WriteLine($"Subject: {reader.Message.Subject}");
  Console.WriteLine($"Attachments: {reader.Message.AttachmentCount}");
  Console.WriteLine("Plain text:");
  Console.WriteLine(reader.Message.PlainText);
```

Checking a signed message and validating its signature:

```text
  MailReader reader = new MailReader();
  reader.LoadFromFile("path\\message.eml");
  if (reader.SecurityInfo.Signed)
  {
    if (reader.SecurityInfo.SignatureValidationResult == SignatureValidities.svtValid)
      Console.WriteLine($"Signed by {reader.SigningCertificate.Subject} and the signature is valid");
    else
      Console.WriteLine("Signature is NOT valid");
  }
```

Processing an encrypted e-mail message:

```text
  MailReader reader = new MailReader();
  reader.OnDecryptionInfoNeeded += (s, e) =>
  {
    // here you should provide a certificate for decryption;
    // use the provided IssuerRDN and SerialNumber/SubjectKeyID
    // values to find an appropriate certificate, then
    // assign the certificate to DecryptionCertificate property;
    // the certificate should include its private key
  };
  reader.LoadFromFile("path\\message.eml");
```

## Property List

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

|  |  |
| --- | --- |
| [AttachCount](#attachcount-property-mailreader-component) | The number of records in the Attach arrays. |
| [AttachContentSubtype](#attachcontentsubtype-property-mailreader-component) | Contains the content subtype of the attachment. |
| [AttachContentType](#attachcontenttype-property-mailreader-component) | Contains the content type of the attachment. |
| [AttachCreationDate](#attachcreationdate-property-mailreader-component) | The creation date. |
| [AttachData](#attachdata-property-mailreader-component) | The content of the attachment. |
| [AttachDescription](#attachdescription-property-mailreader-component) | Textual description of the attachment. |
| [AttachFileName](#attachfilename-property-mailreader-component) | Specifies the name of the attachment file. |
| [AttachHandle](#attachhandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [AttachID](#attachid-property-mailreader-component) | Contains the attachment's unique identifier. |
| [AttachModificationDate](#attachmodificationdate-property-mailreader-component) | Specifies the date and time of the file's last modification. |
| [AttachReadDate](#attachreaddate-property-mailreader-component) | Specifies the file's last read date. |
| [AttachSize](#attachsize-property-mailreader-component) | The attachment's size in bytes. |
| [BccAddrCount](#bccaddrcount-property-mailreader-component) | The number of records in the BccAddr arrays. |
| [BccAddrAddress](#bccaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [BccAddrDisplayName](#bccaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [BccAddrGroupName](#bccaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [BlockedCertCount](#blockedcertcount-property-mailreader-component) | The number of records in the BlockedCert arrays. |
| [BlockedCertBytes](#blockedcertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [BlockedCertHandle](#blockedcerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [CcAddrCount](#ccaddrcount-property-mailreader-component) | The number of records in the CcAddr arrays. |
| [CcAddrAddress](#ccaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [CcAddrDisplayName](#ccaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [CcAddrGroupName](#ccaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [DecryptionCertBytes](#decryptioncertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [DecryptionCertCA](#decryptioncertca-property-mailreader-component) | Indicates whether the certificate has a CA capability. |
| [DecryptionCertCAKeyID](#decryptioncertcakeyid-property-mailreader-component) | A unique identifier (fingerprint) of the CA certificate's cryptographic key. |
| [DecryptionCertCertType](#decryptioncertcerttype-property-mailreader-component) | Returns the type of the entity contained in the Certificate object. |
| [DecryptionCertCRLDistributionPoints](#decryptioncertcrldistributionpoints-property-mailreader-component) | Contains a list of locations of CRL distribution points used to check this certificate's validity. |
| [DecryptionCertCurve](#decryptioncertcurve-property-mailreader-component) | Specifies the elliptic curve associated with the certificate's public key. |
| [DecryptionCertFingerprint](#decryptioncertfingerprint-property-mailreader-component) | Contains the fingerprint (a hash imprint) of this certificate. |
| [DecryptionCertFriendlyName](#decryptioncertfriendlyname-property-mailreader-component) | Contains an associated alias (friendly name) of the certificate. |
| [DecryptionCertHandle](#decryptioncerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [DecryptionCertHashAlgorithm](#decryptioncerthashalgorithm-property-mailreader-component) | Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). |
| [DecryptionCertIssuer](#decryptioncertissuer-property-mailreader-component) | The common name of the certificate issuer (CA), typically a company name. |
| [DecryptionCertIssuerRDN](#decryptioncertissuerrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate issuer. |
| [DecryptionCertKeyAlgorithm](#decryptioncertkeyalgorithm-property-mailreader-component) | Specifies the public key algorithm of this certificate. |
| [DecryptionCertKeyBits](#decryptioncertkeybits-property-mailreader-component) | Returns the length of the public key in bits. |
| [DecryptionCertKeyFingerprint](#decryptioncertkeyfingerprint-property-mailreader-component) | Returns a SHA1 fingerprint of the public key contained in the certificate. |
| [DecryptionCertKeyUsage](#decryptioncertkeyusage-property-mailreader-component) | Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set. |
| [DecryptionCertKeyValid](#decryptioncertkeyvalid-property-mailreader-component) | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
| [DecryptionCertOCSPLocations](#decryptioncertocsplocations-property-mailreader-component) | Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA. |
| [DecryptionCertOCSPNoCheck](#decryptioncertocspnocheck-property-mailreader-component) | Accessor to the value of the certificate's ocsp-no-check extension. |
| [DecryptionCertOrigin](#decryptioncertorigin-property-mailreader-component) | Returns the location that the certificate was taken or loaded from. |
| [DecryptionCertPolicyIDs](#decryptioncertpolicyids-property-mailreader-component) | Contains identifiers (OIDs) of the applicable certificate policies. |
| [DecryptionCertPrivateKeyBytes](#decryptioncertprivatekeybytes-property-mailreader-component) | Returns the certificate's private key in DER-encoded format. |
| [DecryptionCertPrivateKeyExists](#decryptioncertprivatekeyexists-property-mailreader-component) | Indicates whether the certificate has a usable private key associated with it. |
| [DecryptionCertPrivateKeyExtractable](#decryptioncertprivatekeyextractable-property-mailreader-component) | Indicates whether the private key is extractable (exportable). |
| [DecryptionCertPublicKeyBytes](#decryptioncertpublickeybytes-property-mailreader-component) | Contains the certificate's public key in DER format. |
| [DecryptionCertQualified](#decryptioncertqualified-property-mailreader-component) | Indicates whether the certificate is qualified. |
| [DecryptionCertQualifiedStatements](#decryptioncertqualifiedstatements-property-mailreader-component) | Returns a simplified qualified status of the certificate. |
| [DecryptionCertQualifiers](#decryptioncertqualifiers-property-mailreader-component) | A list of qualifiers. |
| [DecryptionCertSelfSigned](#decryptioncertselfsigned-property-mailreader-component) | Indicates whether the certificate is self-signed (root) or signed by an external CA. |
| [DecryptionCertSerialNumber](#decryptioncertserialnumber-property-mailreader-component) | Returns the certificate's serial number. |
| [DecryptionCertSigAlgorithm](#decryptioncertsigalgorithm-property-mailreader-component) | Indicates the algorithm that was used by the CA to sign this certificate. |
| [DecryptionCertSource](#decryptioncertsource-property-mailreader-component) | Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response. |
| [DecryptionCertSubject](#decryptioncertsubject-property-mailreader-component) | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
| [DecryptionCertSubjectAlternativeName](#decryptioncertsubjectalternativename-property-mailreader-component) | Returns or sets the value of the Subject Alternative Name extension of the certificate. |
| [DecryptionCertSubjectKeyID](#decryptioncertsubjectkeyid-property-mailreader-component) | Contains a unique identifier of the certificate's cryptographic key. |
| [DecryptionCertSubjectRDN](#decryptioncertsubjectrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate holder (subject). |
| [DecryptionCertValid](#decryptioncertvalid-property-mailreader-component) | Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request. |
| [DecryptionCertValidFrom](#decryptioncertvalidfrom-property-mailreader-component) | The time point at which the certificate becomes valid, in UTC. |
| [DecryptionCertValidTo](#decryptioncertvalidto-property-mailreader-component) | The time point at which the certificate expires, in UTC. |
| [ExternalCryptoAsyncDocumentID](#externalcryptoasyncdocumentid-property-mailreader-component) | Specifies an optional document ID for SignAsyncBegin() and SignAsyncEnd() calls. |
| [ExternalCryptoCustomParams](#externalcryptocustomparams-property-mailreader-component) | Custom parameters to be passed to the signing service (uninterpreted). |
| [ExternalCryptoData](#externalcryptodata-property-mailreader-component) | Additional data to be included in the async state and mirrored back by the requestor. |
| [ExternalCryptoExternalHashCalculation](#externalcryptoexternalhashcalculation-property-mailreader-component) | Specifies whether the message hash is to be calculated at the external endpoint. |
| [ExternalCryptoHashAlgorithm](#externalcryptohashalgorithm-property-mailreader-component) | Specifies the request's signature hash algorithm. |
| [ExternalCryptoKeyID](#externalcryptokeyid-property-mailreader-component) | The ID of the pre-shared key used for DC request authentication. |
| [ExternalCryptoKeySecret](#externalcryptokeysecret-property-mailreader-component) | The pre-shared key used for DC request authentication. |
| [ExternalCryptoMethod](#externalcryptomethod-property-mailreader-component) | Specifies the asynchronous signing method. |
| [ExternalCryptoMode](#externalcryptomode-property-mailreader-component) | Specifies the external cryptography mode. |
| [ExternalCryptoPublicKeyAlgorithm](#externalcryptopublickeyalgorithm-property-mailreader-component) | Provide the public key algorithm here if the certificate is not available on the pre-signing stage. |
| [FIPSMode](#fipsmode-property-mailreader-component) | Reserved. |
| [FromAddrCount](#fromaddrcount-property-mailreader-component) | The number of records in the FromAddr arrays. |
| [FromAddrAddress](#fromaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [FromAddrDisplayName](#fromaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [FromAddrGroupName](#fromaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [IgnoreChainValidationErrors](#ignorechainvalidationerrors-property-mailreader-component) | Makes the component tolerant to chain validation errors. |
| [KnownCertCount](#knowncertcount-property-mailreader-component) | The number of records in the KnownCert arrays. |
| [KnownCertBytes](#knowncertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [KnownCertHandle](#knowncerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [KnownCRLCount](#knowncrlcount-property-mailreader-component) | The number of records in the KnownCRL arrays. |
| [KnownCRLBytes](#knowncrlbytes-property-mailreader-component) | Returns the raw CRL data in DER format. |
| [KnownCRLHandle](#knowncrlhandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [KnownOCSPCount](#knownocspcount-property-mailreader-component) | The number of records in the KnownOCSP arrays. |
| [KnownOCSPBytes](#knownocspbytes-property-mailreader-component) | A buffer containing the raw OCSP response data. |
| [KnownOCSPHandle](#knownocsphandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [MsgAttachmentCount](#msgattachmentcount-property-mailreader-component) | Returns the number of attachments in this message. |
| [MsgBcc](#msgbcc-property-mailreader-component) | The contents of the BCC header property. |
| [MsgCc](#msgcc-property-mailreader-component) | The value of the CC header property. |
| [MsgComments](#msgcomments-property-mailreader-component) | Contains additional information about the message body. |
| [MsgDate](#msgdate-property-mailreader-component) | The date and time when the message entered the mail delivery system. |
| [MsgDeliveryReceipt](#msgdeliveryreceipt-property-mailreader-component) | Enables delivery notification. |
| [MsgFrom](#msgfrom-property-mailreader-component) | Contains the value of the From header property. |
| [MsgHandle](#msghandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [MsgHtmlText](#msghtmltext-property-mailreader-component) | The HTML version of the message. |
| [MsgID](#msgid-property-mailreader-component) | The contents of the Message-ID header property. |
| [MsgInReplyTo](#msginreplyto-property-mailreader-component) | The value of the In-Reply-To header property. |
| [MsgKeywords](#msgkeywords-property-mailreader-component) | The value of the Keywords header property. |
| [MsgMailer](#msgmailer-property-mailreader-component) | The name of the software that was used to send the message. |
| [MsgPlainText](#msgplaintext-property-mailreader-component) | The plain text version of the message. |
| [MsgPriority](#msgpriority-property-mailreader-component) | Specifies the message priority. |
| [MsgReadReceipt](#msgreadreceipt-property-mailreader-component) | Enables a read notification. |
| [MsgReferences](#msgreferences-property-mailreader-component) | The value of the References header property. |
| [MsgReplyTo](#msgreplyto-property-mailreader-component) | The value of the Reply-To header property. |
| [MsgReturnPath](#msgreturnpath-property-mailreader-component) | The value of the Return-Path header property. |
| [MsgSender](#msgsender-property-mailreader-component) | The value of the Sender header property. |
| [MsgSendTo](#msgsendto-property-mailreader-component) | The value of the To header property. |
| [MsgSubject](#msgsubject-property-mailreader-component) | Contains the subject property of this message. |
| [OfflineMode](#offlinemode-property-mailreader-component) | Switches the component to offline mode. |
| [HeaderFieldCount](#headerfieldcount-property-mailreader-component) | The number of records in the HeaderField arrays. |
| [HeaderFieldCategory](#headerfieldcategory-property-mailreader-component) | Specifies the string category of the contained value. |
| [HeaderFieldFormat](#headerfieldformat-property-mailreader-component) | Specifies the format (encoding) of the value contained in the Value property. |
| [HeaderFieldName](#headerfieldname-property-mailreader-component) | The name element in a (name, value) pair. |
| [HeaderFieldValue](#headerfieldvalue-property-mailreader-component) | The value element in a (name, value) pair. |
| [Profile](#profile-property-mailreader-component) | Specifies a pre-defined profile to apply when creating the signature. |
| [ProxyAddress](#proxyaddress-property-mailreader-component) | The IP address of the proxy server. |
| [ProxyAuthentication](#proxyauthentication-property-mailreader-component) | The authentication type used by the proxy server. |
| [ProxyPassword](#proxypassword-property-mailreader-component) | The password to authenticate to the proxy server. |
| [ProxyPort](#proxyport-property-mailreader-component) | The port on the proxy server to connect to. |
| [ProxyType](#proxytype-property-mailreader-component) | The type of the proxy server. |
| [ProxyRequestHeaders](#proxyrequestheaders-property-mailreader-component) | Contains HTTP request headers for WebTunnel and HTTP proxy. |
| [ProxyResponseBody](#proxyresponsebody-property-mailreader-component) | Contains the HTTP or HTTPS (WebTunnel) proxy response body. |
| [ProxyResponseHeaders](#proxyresponseheaders-property-mailreader-component) | Contains response headers received from an HTTP or HTTPS (WebTunnel) proxy server. |
| [ProxyUseIPv6](#proxyuseipv6-property-mailreader-component) | Specifies whether IPv6 should be used when connecting through the proxy. |
| [ProxyUsername](#proxyusername-property-mailreader-component) | Specifies the username credential for proxy authentication. |
| [ReplyToAddrCount](#replytoaddrcount-property-mailreader-component) | The number of records in the ReplyToAddr arrays. |
| [ReplyToAddrAddress](#replytoaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [ReplyToAddrDisplayName](#replytoaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [ReplyToAddrGroupName](#replytoaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [RevocationCheck](#revocationcheck-property-mailreader-component) | Specifies the kind(s) of revocation check to perform for all chain certificates. |
| [SecInfoChainValidationDetails](#secinfochainvalidationdetails-property-mailreader-component) | The details of a certificate chain validation outcome. |
| [SecInfoChainValidationResult](#secinfochainvalidationresult-property-mailreader-component) | The outcome of a certificate chain validation routine. |
| [SecInfoClaimedSigningTime](#secinfoclaimedsigningtime-property-mailreader-component) | Returns the signature's claimed signing time. |
| [SecInfoEncrypted](#secinfoencrypted-property-mailreader-component) | Indicates whether the message is encrypted. |
| [SecInfoEncryptionAlgorithm](#secinfoencryptionalgorithm-property-mailreader-component) | Indicates the algorithm that was used to encrypt the message. |
| [SecInfoHashAlgorithm](#secinfohashalgorithm-property-mailreader-component) | Specifies the hash algorithm that was used to calculate the signature. |
| [SecInfoSignatureValidationResult](#secinfosignaturevalidationresult-property-mailreader-component) | The outcome of the cryptographic signature validation. |
| [SecInfoSigned](#secinfosigned-property-mailreader-component) | Indicates whether the message is signed. |
| [SecInfoValidationLog](#secinfovalidationlog-property-mailreader-component) | Contains the signing certificate's chain validation log. |
| [SenderAddrAddress](#senderaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [SenderAddrDisplayName](#senderaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [SenderAddrGroupName](#senderaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [SendToAddrCount](#sendtoaddrcount-property-mailreader-component) | The number of records in the SendToAddr arrays. |
| [SendToAddrAddress](#sendtoaddraddress-property-mailreader-component) | Contains the e-mail address in the form of john@doe. |
| [SendToAddrDisplayName](#sendtoaddrdisplayname-property-mailreader-component) | Contains the friendly name of the user of this address, such as John Doe. |
| [SendToAddrGroupName](#sendtoaddrgroupname-property-mailreader-component) | The name of the group this address belongs to. |
| [SigningCertBytes](#signingcertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [SigningCertCA](#signingcertca-property-mailreader-component) | Indicates whether the certificate has a CA capability. |
| [SigningCertCAKeyID](#signingcertcakeyid-property-mailreader-component) | A unique identifier (fingerprint) of the CA certificate's cryptographic key. |
| [SigningCertCRLDistributionPoints](#signingcertcrldistributionpoints-property-mailreader-component) | Contains a list of locations of CRL distribution points used to check this certificate's validity. |
| [SigningCertCurve](#signingcertcurve-property-mailreader-component) | Specifies the elliptic curve associated with the certificate's public key. |
| [SigningCertFingerprint](#signingcertfingerprint-property-mailreader-component) | Contains the fingerprint (a hash imprint) of this certificate. |
| [SigningCertFriendlyName](#signingcertfriendlyname-property-mailreader-component) | Contains an associated alias (friendly name) of the certificate. |
| [SigningCertHandle](#signingcerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [SigningCertHashAlgorithm](#signingcerthashalgorithm-property-mailreader-component) | Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). |
| [SigningCertIssuer](#signingcertissuer-property-mailreader-component) | The common name of the certificate issuer (CA), typically a company name. |
| [SigningCertIssuerRDN](#signingcertissuerrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate issuer. |
| [SigningCertKeyAlgorithm](#signingcertkeyalgorithm-property-mailreader-component) | Specifies the public key algorithm of this certificate. |
| [SigningCertKeyBits](#signingcertkeybits-property-mailreader-component) | Returns the length of the public key in bits. |
| [SigningCertKeyFingerprint](#signingcertkeyfingerprint-property-mailreader-component) | Returns a SHA1 fingerprint of the public key contained in the certificate. |
| [SigningCertKeyUsage](#signingcertkeyusage-property-mailreader-component) | Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set. |
| [SigningCertKeyValid](#signingcertkeyvalid-property-mailreader-component) | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
| [SigningCertOCSPLocations](#signingcertocsplocations-property-mailreader-component) | Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA. |
| [SigningCertPolicyIDs](#signingcertpolicyids-property-mailreader-component) | Contains identifiers (OIDs) of the applicable certificate policies. |
| [SigningCertPublicKeyBytes](#signingcertpublickeybytes-property-mailreader-component) | Contains the certificate's public key in DER format. |
| [SigningCertSelfSigned](#signingcertselfsigned-property-mailreader-component) | Indicates whether the certificate is self-signed (root) or signed by an external CA. |
| [SigningCertSerialNumber](#signingcertserialnumber-property-mailreader-component) | Returns the certificate's serial number. |
| [SigningCertSigAlgorithm](#signingcertsigalgorithm-property-mailreader-component) | Indicates the algorithm that was used by the CA to sign this certificate. |
| [SigningCertSubject](#signingcertsubject-property-mailreader-component) | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
| [SigningCertSubjectKeyID](#signingcertsubjectkeyid-property-mailreader-component) | Contains a unique identifier of the certificate's cryptographic key. |
| [SigningCertSubjectRDN](#signingcertsubjectrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate holder (subject). |
| [SigningCertValidFrom](#signingcertvalidfrom-property-mailreader-component) | The time point at which the certificate becomes valid, in UTC. |
| [SigningCertValidTo](#signingcertvalidto-property-mailreader-component) | The time point at which the certificate expires, in UTC. |
| [SocketDNSMode](#socketdnsmode-property-mailreader-component) | Selects the DNS resolver to use: the component's (secure) built-in one, or the one provided by the system. |
| [SocketDNSPort](#socketdnsport-property-mailreader-component) | Specifies the port number to be used for sending queries to the DNS server. |
| [SocketDNSQueryTimeout](#socketdnsquerytimeout-property-mailreader-component) | The timeout (in milliseconds) for each DNS query. |
| [SocketDNSServers](#socketdnsservers-property-mailreader-component) | The addresses of DNS servers to use for address resolution, separated by commas or semicolons. |
| [SocketDNSTotalTimeout](#socketdnstotaltimeout-property-mailreader-component) | The timeout (in milliseconds) for the whole resolution process. |
| [SocketIncomingSpeedLimit](#socketincomingspeedlimit-property-mailreader-component) | The maximum number of bytes to read from the socket, per second. |
| [SocketLocalAddress](#socketlocaladdress-property-mailreader-component) | The local network interface to bind the socket to. |
| [SocketLocalPort](#socketlocalport-property-mailreader-component) | The local port number to bind the socket to. |
| [SocketOutgoingSpeedLimit](#socketoutgoingspeedlimit-property-mailreader-component) | The maximum number of bytes to write to the socket, per second. |
| [SocketTimeout](#sockettimeout-property-mailreader-component) | The maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful. |
| [SocketUseIPv6](#socketuseipv6-property-mailreader-component) | Enables or disables IP protocol version 6. |
| [TLSAutoValidateCertificates](#tlsautovalidatecertificates-property-mailreader-component) | Specifies whether server-side TLS certificates should be validated automatically using internal validation rules. |
| [TLSBaseConfiguration](#tlsbaseconfiguration-property-mailreader-component) | Selects the base configuration for the TLS settings. |
| [TLSCiphersuites](#tlsciphersuites-property-mailreader-component) | A list of ciphersuites separated with commas or semicolons. |
| [TLSClientAuth](#tlsclientauth-property-mailreader-component) | Enables or disables certificate-based client authentication. |
| [TLSExtensions](#tlsextensions-property-mailreader-component) | Provides access to TLS extensions. |
| [TLSForceResumeIfDestinationChanges](#tlsforceresumeifdestinationchanges-property-mailreader-component) | Whether to force TLS session resumption when the destination address changes. |
| [TLSGroups](#tlsgroups-property-mailreader-component) | Specifies a list of key exchange groups to attempt during the TLS key exchange. |
| [TLSPreSharedIdentity](#tlspresharedidentity-property-mailreader-component) | Defines the identity used when the PSK (Pre-Shared Key) key-exchange mechanism is negotiated. |
| [TLSPreSharedKey](#tlspresharedkey-property-mailreader-component) | Contains the pre-shared key for the PSK (Pre-Shared Key) key-exchange mechanism, encoded with base16. |
| [TLSPreSharedKeyCiphersuite](#tlspresharedkeyciphersuite-property-mailreader-component) | Defines the ciphersuite used for PSK (Pre-Shared Key) negotiation. |
| [TLSRenegotiationAttackPreventionMode](#tlsrenegotiationattackpreventionmode-property-mailreader-component) | Selects the renegotiation attack prevention mechanism. |
| [TLSRevocationCheck](#tlsrevocationcheck-property-mailreader-component) | Specifies the kind(s) of revocation check to perform. |
| [TLSSSLOptions](#tlsssloptions-property-mailreader-component) | Various 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. |
| [TLSMode](#tlsmode-property-mailreader-component) | Specifies the TLS mode to use. |
| [TLSUseExtendedMasterSecret](#tlsuseextendedmastersecret-property-mailreader-component) | Enables the Extended Master Secret Extension, as defined in RFC 7627. |
| [TLSUseSessionResumption](#tlsusesessionresumption-property-mailreader-component) | Enables or disables the TLS session resumption capability. |
| [TLSVersions](#tlsversions-property-mailreader-component) | The SSL/TLS versions to enable by default. |
| [TrustedCertCount](#trustedcertcount-property-mailreader-component) | The number of records in the TrustedCert arrays. |
| [TrustedCertBytes](#trustedcertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [TrustedCertHandle](#trustedcerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [UsedCertCount](#usedcertcount-property-mailreader-component) | The number of records in the UsedCert arrays. |
| [UsedCertBytes](#usedcertbytes-property-mailreader-component) | Returns the raw certificate data in DER format. |
| [UsedCertCA](#usedcertca-property-mailreader-component) | Indicates whether the certificate has a CA capability. |
| [UsedCertCAKeyID](#usedcertcakeyid-property-mailreader-component) | A unique identifier (fingerprint) of the CA certificate's cryptographic key. |
| [UsedCertCertType](#usedcertcerttype-property-mailreader-component) | Returns the type of the entity contained in the Certificate object. |
| [UsedCertCRLDistributionPoints](#usedcertcrldistributionpoints-property-mailreader-component) | Contains a list of locations of CRL distribution points used to check this certificate's validity. |
| [UsedCertCurve](#usedcertcurve-property-mailreader-component) | Specifies the elliptic curve associated with the certificate's public key. |
| [UsedCertFingerprint](#usedcertfingerprint-property-mailreader-component) | Contains the fingerprint (a hash imprint) of this certificate. |
| [UsedCertFriendlyName](#usedcertfriendlyname-property-mailreader-component) | Contains an associated alias (friendly name) of the certificate. |
| [UsedCertHandle](#usedcerthandle-property-mailreader-component) | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
| [UsedCertHashAlgorithm](#usedcerthashalgorithm-property-mailreader-component) | Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). |
| [UsedCertIssuer](#usedcertissuer-property-mailreader-component) | The common name of the certificate issuer (CA), typically a company name. |
| [UsedCertIssuerRDN](#usedcertissuerrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate issuer. |
| [UsedCertKeyAlgorithm](#usedcertkeyalgorithm-property-mailreader-component) | Specifies the public key algorithm of this certificate. |
| [UsedCertKeyBits](#usedcertkeybits-property-mailreader-component) | Returns the length of the public key in bits. |
| [UsedCertKeyFingerprint](#usedcertkeyfingerprint-property-mailreader-component) | Returns a SHA1 fingerprint of the public key contained in the certificate. |
| [UsedCertKeyUsage](#usedcertkeyusage-property-mailreader-component) | Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set. |
| [UsedCertKeyValid](#usedcertkeyvalid-property-mailreader-component) | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
| [UsedCertOCSPLocations](#usedcertocsplocations-property-mailreader-component) | Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA. |
| [UsedCertOCSPNoCheck](#usedcertocspnocheck-property-mailreader-component) | Accessor to the value of the certificate's ocsp-no-check extension. |
| [UsedCertOrigin](#usedcertorigin-property-mailreader-component) | Returns the location that the certificate was taken or loaded from. |
| [UsedCertPolicyIDs](#usedcertpolicyids-property-mailreader-component) | Contains identifiers (OIDs) of the applicable certificate policies. |
| [UsedCertPrivateKeyBytes](#usedcertprivatekeybytes-property-mailreader-component) | Returns the certificate's private key in DER-encoded format. |
| [UsedCertPrivateKeyExists](#usedcertprivatekeyexists-property-mailreader-component) | Indicates whether the certificate has a usable private key associated with it. |
| [UsedCertPrivateKeyExtractable](#usedcertprivatekeyextractable-property-mailreader-component) | Indicates whether the private key is extractable (exportable). |
| [UsedCertPublicKeyBytes](#usedcertpublickeybytes-property-mailreader-component) | Contains the certificate's public key in DER format. |
| [UsedCertQualified](#usedcertqualified-property-mailreader-component) | Indicates whether the certificate is qualified. |
| [UsedCertQualifiedStatements](#usedcertqualifiedstatements-property-mailreader-component) | Returns a simplified qualified status of the certificate. |
| [UsedCertQualifiers](#usedcertqualifiers-property-mailreader-component) | A list of qualifiers. |
| [UsedCertSelfSigned](#usedcertselfsigned-property-mailreader-component) | Indicates whether the certificate is self-signed (root) or signed by an external CA. |
| [UsedCertSerialNumber](#usedcertserialnumber-property-mailreader-component) | Returns the certificate's serial number. |
| [UsedCertSigAlgorithm](#usedcertsigalgorithm-property-mailreader-component) | Indicates the algorithm that was used by the CA to sign this certificate. |
| [UsedCertSource](#usedcertsource-property-mailreader-component) | Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response. |
| [UsedCertSubject](#usedcertsubject-property-mailreader-component) | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
| [UsedCertSubjectAlternativeName](#usedcertsubjectalternativename-property-mailreader-component) | Returns or sets the value of the Subject Alternative Name extension of the certificate. |
| [UsedCertSubjectKeyID](#usedcertsubjectkeyid-property-mailreader-component) | Contains a unique identifier of the certificate's cryptographic key. |
| [UsedCertSubjectRDN](#usedcertsubjectrdn-property-mailreader-component) | A list of Property=Value pairs that uniquely identify the certificate holder (subject). |
| [UsedCertValid](#usedcertvalid-property-mailreader-component) | Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request. |
| [UsedCertValidFrom](#usedcertvalidfrom-property-mailreader-component) | The time point at which the certificate becomes valid, in UTC. |
| [UsedCertValidTo](#usedcertvalidto-property-mailreader-component) | The time point at which the certificate expires, in UTC. |
| [ValidationMoment](#validationmoment-property-mailreader-component) | The 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.*

|  |  |
| --- | --- |
| [Config](#config-method-mailreader-component) | Sets or retrieves a configuration setting. |
| [DoAction](#doaction-method-mailreader-component) | Performs an additional action. |
| [FindAttachment](#findattachment-method-mailreader-component) | Looks up a Message's attachment by its ID. |
| [LoadFromBytes](#loadfrombytes-method-mailreader-component) | Loads an e-mail message from a byte array. |
| [LoadFromFile](#loadfromfile-method-mailreader-component) | Loads an e-mail message from a file. |
| [Reset](#reset-method-mailreader-component) | Resets the component settings. |

## 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.*

|  |  |
| --- | --- |
| [ChainValidated](#chainvalidated-event-mailreader-component) | Reports the completion of a certificate chain validation. |
| [DecryptionInfoNeeded](#decryptioninfoneeded-event-mailreader-component) | Asks the application to provide a decryption certificate. |
| [Error](#error-event-mailreader-component) | Reports information about errors during e-mail message loading, parsing or saving. |
| [ExternalDecrypt](#externaldecrypt-event-mailreader-component) | Handles remote or external decryption. |
| [Notification](#notification-event-mailreader-component) | This event notifies the application about an underlying control flow event. |
| [SignatureFound](#signaturefound-event-mailreader-component) | Signifies the start of signature validation. |
| [SignatureValidated](#signaturevalidated-event-mailreader-component) | Marks the completion of the signature validation routine. |

## Config Settings

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

|  |  |
| --- | --- |
| [ChainCurrentCACert](#ChainCurrentCACert) | Returns the current CA certificate. |
| [ChainCurrentCert](#ChainCurrentCert) | Returns the certificate that is currently being validated. |
| [ChainCurrentCRL](#ChainCurrentCRL) | Returns the current CRL. |
| [ChainCurrentCRLSize](#ChainCurrentCRLSize) | Returns the size of the current CRL. |
| [ChainCurrentOCSP](#ChainCurrentOCSP) | Returns the current OCSP response. |
| [ChainCurrentOCSPSigner](#ChainCurrentOCSPSigner) | Returns the signer of the current OCSP object. |
| [ChainInterimDetails](#ChainInterimDetails) | Returns the current interim validation details. |
| [ChainInterimResult](#ChainInterimResult) | Returns the current interim validation result. |
| [CheckValidityPeriodForTrusted](#CheckValidityPeriodForTrusted) | Whether to check validity period for trusted certificates. |
| [DislikeOpenEndedOCSPs](#DislikeOpenEndedOCSPs) | Tells the component to discourage OCSP responses without an explicit NextUpdate parameter. |
| [EvaluateSystemTrust](#EvaluateSystemTrust) | Enables or disables usage of the platform's built-in trust validation facilities. |
| [EvaluateSystemTrustForSelfSignedCertificates](#EvaluateSystemTrustForSelfSignedCertificates) | Enables or disables usage of the platform's built-in trust validation facilities for self-signed certificates. |
| [EvaluateSystemTrustForSSL](#EvaluateSystemTrustForSSL) | Enables or disables usage of the platform's built-in trust validation facilities for SSL/TLS. |
| [ForceCompleteChainValidation](#ForceCompleteChainValidation) | Whether to check the CA certificates when the signing certificate is invalid. |
| [ForceCompleteChainValidationForTrusted](#ForceCompleteChainValidationForTrusted) | Whether to continue with the full validation up to the root CA certificate for mid-level trust anchors. |
| [GracePeriod](#GracePeriod) | Specifies a grace period to apply during revocation information checks. |
| [HeaderCharset](#HeaderCharset) | Charset of the header. If not empty, the one specified in the message header will be ignored. |
| [IgnoreChainLoops](#IgnoreChainLoops) | Whether chain loops should be ignored. |
| [IgnoreOCSPNoCheckExtension](#IgnoreOCSPNoCheckExtension) | Whether the OCSP NoCheck extension should be ignored. |
| [IgnoreSystemTrust](#IgnoreSystemTrust) | Whether trusted Windows Certificate Stores should be treated as trusted. |
| [ImplicitlyTrustSelfSignedCertificates](#ImplicitlyTrustSelfSignedCertificates) | Whether to trust self-signed certificates. |
| [MaxHeaderSize](#MaxHeaderSize) | Specifies the maximum mail message header size in bytes. |
| [PromoteLongOCSPResponses](#PromoteLongOCSPResponses) | Whether long OCSP responses are requested. |
| [TempPath](#TempPath) | Path for storing temporary files. |
| [TextCharset](#TextCharset) | Charset of text parts, if any. If not empty, the one specified in the message text parts will be ignored. |
| [TolerateMinorChainIssues](#TolerateMinorChainIssues) | Whether to tolerate minor chain issues. |
| [UseEnvStorages](#UseEnvStorages) | Enables or disables use of the environment storages. |
| [UseMicrosoftCTL](#UseMicrosoftCTL) | Enables or disables the automatic use of the Microsoft online certificate trust list. |
| [UseSystemCertificates](#UseSystemCertificates) | Enables or disables the use of the system certificates. |
| [UseValidationCache](#UseValidationCache) | Enables or disable the use of the product-wide certificate chain validation cache. |
| [ASN1UseGlobalTagCache](#ASN1UseGlobalTagCache) | Controls whether ASN.1 module should use a global object cache. |
| [AssignSystemSmartCardPins](#AssignSystemSmartCardPins) | Specifies whether CSP-level PINs should be assigned to CNG keys. |
| [CheckKeyIntegrityBeforeUse](#CheckKeyIntegrityBeforeUse) | Enables or disable private key integrity check before use. |
| [CookieCaching](#CookieCaching) | Specifies whether a cookie cache should be used for HTTP(S) transports. |
| [Cookies](#Cookies) | Gets or sets local cookies for the component. |
| [DefDeriveKeyIterations](#DefDeriveKeyIterations) | Specifies the default key derivation algorithm iteration count. |
| [DNSLocalSuffix](#DNSLocalSuffix) | The suffix to assign for TLD names. |
| [EnableClientSideSSLFFDHE](#EnableClientSideSSLFFDHE) | Enables or disables finite field DHE key exchange support in TLS clients. |
| [EnableSSHMLKEM](#EnableSSHMLKEM) | Enables support for ML-KEM/hybrid key exchange algorithms in SSH client and server components. |
| [EnableTLSMLKEM](#EnableTLSMLKEM) | Enables support for ML-KEM and hybrid groups in TLS client and server components. |
| [GlobalCookies](#GlobalCookies) | Gets or sets global cookies for all the HTTP transports. |
| [HardwareCryptoUsePolicy](#HardwareCryptoUsePolicy) | The hardware crypto usage policy. |
| [HttpUserAgent](#HttpUserAgent) | Specifies the user agent name to be used by all HTTP clients. |
| [HttpVersion](#HttpVersion) | The HTTP version to use in any inner HTTP client components created. |
| [IgnoreExpiredMSCTLSigningCert](#IgnoreExpiredMSCTLSigningCert) | Whether to tolerate the expired Windows Update signing certificate. |
| [ListDelimiter](#ListDelimiter) | The delimiter character for multi-element lists. |
| [LogDestination](#LogDestination) | Specifies the debug log destination. |
| [LogDetails](#LogDetails) | Specifies the debug log details to dump. |
| [LogFile](#LogFile) | Specifies the debug log filename. |
| [LogFilters](#LogFilters) | Specifies the debug log filters. |
| [LogFlushMode](#LogFlushMode) | Specifies the log flush mode. |
| [LogLevel](#LogLevel) | Specifies the debug log level. |
| [LogMaxEventCount](#LogMaxEventCount) | Specifies the maximum number of events to cache before further action is taken. |
| [LogRotationMode](#LogRotationMode) | Specifies the log rotation mode. |
| [MaxASN1BufferLength](#MaxASN1BufferLength) | Specifies the maximal allowed length for ASN.1 primitive tag data. |
| [MaxASN1TreeDepth](#MaxASN1TreeDepth) | Specifies the maximal depth for processed ASN.1 trees. |
| [OCSPHashAlgorithm](#OCSPHashAlgorithm) | Specifies the hash algorithm to be used to identify certificates in OCSP requests. |
| [OldClientSideRSAFallback](#OldClientSideRSAFallback) | Specifies whether the SSH client should use a SHA1 fallback. |
| [PKICache](#PKICache) | Specifies which PKI elements (certificates, CRLs, OCSP responses) should be cached. |
| [PKICachePath](#PKICachePath) | Specifies the file system path where cached PKI data is stored. |
| [ProductVersion](#ProductVersion) | Returns the version of the SecureBlackbox library. |
| [ServerSSLDHKeyLength](#ServerSSLDHKeyLength) | Sets the size of the TLS DHE key exchange group. |
| [StaticDNS](#StaticDNS) | Specifies whether static DNS rules should be used. |
| [StaticIPAddress\[domain\]](#StaticIPAddress[domain]) | Gets or sets an IP address for the specified domain name. |
| [StaticIPAddresses](#StaticIPAddresses) | Gets or sets all the static DNS rules. |
| [Tag](#Tag) | Allows to store any custom data. |
| [TLSSessionGroup](#TLSSessionGroup) | Specifies the group name of TLS sessions to be used for session resumption. |
| [TLSSessionLifetime](#TLSSessionLifetime) | Specifies lifetime in seconds of the cached TLS session. |
| [TLSSessionPurgeInterval](#TLSSessionPurgeInterval) | Specifies how often the session cache should remove the expired TLS sessions. |
| [UseCRLObjectCaching](#UseCRLObjectCaching) | Specifies whether reuse of loaded CRL objects is enabled. |
| [UseInternalRandom](#UseInternalRandom) | Switches between SecureBlackbox-own and platform PRNGs. |
| [UseLegacyAdESValidation](#UseLegacyAdESValidation) | Enables legacy AdES validation mode. |
| [UseOCSPResponseObjectCaching](#UseOCSPResponseObjectCaching) | Specifies whether reuse of loaded OCSP response objects is enabled. |
| [UseOwnDNSResolver](#UseOwnDNSResolver) | Specifies whether the client components should use own DNS resolver. |
| [UseSharedSystemStorages](#UseSharedSystemStorages) | Specifies whether the validation engine should use a global per-process copy of the system certificate stores. |
| [UseSystemNativeSizeCalculation](#UseSystemNativeSizeCalculation) | An internal CryptoAPI access tweak. |
| [UseSystemOAEPAndPSS](#UseSystemOAEPAndPSS) | Enforces or disables the use of system-driven RSA OAEP and PSS computations. |
| [UseSystemRandom](#UseSystemRandom) | Enables or disables the use of the OS PRNG. |
| [XMLRDNDescriptorName\[OID\]](#XMLRDNDescriptorName[OID]) | Defines an OID mapping to descriptor names for the certificate's IssuerRDN or SubjectRDN. |
| [XMLRDNDescriptorPriority\[OID\]](#XMLRDNDescriptorPriority[OID]) | Specifies the priority of descriptor names associated with a specific OID. |
| [XMLRDNDescriptorReverseOrder](#XMLRDNDescriptorReverseOrder) | Specifies whether to reverse the order of descriptors in RDN. |
| [XMLRDNDescriptorSeparator](#XMLRDNDescriptorSeparator) | Specifies the separator used between descriptors in RDN. |

# AttachCount Property ([MailReader](#mailreader-component) Component)

The number of records in the Attach arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int AttachCount = { read=FAttachCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [AttachContentSubtype](#attachcontentsubtype-property-mailreader-component)
- [AttachContentType](#attachcontenttype-property-mailreader-component)
- [AttachCreationDate](#attachcreationdate-property-mailreader-component)
- [AttachData](#attachdata-property-mailreader-component)
- [AttachDescription](#attachdescription-property-mailreader-component)
- [AttachFileName](#attachfilename-property-mailreader-component)
- [AttachHandle](#attachhandle-property-mailreader-component)
- [AttachID](#attachid-property-mailreader-component)
- [AttachModificationDate](#attachmodificationdate-property-mailreader-component)
- [AttachReadDate](#attachreaddate-property-mailreader-component)
- [AttachSize](#attachsize-property-mailreader-component)

The array indices start at *0* and end at *AttachCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# AttachContentSubtype Property ([MailReader](#mailreader-component) Component)

Contains the content subtype of the attachment.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachContentSubtype[int AttachIndex] = { read=FAttachContentSubtype };
```

## Default Value

""

## Remarks

Contains the content subtype of the attachment.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachContentType Property ([MailReader](#mailreader-component) Component)

Contains the content type of the attachment.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachContentType[int AttachIndex] = { read=FAttachContentType };
```

## Default Value

""

## Remarks

Contains the content type of the attachment.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachCreationDate Property ([MailReader](#mailreader-component) Component)

The creation date.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachCreationDate[int AttachIndex] = { read=FAttachCreationDate };
```

## Default Value

""

## Remarks

The creation date.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachData Property ([MailReader](#mailreader-component) Component)

The content of the attachment.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray AttachData[int AttachIndex] = { read=FAttachData };
```

## Remarks

The content of the attachment.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# AttachDescription Property ([MailReader](#mailreader-component) Component)

Textual description of the attachment.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachDescription[int AttachIndex] = { read=FAttachDescription };
```

## Default Value

""

## Remarks

Textual description of the attachment.

This property maps to the Content-Description e-mail header field. Although the field is optional, the ability to associate descriptive information with a given body is often desirable. One example is specifying the title of an image using this property.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachFileName Property ([MailReader](#mailreader-component) Component)

Specifies the name of the attachment file.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachFileName[int AttachIndex] = { read=FAttachFileName };
```

## Default Value

""

## Remarks

Specifies the name of the attachment file.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 AttachHandle[int AttachIndex] = { read=FAttachHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Long64

# AttachID Property ([MailReader](#mailreader-component) Component)

Contains the attachment's unique identifier.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachID[int AttachIndex] = { read=FAttachID };
```

## Default Value

""

## Remarks

Contains the attachment's unique identifier.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachModificationDate Property ([MailReader](#mailreader-component) Component)

Specifies the date and time of the file's last modification.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachModificationDate[int AttachIndex] = { read=FAttachModificationDate };
```

## Default Value

""

## Remarks

Specifies the date and time of the file's last modification.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachReadDate Property ([MailReader](#mailreader-component) Component)

Specifies the file's last read date.

## Syntax

*C++ Builder Syntax*

```text
__property String AttachReadDate[int AttachIndex] = { read=FAttachReadDate };
```

## Default Value

""

## Remarks

Specifies the file's last read date.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# AttachSize Property ([MailReader](#mailreader-component) Component)

The attachment's size in bytes.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 AttachSize[int AttachIndex] = { read=FAttachSize };
```

## Default Value

0

## Remarks

The attachment's size in bytes.

The *AttachIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [AttachCount](#attachcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Long64

# BccAddrCount Property ([MailReader](#mailreader-component) Component)

The number of records in the BccAddr arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int BccAddrCount = { read=FBccAddrCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [BccAddrAddress](#bccaddraddress-property-mailreader-component)
- [BccAddrDisplayName](#bccaddrdisplayname-property-mailreader-component)
- [BccAddrGroupName](#bccaddrgroupname-property-mailreader-component)

The array indices start at *0* and end at *BccAddrCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# BccAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String BccAddrAddress[int BccAddrIndex] = { read=FBccAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

The *BccAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [BccAddrCount](#bccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# BccAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String BccAddrDisplayName[int BccAddrIndex] = { read=FBccAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

The *BccAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [BccAddrCount](#bccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# BccAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String BccAddrGroupName[int BccAddrIndex] = { read=FBccAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

The *BccAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [BccAddrCount](#bccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# BlockedCertCount Property ([MailReader](#mailreader-component) Component)

The number of records in the BlockedCert arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int BlockedCertCount = { read=FBlockedCertCount, write=FSetBlockedCertCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [BlockedCertBytes](#blockedcertbytes-property-mailreader-component)
- [BlockedCertHandle](#blockedcerthandle-property-mailreader-component)

The array indices start at *0* and end at *BlockedCertCount - 1*.

This property is not available at design time.

## Data Type

Integer

# BlockedCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray BlockedCertBytes[int BlockedCertIndex] = { read=FBlockedCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

The *BlockedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [BlockedCertCount](#blockedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# BlockedCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 BlockedCertHandle[int BlockedCertIndex] = { read=FBlockedCertHandle, write=FSetBlockedCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *BlockedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [BlockedCertCount](#blockedcertcount-property-mailreader-component) property.

This property is not available at design time.

## Data Type

Long64

# CcAddrCount Property ([MailReader](#mailreader-component) Component)

The number of records in the CcAddr arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int CcAddrCount = { read=FCcAddrCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [CcAddrAddress](#ccaddraddress-property-mailreader-component)
- [CcAddrDisplayName](#ccaddrdisplayname-property-mailreader-component)
- [CcAddrGroupName](#ccaddrgroupname-property-mailreader-component)

The array indices start at *0* and end at *CcAddrCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# CcAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String CcAddrAddress[int CcAddrIndex] = { read=FCcAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

The *CcAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [CcAddrCount](#ccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# CcAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String CcAddrDisplayName[int CcAddrIndex] = { read=FCcAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

The *CcAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [CcAddrCount](#ccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# CcAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String CcAddrGroupName[int CcAddrIndex] = { read=FCcAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

The *CcAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [CcAddrCount](#ccaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertBytes = { read=FDecryptionCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

This property is read-only and not available at design time.

## Data Type

Byte Array

# DecryptionCertCA Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate has a CA capability.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertCA = { read=FDecryptionCertCA, write=FSetDecryptionCertCA };
```

## Default Value

false

## Remarks

Indicates whether the certificate has a CA capability. For the certificate to be considered a CA, it must have its Basic Constraints extension set with the CA indicator enabled.

Set this property when generating a new certificate to have its Basic Constraints extension generated automatically.

This property is not available at design time.

## Data Type

Boolean

# DecryptionCertCAKeyID Property ([MailReader](#mailreader-component) Component)

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertCAKeyID = { read=FDecryptionCertCAKeyID };
```

## Remarks

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

Authority Key Identifier is a certificate extension which allows identification of certificates belonging to the same issuer, but with different public keys. It is a de-facto standard to include this extension in all certificates to facilitate chain building.

This setting cannot be set when generating a certificate as it always derives from another certificate property. [CertificateManager](#CertificateManager) generates this setting automatically if enough information is available to it: for self-signed certificates, this value is copied from the [DecryptionCertSubjectKeyID](#decryptioncertsubjectkeyid-property-mailreader-component) setting, and for lower-level certificates, from the parent certificate's subject key ID extension.

This property is read-only and not available at design time.

## Data Type

Byte Array

# DecryptionCertCertType Property ([MailReader](#mailreader-component) Component)

Returns the type of the entity contained in the Certificate object.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderDecryptionCertCertTypes DecryptionCertCertType = { read=FDecryptionCertCertType };
enum TsbxMailReaderDecryptionCertCertTypes {
  ctUnknown=0,
  ctX509Certificate=1,
  ctX509CertificateRequest=2
};
```

## Default Value

ctUnknown

## Remarks

Returns the type of the entity contained in the [Certificate](#Type_Certificate) object.

A [Certificate](#Type_Certificate) object can contain two types of cryptographic objects: a ready-to-use X.509 certificate, or a certificate request ("an unsigned certificate"). Certificate requests can be upgraded to full certificates by signing them with a CA certificate.

Use the [CertificateManager](#CertificateManager) component to load or create new certificate and certificate requests objects.

This property is read-only and not available at design time.

## Data Type

Integer

# DecryptionCertCRLDistributionPoints Property ([MailReader](#mailreader-component) Component)

Contains a list of locations of CRL distribution points used to check this certificate's validity.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertCRLDistributionPoints = { read=FDecryptionCertCRLDistributionPoints, write=FSetDecryptionCertCRLDistributionPoints };
```

## Default Value

""

## Remarks

Contains a list of locations of CRL distribution points used to check this certificate's validity. The list is taken from the respective certificate extension.

Use this property when generating a certificate to provide a list of CRL endpoints that should be made part of the new certificate.

The endpoints are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

This property is not available at design time.

## Data Type

String

# DecryptionCertCurve Property ([MailReader](#mailreader-component) Component)

Specifies the elliptic curve associated with the certificate's public key.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertCurve = { read=FDecryptionCertCurve, write=FSetDecryptionCertCurve };
```

## Default Value

""

## Remarks

Specifies the elliptic curve associated with the certificate's public key. This setting only applies to certificates containing EC keys.

|  |  |  |
| --- | --- | --- |
| SB_EC_SECP112R1 | SECP112R1 |  |
| SB_EC_SECP112R2 | SECP112R2 |  |
| SB_EC_SECP128R1 | SECP128R1 |  |
| SB_EC_SECP128R2 | SECP128R2 |  |
| SB_EC_SECP160K1 | SECP160K1 |  |
| SB_EC_SECP160R1 | SECP160R1 |  |
| SB_EC_SECP160R2 | SECP160R2 |  |
| SB_EC_SECP192K1 | SECP192K1 |  |
| SB_EC_SECP192R1 | SECP192R1 |  |
| SB_EC_SECP224K1 | SECP224K1 |  |
| SB_EC_SECP224R1 | SECP224R1 |  |
| SB_EC_SECP256K1 | SECP256K1 |  |
| SB_EC_SECP256R1 | SECP256R1 |  |
| SB_EC_SECP384R1 | SECP384R1 |  |
| SB_EC_SECP521R1 | SECP521R1 |  |
| SB_EC_SECT113R1 | SECT113R1 |  |
| SB_EC_SECT113R2 | SECT113R2 |  |
| SB_EC_SECT131R1 | SECT131R1 |  |
| SB_EC_SECT131R2 | SECT131R2 |  |
| SB_EC_SECT163K1 | SECT163K1 |  |
| SB_EC_SECT163R1 | SECT163R1 |  |
| SB_EC_SECT163R2 | SECT163R2 |  |
| SB_EC_SECT193R1 | SECT193R1 |  |
| SB_EC_SECT193R2 | SECT193R2 |  |
| SB_EC_SECT233K1 | SECT233K1 |  |
| SB_EC_SECT233R1 | SECT233R1 |  |
| SB_EC_SECT239K1 | SECT239K1 |  |
| SB_EC_SECT283K1 | SECT283K1 |  |
| SB_EC_SECT283R1 | SECT283R1 |  |
| SB_EC_SECT409K1 | SECT409K1 |  |
| SB_EC_SECT409R1 | SECT409R1 |  |
| SB_EC_SECT571K1 | SECT571K1 |  |
| SB_EC_SECT571R1 | SECT571R1 |  |
| SB_EC_PRIME192V1 | PRIME192V1 |  |
| SB_EC_PRIME192V2 | PRIME192V2 |  |
| SB_EC_PRIME192V3 | PRIME192V3 |  |
| SB_EC_PRIME239V1 | PRIME239V1 |  |
| SB_EC_PRIME239V2 | PRIME239V2 |  |
| SB_EC_PRIME239V3 | PRIME239V3 |  |
| SB_EC_PRIME256V1 | PRIME256V1 |  |
| SB_EC_C2PNB163V1 | C2PNB163V1 |  |
| SB_EC_C2PNB163V2 | C2PNB163V2 |  |
| SB_EC_C2PNB163V3 | C2PNB163V3 |  |
| SB_EC_C2PNB176W1 | C2PNB176W1 |  |
| SB_EC_C2TNB191V1 | C2TNB191V1 |  |
| SB_EC_C2TNB191V2 | C2TNB191V2 |  |
| SB_EC_C2TNB191V3 | C2TNB191V3 |  |
| SB_EC_C2ONB191V4 | C2ONB191V4 |  |
| SB_EC_C2ONB191V5 | C2ONB191V5 |  |
| SB_EC_C2PNB208W1 | C2PNB208W1 |  |
| SB_EC_C2TNB239V1 | C2TNB239V1 |  |
| SB_EC_C2TNB239V2 | C2TNB239V2 |  |
| SB_EC_C2TNB239V3 | C2TNB239V3 |  |
| SB_EC_C2ONB239V4 | C2ONB239V4 |  |
| SB_EC_C2ONB239V5 | C2ONB239V5 |  |
| SB_EC_C2PNB272W1 | C2PNB272W1 |  |
| SB_EC_C2PNB304W1 | C2PNB304W1 |  |
| SB_EC_C2TNB359V1 | C2TNB359V1 |  |
| SB_EC_C2PNB368W1 | C2PNB368W1 |  |
| SB_EC_C2TNB431R1 | C2TNB431R1 |  |
| SB_EC_NISTP192 | NISTP192 |  |
| SB_EC_NISTP224 | NISTP224 |  |
| SB_EC_NISTP256 | NISTP256 |  |
| SB_EC_NISTP384 | NISTP384 |  |
| SB_EC_NISTP521 | NISTP521 |  |
| SB_EC_NISTB163 | NISTB163 |  |
| SB_EC_NISTB233 | NISTB233 |  |
| SB_EC_NISTB283 | NISTB283 |  |
| SB_EC_NISTB409 | NISTB409 |  |
| SB_EC_NISTB571 | NISTB571 |  |
| SB_EC_NISTK163 | NISTK163 |  |
| SB_EC_NISTK233 | NISTK233 |  |
| SB_EC_NISTK283 | NISTK283 |  |
| SB_EC_NISTK409 | NISTK409 |  |
| SB_EC_NISTK571 | NISTK571 |  |
| SB_EC_GOSTCPTEST | GOSTCPTEST |  |
| SB_EC_GOSTCPA | GOSTCPA |  |
| SB_EC_GOSTCPB | GOSTCPB |  |
| SB_EC_GOSTCPC | GOSTCPC |  |
| SB_EC_GOSTCPXCHA | GOSTCPXCHA |  |
| SB_EC_GOSTCPXCHB | GOSTCPXCHB |  |
| SB_EC_BRAINPOOLP160R1 | BRAINPOOLP160R1 |  |
| SB_EC_BRAINPOOLP160T1 | BRAINPOOLP160T1 |  |
| SB_EC_BRAINPOOLP192R1 | BRAINPOOLP192R1 |  |
| SB_EC_BRAINPOOLP192T1 | BRAINPOOLP192T1 |  |
| SB_EC_BRAINPOOLP224R1 | BRAINPOOLP224R1 |  |
| SB_EC_BRAINPOOLP224T1 | BRAINPOOLP224T1 |  |
| SB_EC_BRAINPOOLP256R1 | BRAINPOOLP256R1 |  |
| SB_EC_BRAINPOOLP256T1 | BRAINPOOLP256T1 |  |
| SB_EC_BRAINPOOLP320R1 | BRAINPOOLP320R1 |  |
| SB_EC_BRAINPOOLP320T1 | BRAINPOOLP320T1 |  |
| SB_EC_BRAINPOOLP384R1 | BRAINPOOLP384R1 |  |
| SB_EC_BRAINPOOLP384T1 | BRAINPOOLP384T1 |  |
| SB_EC_BRAINPOOLP512R1 | BRAINPOOLP512R1 |  |
| SB_EC_BRAINPOOLP512T1 | BRAINPOOLP512T1 |  |
| SB_EC_CURVE25519 | CURVE25519 |  |
| SB_EC_CURVE448 | CURVE448 |  |

This property is not available at design time.

## Data Type

String

# DecryptionCertFingerprint Property ([MailReader](#mailreader-component) Component)

Contains the fingerprint (a hash imprint) of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertFingerprint = { read=FDecryptionCertFingerprint };
```

## Default Value

""

## Remarks

Contains the fingerprint (a hash imprint) of this certificate.

While there is no formal standard defining what a fingerprint is, a SHA1 hash of the certificate's DER-encoded body is typically used.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertFriendlyName Property ([MailReader](#mailreader-component) Component)

Contains an associated alias (friendly name) of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertFriendlyName = { read=FDecryptionCertFriendlyName };
```

## Default Value

""

## Remarks

Contains an associated alias (friendly name) of the certificate. The friendly name is not a property of a certificate: it is maintained by the certificate media rather than being included in its DER representation. Windows certificate stores are one example of media that does support friendly names.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 DecryptionCertHandle = { read=FDecryptionCertHandle, write=FSetDecryptionCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

This property is not available at design time.

## Data Type

Long64

# DecryptionCertHashAlgorithm Property ([MailReader](#mailreader-component) Component)

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing).

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertHashAlgorithm = { read=FDecryptionCertHashAlgorithm, write=FSetDecryptionCertHashAlgorithm };
```

## Default Value

""

## Remarks

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). It is not a property of a certificate; use [DecryptionCertSigAlgorithm](#decryptioncertsigalgorithm-property-mailreader-component) to find out the hash algorithm that is part of the certificate signature.

|  |  |  |
| --- | --- | --- |
| 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 |  |

This property is not available at design time.

## Data Type

String

# DecryptionCertIssuer Property ([MailReader](#mailreader-component) Component)

The common name of the certificate issuer (CA), typically a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertIssuer = { read=FDecryptionCertIssuer };
```

## Default Value

""

## Remarks

The common name of the certificate issuer (CA), typically a company name. This is part of a larger set of credentials available via [DecryptionCertIssuerRDN](#decryptioncertissuerrdn-property-mailreader-component).

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertIssuerRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate issuer.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertIssuerRDN = { read=FDecryptionCertIssuerRDN, write=FSetDecryptionCertIssuerRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate issuer.

Example: */C=US/O=Nationwide CA/CN=Web Certification Authority*

This property is not available at design time.

## Data Type

String

# DecryptionCertKeyAlgorithm Property ([MailReader](#mailreader-component) Component)

Specifies the public key algorithm of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertKeyAlgorithm = { read=FDecryptionCertKeyAlgorithm, write=FSetDecryptionCertKeyAlgorithm };
```

## Default Value

"0"

## Remarks

Specifies the public key algorithm of this certificate.

|  |  |  |
| --- | --- | --- |
| SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION | rsaEncryption |  |
| SB_CERT_ALGORITHM_MD2_RSA_ENCRYPTION | md2withRSAEncryption |  |
| SB_CERT_ALGORITHM_MD5_RSA_ENCRYPTION | md5withRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA1_RSA_ENCRYPTION | sha1withRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA | id-dsa |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA1 | id-dsa-with-sha1 |  |
| SB_CERT_ALGORITHM_DH_PUBLIC | dhpublicnumber |  |
| SB_CERT_ALGORITHM_SHA224_RSA_ENCRYPTION | sha224WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA256_RSA_ENCRYPTION | sha256WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA384_RSA_ENCRYPTION | sha384WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA512_RSA_ENCRYPTION | sha512WithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_RSAPSS | id-RSASSA-PSS |  |
| SB_CERT_ALGORITHM_ID_RSAOAEP | id-RSAES-OAEP |  |
| SB_CERT_ALGORITHM_RSASIGNATURE_RIPEMD160 | ripemd160withRSA |  |
| SB_CERT_ALGORITHM_ID_ELGAMAL | elGamal |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA | ecdsa-with-SHA1 |  |
| SB_CERT_ALGORITHM_RECOMMENDED_ECDSA | ecdsa-recommended |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA | ecdsa-with-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA | ecdsa-with-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA | ecdsa-with-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA | ecdsa-with-SHA512 |  |
| SB_CERT_ALGORITHM_EC | id-ecPublicKey |  |
| SB_CERT_ALGORITHM_SPECIFIED_ECDSA | ecdsa-specified |  |
| SB_CERT_ALGORITHM_GOST_R3410_1994 | id-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3410_2001 | id-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_1994 | id-GostR3411-94-with-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_2001 | id-GostR3411-94-with-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA_PLAIN | ecdsa-plain-SHA1 |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA_PLAIN | ecdsa-plain-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA_PLAIN | ecdsa-plain-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA_PLAIN | ecdsa-plain-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA_PLAIN | ecdsa-plain-SHA512 |  |
| SB_CERT_ALGORITHM_RIPEMD160_ECDSA_PLAIN | ecdsa-plain-RIPEMD160 |  |
| SB_CERT_ALGORITHM_WHIRLPOOL_RSA_ENCRYPTION | whirlpoolWithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA224 | id-dsa-with-sha224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA256 | id-dsa-with-sha256 |  |
| SB_CERT_ALGORITHM_SHA3_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA | id-ecdsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA | id-ecdsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA | id-ecdsa-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA | id-ecdsa-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-512 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_224 | id-dsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_256 | id-dsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA | id-ecdsa-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA | id-ecdsa-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA | id-ecdsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA | id-ecdsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA | id-ecdsa-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA | id-ecdsa-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA | id-ecdsa-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA | id-ecdsa-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b512 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_224 | id-dsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_256 | id-dsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519 | id-Ed25519 |  |
| SB_CERT_ALGORITHM_EDDSA_ED448 | id-Ed448 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519_PH | id-Ed25519ph |  |
| SB_CERT_ALGORITHM_EDDSA_ED448_PH | id-Ed448ph |  |
| SB_CERT_ALGORITHM_EDDSA | id-EdDSA |  |
| SB_CERT_ALGORITHM_EDDSA_SIGNATURE | id-EdDSA-sig |  |
| SB_CERT_ALGORITHM_MLDSA_44 | id-ml-dsa-44 |  |
| SB_CERT_ALGORITHM_MLDSA_65 | id-ml-dsa-65 |  |
| SB_CERT_ALGORITHM_MLDSA_87 | id-ml-dsa-87 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_44_SHA512 | id-hash-ml-dsa-44-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_65_SHA512 | id-hash-ml-dsa-65-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_87_SHA512 | id-hash-ml-dsa-87-with-sha512 |  |
| SB_CERT_ALGORITHM_MLKEM_512 | id-ml-kem-512 |  |
| SB_CERT_ALGORITHM_MLKEM_768 | id-ml-kem-768 |  |
| SB_CERT_ALGORITHM_MLKEM_1024 | id-ml-kem-1024 |  |

Use the [DecryptionCertKeyBits](#decryptioncertkeybits-property-mailreader-component), [DecryptionCertCurve](#decryptioncertcurve-property-mailreader-component), and [DecryptionCertPublicKeyBytes](#decryptioncertpublickeybytes-property-mailreader-component) properties to get more details about the key the certificate contains.

This property is not available at design time.

## Data Type

String

# DecryptionCertKeyBits Property ([MailReader](#mailreader-component) Component)

Returns the length of the public key in bits.

## Syntax

*C++ Builder Syntax*

```text
__property int DecryptionCertKeyBits = { read=FDecryptionCertKeyBits };
```

## Default Value

0

## Remarks

Returns the length of the public key in bits.

This value indicates the length of the principal cryptographic parameter of the key, such as the length of the RSA modulus or ECDSA field. The key data returned by the [DecryptionCertPublicKeyBytes](#decryptioncertpublickeybytes-property-mailreader-component) or [DecryptionCertPrivateKeyBytes](#decryptioncertprivatekeybytes-property-mailreader-component) property would typically contain auxiliary values, and therefore be longer.

This property is read-only and not available at design time.

## Data Type

Integer

# DecryptionCertKeyFingerprint Property ([MailReader](#mailreader-component) Component)

Returns a SHA1 fingerprint of the public key contained in the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertKeyFingerprint = { read=FDecryptionCertKeyFingerprint };
```

## Default Value

""

## Remarks

Returns a SHA1 fingerprint of the public key contained in the certificate.

Note that the key fingerprint is different from the certificate fingerprint accessible via the [DecryptionCertFingerprint](#decryptioncertfingerprint-property-mailreader-component) property. The key fingerprint uniquely identifies the public key, and so can be the same for multiple certificates containing the same key.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertKeyUsage Property ([MailReader](#mailreader-component) Component)

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

## Syntax

*C++ Builder Syntax*

```text
__property int DecryptionCertKeyUsage = { read=FDecryptionCertKeyUsage, write=FSetDecryptionCertKeyUsage };
```

## Default Value

0

## Remarks

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

This value is a bit mask of the following values:

|  |  |  |
| --- | --- | --- |
| ckuUnknown | 0x00000 | Unknown key usage |
| ckuDigitalSignature | 0x00001 | Digital signature |
| ckuNonRepudiation | 0x00002 | Non-repudiation |
| ckuKeyEncipherment | 0x00004 | Key encipherment |
| ckuDataEncipherment | 0x00008 | Data encipherment |
| ckuKeyAgreement | 0x00010 | Key agreement |
| ckuKeyCertSign | 0x00020 | Certificate signing |
| ckuCRLSign | 0x00040 | Revocation signing |
| ckuEncipherOnly | 0x00080 | Encipher only |
| ckuDecipherOnly | 0x00100 | Decipher only |
| ckuServerAuthentication | 0x00200 | Server authentication |
| ckuClientAuthentication | 0x00400 | Client authentication |
| ckuCodeSigning | 0x00800 | Code signing |
| ckuEmailProtection | 0x01000 | Email protection |
| ckuTimeStamping | 0x02000 | Timestamping |
| ckuOCSPSigning | 0x04000 | OCSP signing |
| ckuSmartCardLogon | 0x08000 | Smartcard logon |
| ckuKeyPurposeClientAuth | 0x10000 | Kerberos - client authentication |
| ckuKeyPurposeKDC | 0x20000 | Kerberos - KDC |

Set this property before generating the certificate to propagate the key usage flags to the new certificate.

This property is not available at design time.

## Data Type

Integer

# DecryptionCertKeyValid Property ([MailReader](#mailreader-component) Component)

Returns True if the certificate's key is cryptographically valid, and False otherwise.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertKeyValid = { read=FDecryptionCertKeyValid };
```

## Default Value

false

## Remarks

Returns *True* if the certificate's key is cryptographically valid, and *False* otherwise.

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertOCSPLocations Property ([MailReader](#mailreader-component) Component)

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertOCSPLocations = { read=FDecryptionCertOCSPLocations, write=FSetDecryptionCertOCSPLocations };
```

## Default Value

""

## Remarks

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

Set this property before calling the certificate manager's [Generate](#CertificateManager_m_Generate) method to propagate it to the new certificate.

The OCSP locations are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

This property is not available at design time.

## Data Type

String

# DecryptionCertOCSPNoCheck Property ([MailReader](#mailreader-component) Component)

Accessor to the value of the certificate's ocsp-no-check extension.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertOCSPNoCheck = { read=FDecryptionCertOCSPNoCheck, write=FSetDecryptionCertOCSPNoCheck };
```

## Default Value

false

## Remarks

Accessor to the value of the certificate's ocsp-no-check extension.

This property is not available at design time.

## Data Type

Boolean

# DecryptionCertOrigin Property ([MailReader](#mailreader-component) Component)

Returns the location that the certificate was taken or loaded from.

## Syntax

*C++ Builder Syntax*

```text
__property int DecryptionCertOrigin = { read=FDecryptionCertOrigin };
```

## Default Value

0

## Remarks

Returns the location that the certificate was taken or loaded from.

This property is read-only and not available at design time.

## Data Type

Integer

# DecryptionCertPolicyIDs Property ([MailReader](#mailreader-component) Component)

Contains identifiers (OIDs) of the applicable certificate policies.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertPolicyIDs = { read=FDecryptionCertPolicyIDs, write=FSetDecryptionCertPolicyIDs };
```

## Default Value

""

## Remarks

Contains identifiers (OIDs) of the applicable certificate policies.

The Certificate Policies extension identifies a sequence of policies under which the certificate has been issued, and which regulate its usage.

Set this property when generating a certificate to propagate the policies information to the new certificate.

The policies are provided as a list of CRLF-separated entries. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the policy element separator.

This property is not available at design time.

## Data Type

String

# DecryptionCertPrivateKeyBytes Property ([MailReader](#mailreader-component) Component)

Returns the certificate's private key in DER-encoded format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertPrivateKeyBytes = { read=FDecryptionCertPrivateKeyBytes };
```

## Remarks

Returns the certificate's private key in DER-encoded format. It is normal for this property to be empty if the private key is non-exportable, which, for example, is typical for certificates originating from hardware security devices.

This property is read-only and not available at design time.

## Data Type

Byte Array

# DecryptionCertPrivateKeyExists Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate has a usable private key associated with it.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertPrivateKeyExists = { read=FDecryptionCertPrivateKeyExists };
```

## Default Value

false

## Remarks

Indicates whether the certificate has a usable private key associated with it. If it is set to *True*, the certificate can be used for private key operations, such as signing or decryption.

This property is independent from [DecryptionCertPrivateKeyBytes](#decryptioncertprivatekeybytes-property-mailreader-component), and can be set to *True* even if the former is empty. This would imply that the private key is non-exportable, but still can be used for cryptographic operations.

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertPrivateKeyExtractable Property ([MailReader](#mailreader-component) Component)

Indicates whether the private key is extractable (exportable).

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertPrivateKeyExtractable = { read=FDecryptionCertPrivateKeyExtractable };
```

## Default Value

false

## Remarks

Indicates whether the private key is extractable (exportable).

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertPublicKeyBytes Property ([MailReader](#mailreader-component) Component)

Contains the certificate's public key in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertPublicKeyBytes = { read=FDecryptionCertPublicKeyBytes };
```

## Remarks

Contains the certificate's public key in DER format.

This typically would contain an ASN.1-encoded public key value. The exact format depends on the type of the public key contained in the certificate.

This property is read-only and not available at design time.

## Data Type

Byte Array

# DecryptionCertQualified Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate is qualified.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertQualified = { read=FDecryptionCertQualified };
```

## Default Value

false

## Remarks

Indicates whether the certificate is qualified.

This property is set to *True* if the certificate is confirmed by a Trusted List to be qualified.

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertQualifiedStatements Property ([MailReader](#mailreader-component) Component)

Returns a simplified qualified status of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderDecryptionCertQualifiedStatements DecryptionCertQualifiedStatements = { read=FDecryptionCertQualifiedStatements, write=FSetDecryptionCertQualifiedStatements };
enum TsbxMailReaderDecryptionCertQualifiedStatements {
  qstNonQualified=0,
  qstQualifiedHardware=1,
  qstQualifiedSoftware=2
};
```

## Default Value

qstNonQualified

## Remarks

Returns a simplified qualified status of the certificate.

This property is not available at design time.

## Data Type

Integer

# DecryptionCertQualifiers Property ([MailReader](#mailreader-component) Component)

A list of qualifiers.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertQualifiers = { read=FDecryptionCertQualifiers };
```

## Default Value

""

## Remarks

A list of qualifiers.

Contains a comma-separated list of qualifier aliases for the certificate, for example *QCP-n-qscd,QCWithSSCD*.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertSelfSigned Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate is self-signed (root) or signed by an external CA.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertSelfSigned = { read=FDecryptionCertSelfSigned };
```

## Default Value

false

## Remarks

Indicates whether the certificate is self-signed (root) or signed by an external CA.

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertSerialNumber Property ([MailReader](#mailreader-component) Component)

Returns the certificate's serial number.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertSerialNumber = { read=FDecryptionCertSerialNumber, write=FSetDecryptionCertSerialNumber };
```

## Remarks

Returns the certificate's serial number.

The serial number is a binary string that uniquely identifies a certificate among others issued by the same CA. According to the X.509 standard, the (issuer, serial number) pair should be globally unique to facilitate chain building.

This property is not available at design time.

## Data Type

Byte Array

# DecryptionCertSigAlgorithm Property ([MailReader](#mailreader-component) Component)

Indicates the algorithm that was used by the CA to sign this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertSigAlgorithm = { read=FDecryptionCertSigAlgorithm };
```

## Default Value

""

## Remarks

Indicates the algorithm that was used by the CA to sign this certificate.

A signature algorithm typically combines hash and public key algorithms together, such as *sha256WithRSAEncryption* or *ecdsa-with-SHA256*.

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertSource Property ([MailReader](#mailreader-component) Component)

Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderDecryptionCertSources DecryptionCertSource = { read=FDecryptionCertSource };
enum TsbxMailReaderDecryptionCertSources {
  pksUnknown=0,
  pksSignature=1,
  pksDocument=2,
  pksUser=3,
  pksLocal=4,
  pksOnline=5
};
```

## Default Value

pksUnknown

## Remarks

Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response.

This property is read-only and not available at design time.

## Data Type

Integer

# DecryptionCertSubject Property ([MailReader](#mailreader-component) Component)

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertSubject = { read=FDecryptionCertSubject };
```

## Default Value

""

## Remarks

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. This is part of a larger set of credentials available via [DecryptionCertSubjectRDN](#decryptioncertsubjectrdn-property-mailreader-component).

This property is read-only and not available at design time.

## Data Type

String

# DecryptionCertSubjectAlternativeName Property ([MailReader](#mailreader-component) Component)

Returns or sets the value of the Subject Alternative Name extension of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertSubjectAlternativeName = { read=FDecryptionCertSubjectAlternativeName, write=FSetDecryptionCertSubjectAlternativeName };
```

## Default Value

""

## Remarks

Returns or sets the value of the Subject Alternative Name extension of the certificate.

Subject alternative names are used to provide additional names that are impractical to store in the main [DecryptionCertSubjectRDN](#decryptioncertsubjectrdn-property-mailreader-component) field. For example, it is often used to store all the domain names that a TLS certificate is authorized to protect.

The alternative names are provided as a list of CRLF-separated entries. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the element separator.

This property is not available at design time.

## Data Type

String

# DecryptionCertSubjectKeyID Property ([MailReader](#mailreader-component) Component)

Contains a unique identifier of the certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray DecryptionCertSubjectKeyID = { read=FDecryptionCertSubjectKeyID, write=FSetDecryptionCertSubjectKeyID };
```

## Remarks

Contains a unique identifier of the certificate's cryptographic key.

Subject Key Identifier is a certificate extension which allows a specific public key to be associated with a certificate holder. Typically, subject key identifiers of CA certificates are recorded as respective CA key identifiers in the subordinate certificates that they issue, which facilitates chain building.

The [DecryptionCertSubjectKeyID](#decryptioncertsubjectkeyid-property-mailreader-component) and [DecryptionCertCAKeyID](#decryptioncertcakeyid-property-mailreader-component) properties of self-signed certificates typically contain identical values, as in that specific case, the issuer and the subject are the same entity.

This property is not available at design time.

## Data Type

Byte Array

# DecryptionCertSubjectRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate holder (subject).

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertSubjectRDN = { read=FDecryptionCertSubjectRDN, write=FSetDecryptionCertSubjectRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate holder (subject).

Depending on the purpose of the certificate and the policies of the CA that issued it, the values included in the subject record may differ drastically and contain business or personal names, web URLs, email addresses, and other data.

Example: */C=US/O=Oranges and Apples, Inc./OU=Accounts Receivable/1.2.3.4.5=Value with unknown OID/CN=Margaret Watkins*.

This property is not available at design time.

## Data Type

String

# DecryptionCertValid Property ([MailReader](#mailreader-component) Component)

Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request.

## Syntax

*C++ Builder Syntax*

```text
__property bool DecryptionCertValid = { read=FDecryptionCertValid };
```

## Default Value

false

## Remarks

Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request.

This property is read-only and not available at design time.

## Data Type

Boolean

# DecryptionCertValidFrom Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate becomes valid, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertValidFrom = { read=FDecryptionCertValidFrom, write=FSetDecryptionCertValidFrom };
```

## Default Value

""

## Remarks

The time point at which the certificate becomes valid, in UTC.

This property is not available at design time.

## Data Type

String

# DecryptionCertValidTo Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate expires, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String DecryptionCertValidTo = { read=FDecryptionCertValidTo, write=FSetDecryptionCertValidTo };
```

## Default Value

""

## Remarks

The time point at which the certificate expires, in UTC.

This property is not available at design time.

## Data Type

String

# ExternalCryptoAsyncDocumentID Property ([MailReader](#mailreader-component) Component)

Specifies an optional document ID for SignAsyncBegin() and SignAsyncEnd() calls.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoAsyncDocumentID = { read=FExternalCryptoAsyncDocumentID, write=FSetExternalCryptoAsyncDocumentID };
```

## Default Value

""

## Remarks

Specifies an optional document ID for SignAsyncBegin() and SignAsyncEnd() calls.

Use this property when working with multi-signature DCAuth requests and responses to uniquely identify documents signed within a larger batch. On the completion stage, this value helps the signing component identify the correct signature in the returned batch of responses.

If using batched requests, make sure to set this property to the same value on both the pre-signing (SignAsyncBegin) and completion (SignAsyncEnd) stages.

## Data Type

String

# ExternalCryptoCustomParams Property ([MailReader](#mailreader-component) Component)

Custom parameters to be passed to the signing service (uninterpreted).

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoCustomParams = { read=FExternalCryptoCustomParams, write=FSetExternalCryptoCustomParams };
```

## Default Value

""

## Remarks

Custom parameters to be passed to the signing service (uninterpreted).

This property is not available at design time.

## Data Type

String

# ExternalCryptoData Property ([MailReader](#mailreader-component) Component)

Additional data to be included in the async state and mirrored back by the requestor.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoData = { read=FExternalCryptoData, write=FSetExternalCryptoData };
```

## Default Value

""

## Remarks

Additional data to be included in the async state and mirrored back by the requestor.

This property is not available at design time.

## Data Type

String

# ExternalCryptoExternalHashCalculation Property ([MailReader](#mailreader-component) Component)

Specifies whether the message hash is to be calculated at the external endpoint.

## Syntax

*C++ Builder Syntax*

```text
__property bool ExternalCryptoExternalHashCalculation = { read=FExternalCryptoExternalHashCalculation, write=FSetExternalCryptoExternalHashCalculation };
```

## Default Value

false

## Remarks

Specifies whether the message hash is to be calculated at the external endpoint. Please note that this mode is not supported by the DCAuth component.

If set to true, the component will pass a few kilobytes of to-be-signed data from the document to the OnExternalSign event. This only applies when SignExternal() is called.

## Data Type

Boolean

# ExternalCryptoHashAlgorithm Property ([MailReader](#mailreader-component) Component)

Specifies the request's signature hash algorithm.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoHashAlgorithm = { read=FExternalCryptoHashAlgorithm, write=FSetExternalCryptoHashAlgorithm };
```

## Default Value

"SHA256"

## Remarks

Specifies the request's signature hash algorithm.

|  |  |  |
| --- | --- | --- |
| 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 |  |

## Data Type

String

# ExternalCryptoKeyID Property ([MailReader](#mailreader-component) Component)

The ID of the pre-shared key used for DC request authentication.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoKeyID = { read=FExternalCryptoKeyID, write=FSetExternalCryptoKeyID };
```

## Default Value

""

## Remarks

The ID of the pre-shared key used for DC request authentication.

Asynchronous DCAuth-driven communication requires that parties authenticate each other with a secret pre-shared cryptographic key. This provides an extra protection layer for the protocol and diminishes the risk of the private key becoming abused by foreign parties. Use this property to provide the pre-shared key identifier, and use [ExternalCryptoKeySecret](#externalcryptokeysecret-property-mailreader-component) to pass the key itself.

The same KeyID/KeySecret pair should be used on the DCAuth side for the signing requests to be accepted.

Note: The KeyID/KeySecret scheme is very similar to the AuthKey scheme used in various Cloud service providers to authenticate users.

Example:

```text
  signer.ExternalCrypto.KeyID = "MainSigningKey";
  signer.ExternalCrypto.KeySecret = "abcdef0123456789";
```

## Data Type

String

# ExternalCryptoKeySecret Property ([MailReader](#mailreader-component) Component)

The pre-shared key used for DC request authentication.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoKeySecret = { read=FExternalCryptoKeySecret, write=FSetExternalCryptoKeySecret };
```

## Default Value

""

## Remarks

The pre-shared key used for DC request authentication. This key must be set and match the key used by the DCAuth counterpart for the scheme to work.

Read more about configuring authentication in the [ExternalCryptoKeyID](#externalcryptokeyid-property-mailreader-component) topic.

## Data Type

String

# ExternalCryptoMethod Property ([MailReader](#mailreader-component) Component)

Specifies the asynchronous signing method.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderExternalCryptoMethods ExternalCryptoMethod = { read=FExternalCryptoMethod, write=FSetExternalCryptoMethod };
enum TsbxMailReaderExternalCryptoMethods {
  asmdPKCS1=0,
  asmdPKCS7=1
};
```

## Default Value

asmdPKCS1

## Remarks

Specifies the asynchronous signing method. This is typically defined by the DC server capabilities and setup.

Available options:

|  |  |
| --- | --- |
| asmdPKCS1 | 0 |
| asmdPKCS7 | 1 |

## Data Type

Integer

# ExternalCryptoMode Property ([MailReader](#mailreader-component) Component)

Specifies the external cryptography mode.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderExternalCryptoModes ExternalCryptoMode = { read=FExternalCryptoMode, write=FSetExternalCryptoMode };
enum TsbxMailReaderExternalCryptoModes {
  ecmDefault=0,
  ecmDisabled=1,
  ecmGeneric=2,
  ecmDCAuth=3,
  ecmDCAuthJSON=4
};
```

## Default Value

ecmDefault

## Remarks

Specifies the external cryptography mode.

Available options:

|  |  |
| --- | --- |
| ecmDefault | The default value (0) |
| ecmDisabled | Do not use DC or external signing (1) |
| ecmGeneric | Generic external signing with the OnExternalSign event (2) |
| ecmDCAuth | DCAuth signing (3) |
| ecmDCAuthJSON | DCAuth signing in JSON format (4) |

This property is not available at design time.

## Data Type

Integer

# ExternalCryptoPublicKeyAlgorithm Property ([MailReader](#mailreader-component) Component)

Provide the public key algorithm here if the certificate is not available on the pre-signing stage.

## Syntax

*C++ Builder Syntax*

```text
__property String ExternalCryptoPublicKeyAlgorithm = { read=FExternalCryptoPublicKeyAlgorithm, write=FSetExternalCryptoPublicKeyAlgorithm };
```

## Default Value

""

## Remarks

Provide the public key algorithm here if the certificate is not available on the pre-signing stage.

|  |  |  |
| --- | --- | --- |
| SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION | rsaEncryption |  |
| SB_CERT_ALGORITHM_MD2_RSA_ENCRYPTION | md2withRSAEncryption |  |
| SB_CERT_ALGORITHM_MD5_RSA_ENCRYPTION | md5withRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA1_RSA_ENCRYPTION | sha1withRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA | id-dsa |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA1 | id-dsa-with-sha1 |  |
| SB_CERT_ALGORITHM_DH_PUBLIC | dhpublicnumber |  |
| SB_CERT_ALGORITHM_SHA224_RSA_ENCRYPTION | sha224WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA256_RSA_ENCRYPTION | sha256WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA384_RSA_ENCRYPTION | sha384WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA512_RSA_ENCRYPTION | sha512WithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_RSAPSS | id-RSASSA-PSS |  |
| SB_CERT_ALGORITHM_ID_RSAOAEP | id-RSAES-OAEP |  |
| SB_CERT_ALGORITHM_RSASIGNATURE_RIPEMD160 | ripemd160withRSA |  |
| SB_CERT_ALGORITHM_ID_ELGAMAL | elGamal |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA | ecdsa-with-SHA1 |  |
| SB_CERT_ALGORITHM_RECOMMENDED_ECDSA | ecdsa-recommended |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA | ecdsa-with-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA | ecdsa-with-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA | ecdsa-with-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA | ecdsa-with-SHA512 |  |
| SB_CERT_ALGORITHM_EC | id-ecPublicKey |  |
| SB_CERT_ALGORITHM_SPECIFIED_ECDSA | ecdsa-specified |  |
| SB_CERT_ALGORITHM_GOST_R3410_1994 | id-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3410_2001 | id-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_1994 | id-GostR3411-94-with-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_2001 | id-GostR3411-94-with-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA_PLAIN | ecdsa-plain-SHA1 |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA_PLAIN | ecdsa-plain-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA_PLAIN | ecdsa-plain-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA_PLAIN | ecdsa-plain-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA_PLAIN | ecdsa-plain-SHA512 |  |
| SB_CERT_ALGORITHM_RIPEMD160_ECDSA_PLAIN | ecdsa-plain-RIPEMD160 |  |
| SB_CERT_ALGORITHM_WHIRLPOOL_RSA_ENCRYPTION | whirlpoolWithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA224 | id-dsa-with-sha224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA256 | id-dsa-with-sha256 |  |
| SB_CERT_ALGORITHM_SHA3_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA | id-ecdsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA | id-ecdsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA | id-ecdsa-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA | id-ecdsa-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-512 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_224 | id-dsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_256 | id-dsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA | id-ecdsa-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA | id-ecdsa-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA | id-ecdsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA | id-ecdsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA | id-ecdsa-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA | id-ecdsa-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA | id-ecdsa-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA | id-ecdsa-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b512 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_224 | id-dsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_256 | id-dsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519 | id-Ed25519 |  |
| SB_CERT_ALGORITHM_EDDSA_ED448 | id-Ed448 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519_PH | id-Ed25519ph |  |
| SB_CERT_ALGORITHM_EDDSA_ED448_PH | id-Ed448ph |  |
| SB_CERT_ALGORITHM_EDDSA | id-EdDSA |  |
| SB_CERT_ALGORITHM_EDDSA_SIGNATURE | id-EdDSA-sig |  |
| SB_CERT_ALGORITHM_MLDSA_44 | id-ml-dsa-44 |  |
| SB_CERT_ALGORITHM_MLDSA_65 | id-ml-dsa-65 |  |
| SB_CERT_ALGORITHM_MLDSA_87 | id-ml-dsa-87 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_44_SHA512 | id-hash-ml-dsa-44-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_65_SHA512 | id-hash-ml-dsa-65-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_87_SHA512 | id-hash-ml-dsa-87-with-sha512 |  |
| SB_CERT_ALGORITHM_MLKEM_512 | id-ml-kem-512 |  |
| SB_CERT_ALGORITHM_MLKEM_768 | id-ml-kem-768 |  |
| SB_CERT_ALGORITHM_MLKEM_1024 | id-ml-kem-1024 |  |

## Data Type

String

# FIPSMode Property ([MailReader](#mailreader-component) Component)

Reserved.

## Syntax

*C++ Builder Syntax*

```text
__property bool FIPSMode = { read=FFIPSMode, write=FSetFIPSMode };
```

## Default Value

false

## Remarks

This property is reserved for future use.

## Data Type

Boolean

# FromAddrCount Property ([MailReader](#mailreader-component) Component)

The number of records in the FromAddr arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int FromAddrCount = { read=FFromAddrCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [FromAddrAddress](#fromaddraddress-property-mailreader-component)
- [FromAddrDisplayName](#fromaddrdisplayname-property-mailreader-component)
- [FromAddrGroupName](#fromaddrgroupname-property-mailreader-component)

The array indices start at *0* and end at *FromAddrCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# FromAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String FromAddrAddress[int FromAddrIndex] = { read=FFromAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

The *FromAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [FromAddrCount](#fromaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# FromAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String FromAddrDisplayName[int FromAddrIndex] = { read=FFromAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

The *FromAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [FromAddrCount](#fromaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# FromAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String FromAddrGroupName[int FromAddrIndex] = { read=FFromAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

The *FromAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [FromAddrCount](#fromaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# IgnoreChainValidationErrors Property ([MailReader](#mailreader-component) Component)

Makes the component tolerant to chain validation errors.

## Syntax

*C++ Builder Syntax*

```text
__property bool IgnoreChainValidationErrors = { read=FIgnoreChainValidationErrors, write=FSetIgnoreChainValidationErrors };
```

## Default Value

false

## Remarks

If this property is set to True, any errors emerging during certificate chain validation will be ignored. This setting may be handy if the purpose of validation is the creation of an LTV signature, and the validation is performed in an environment that doesn't trust the signer's certificate chain.

## Data Type

Boolean

# KnownCertCount Property ([MailReader](#mailreader-component) Component)

The number of records in the KnownCert arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int KnownCertCount = { read=FKnownCertCount, write=FSetKnownCertCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [KnownCertBytes](#knowncertbytes-property-mailreader-component)
- [KnownCertHandle](#knowncerthandle-property-mailreader-component)

The array indices start at *0* and end at *KnownCertCount - 1*.

This property is not available at design time.

## Data Type

Integer

# KnownCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray KnownCertBytes[int KnownCertIndex] = { read=FKnownCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

The *KnownCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownCertCount](#knowncertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# KnownCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 KnownCertHandle[int KnownCertIndex] = { read=FKnownCertHandle, write=FSetKnownCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *KnownCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownCertCount](#knowncertcount-property-mailreader-component) property.

This property is not available at design time.

## Data Type

Long64

# KnownCRLCount Property ([MailReader](#mailreader-component) Component)

The number of records in the KnownCRL arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int KnownCRLCount = { read=FKnownCRLCount, write=FSetKnownCRLCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [KnownCRLBytes](#knowncrlbytes-property-mailreader-component)
- [KnownCRLHandle](#knowncrlhandle-property-mailreader-component)

The array indices start at *0* and end at *KnownCRLCount - 1*.

This property is not available at design time.

## Data Type

Integer

# KnownCRLBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw CRL data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray KnownCRLBytes[int KnownCRLIndex] = { read=FKnownCRLBytes };
```

## Remarks

Returns the raw CRL data in DER format.

The *KnownCRLIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownCRLCount](#knowncrlcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# KnownCRLHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 KnownCRLHandle[int KnownCRLIndex] = { read=FKnownCRLHandle, write=FSetKnownCRLHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *KnownCRLIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownCRLCount](#knowncrlcount-property-mailreader-component) property.

This property is not available at design time.

## Data Type

Long64

# KnownOCSPCount Property ([MailReader](#mailreader-component) Component)

The number of records in the KnownOCSP arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int KnownOCSPCount = { read=FKnownOCSPCount, write=FSetKnownOCSPCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [KnownOCSPBytes](#knownocspbytes-property-mailreader-component)
- [KnownOCSPHandle](#knownocsphandle-property-mailreader-component)

The array indices start at *0* and end at *KnownOCSPCount - 1*.

This property is not available at design time.

## Data Type

Integer

# KnownOCSPBytes Property ([MailReader](#mailreader-component) Component)

A buffer containing the raw OCSP response data.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray KnownOCSPBytes[int KnownOCSPIndex] = { read=FKnownOCSPBytes };
```

## Remarks

A buffer containing the raw OCSP response data.

The *KnownOCSPIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownOCSPCount](#knownocspcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# KnownOCSPHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 KnownOCSPHandle[int KnownOCSPIndex] = { read=FKnownOCSPHandle, write=FSetKnownOCSPHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *KnownOCSPIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [KnownOCSPCount](#knownocspcount-property-mailreader-component) property.

This property is not available at design time.

## Data Type

Long64

# MsgAttachmentCount Property ([MailReader](#mailreader-component) Component)

Returns the number of attachments in this message.

## Syntax

*C++ Builder Syntax*

```text
__property int MsgAttachmentCount = { read=FMsgAttachmentCount };
```

## Default Value

0

## Remarks

Returns the number of attachments in this message.

This property is read-only and not available at design time.

## Data Type

Integer

# MsgBcc Property ([MailReader](#mailreader-component) Component)

The contents of the BCC header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgBcc = { read=FMsgBcc, write=FSetMsgBcc };
```

## Default Value

""

## Remarks

The contents of the BCC header field.

The BCC header field contains the addresses of secondary recipients of the message whose addresses are not to be revealed to other recipients of the message. Mail servers remove the BCC header when processing the message and use its value for dispatching the message only.

This property is not available at design time.

## Data Type

String

# MsgCc Property ([MailReader](#mailreader-component) Component)

The value of the CC header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgCc = { read=FMsgCc, write=FSetMsgCc };
```

## Default Value

""

## Remarks

The value of the CC header field.

The CC field contains the addresses of secondary recipients of the message.

This property is not available at design time.

## Data Type

String

# MsgComments Property ([MailReader](#mailreader-component) Component)

Contains additional information about the message body.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgComments = { read=FMsgComments, write=FSetMsgComments };
```

## Default Value

""

## Remarks

Contains additional information about the message body.

This property is not available at design time.

## Data Type

String

# MsgDate Property ([MailReader](#mailreader-component) Component)

The date and time when the message entered the mail delivery system.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgDate = { read=FMsgDate, write=FSetMsgDate };
```

## Default Value

""

## Remarks

The date and time when the message entered the mail delivery system.

This field contains the date and time at which the creator of the message posted the message to the mail delivery system.

The date is returned and accepted in UTC time zone.

This property is not available at design time.

## Data Type

String

# MsgDeliveryReceipt Property ([MailReader](#mailreader-component) Component)

Enables delivery notification.

## Syntax

*C++ Builder Syntax*

```text
__property bool MsgDeliveryReceipt = { read=FMsgDeliveryReceipt, write=FSetMsgDeliveryReceipt };
```

## Default Value

false

## Remarks

Enables delivery notification.

This property is not available at design time.

## Data Type

Boolean

# MsgFrom Property ([MailReader](#mailreader-component) Component)

Contains the value of the From header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgFrom = { read=FMsgFrom, write=FSetMsgFrom };
```

## Default Value

""

## Remarks

Contains the value of the From header field.

This field contains the address(es) of the message author(s). If the actual sender is not the author of the message, use [MsgSender](#msgsender-property-mailreader-component) to specify the sender separately.

This property is not available at design time.

## Data Type

String

# MsgHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 MsgHandle = { read=FMsgHandle, write=FSetMsgHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

This property is not available at design time.

## Data Type

Long64

# MsgHtmlText Property ([MailReader](#mailreader-component) Component)

The HTML version of the message.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgHtmlText = { read=FMsgHtmlText, write=FSetMsgHtmlText };
```

## Default Value

""

## Remarks

The HTML version of the message.

This property is not available at design time.

## Data Type

String

# MsgID Property ([MailReader](#mailreader-component) Component)

The contents of the Message-ID header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgID = { read=FMsgID, write=FSetMsgID };
```

## Default Value

""

## Remarks

The contents of the Message-ID header field.

This field contains a unique identifier that refers to a particular version of this message.

This property is not available at design time.

## Data Type

String

# MsgInReplyTo Property ([MailReader](#mailreader-component) Component)

The value of the In-Reply-To header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgInReplyTo = { read=FMsgInReplyTo, write=FSetMsgInReplyTo };
```

## Default Value

""

## Remarks

The value of the In-Reply-To header field.

A reply message should have the "In-Reply-To:" header field which may be used to identify the message (or messages) to which the new message is a reply.

This property is not available at design time.

## Data Type

String

# MsgKeywords Property ([MailReader](#mailreader-component) Component)

The value of the Keywords header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgKeywords = { read=FMsgKeywords, write=FSetMsgKeywords };
```

## Default Value

""

## Remarks

The value of the Keywords header field.

This field can be used to add some important words and phrases that might be useful for the recipient.

This property is not available at design time.

## Data Type

String

# MsgMailer Property ([MailReader](#mailreader-component) Component)

The name of the software that was used to send the message.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgMailer = { read=FMsgMailer };
```

## Default Value

""

## Remarks

The name of the software that was used to send the message.

This property is read-only and not available at design time.

## Data Type

String

# MsgPlainText Property ([MailReader](#mailreader-component) Component)

The plain text version of the message.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgPlainText = { read=FMsgPlainText, write=FSetMsgPlainText };
```

## Default Value

""

## Remarks

The plain text version of the message.

This property is not available at design time.

## Data Type

String

# MsgPriority Property ([MailReader](#mailreader-component) Component)

Specifies the message priority.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderMsgPriorities MsgPriority = { read=FMsgPriority, write=FSetMsgPriority };
enum TsbxMailReaderMsgPriorities {
  mpLowest=0,
  mpLow=1,
  mpNormal=2,
  mpHigh=3,
  mpHighest=4
};
```

## Default Value

mpNormal

## Remarks

Specifies the message priority.

Available options:

|  |  |
| --- | --- |
| mpLowest | 0 |
| mpLow | 1 |
| mpNormal | 2 |
| mpHigh | 3 |
| mpHighest | 4 |

This property is not available at design time.

## Data Type

Integer

# MsgReadReceipt Property ([MailReader](#mailreader-component) Component)

Enables a read notification.

## Syntax

*C++ Builder Syntax*

```text
__property bool MsgReadReceipt = { read=FMsgReadReceipt, write=FSetMsgReadReceipt };
```

## Default Value

false

## Remarks

Enables a read notification.

This property is not available at design time.

## Data Type

Boolean

# MsgReferences Property ([MailReader](#mailreader-component) Component)

The value of the References header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgReferences = { read=FMsgReferences, write=FSetMsgReferences };
```

## Default Value

""

## Remarks

The value of the References header field.

A reply message should include a "References:" header field which may be used to identify the "conversation thread". If the initial message is a reply itself, the References of the reply contain combined content of its "References:", "InReplyTo:" and "MessageID:" fields, subject to their presence in the original message.

This property is not available at design time.

## Data Type

String

# MsgReplyTo Property ([MailReader](#mailreader-component) Component)

The value of the Reply-To header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgReplyTo = { read=FMsgReplyTo, write=FSetMsgReplyTo };
```

## Default Value

""

## Remarks

The value of the Reply-To header field.

This field contains the addresses to which the replies to this message should be sent. This field is optional. If not specified, the replies must be sent to the addresses specified in the [MsgFrom](#msgfrom-property-mailreader-component) field.

This property is not available at design time.

## Data Type

String

# MsgReturnPath Property ([MailReader](#mailreader-component) Component)

The value of the Return-Path header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgReturnPath = { read=FMsgReturnPath, write=FSetMsgReturnPath };
```

## Default Value

""

## Remarks

The value of the Return-Path header field.

This field contains the address to which this message shall be returned in case of unsuccessful delivery.

This property is not available at design time.

## Data Type

String

# MsgSender Property ([MailReader](#mailreader-component) Component)

The value of the Sender header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgSender = { read=FMsgSender, write=FSetMsgSender };
```

## Default Value

""

## Remarks

The value of the Sender header field.

This field specifies the mailbox of the agent responsible for the actual transmission of this message. If the originator of the message can be indicated by a single mailbox and both the author and the transmitter are identical, the "Sender:" field is deemed excessive and should not be used.

This property is not available at design time.

## Data Type

String

# MsgSendTo Property ([MailReader](#mailreader-component) Component)

The value of the To header property.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgSendTo = { read=FMsgSendTo, write=FSetMsgSendTo };
```

## Default Value

""

## Remarks

The value of the To header field.

This field specifies the address(es) of the primary recipient(s) of the message.

This property is not available at design time.

## Data Type

String

# MsgSubject Property ([MailReader](#mailreader-component) Component)

Contains the subject property of this message.

## Syntax

*C++ Builder Syntax*

```text
__property String MsgSubject = { read=FMsgSubject, write=FSetMsgSubject };
```

## Default Value

""

## Remarks

Contains the subject field of this message.

This property is not available at design time.

## Data Type

String

# OfflineMode Property ([MailReader](#mailreader-component) Component)

Switches the component to offline mode.

## Syntax

*C++ Builder Syntax*

```text
__property bool OfflineMode = { read=FOfflineMode, write=FSetOfflineMode };
```

## Default Value

false

## Remarks

When working in offline mode, the component restricts itself from using any online revocation information sources, such as CRL or OCSP responders.

Offline mode may be useful if there is a need to verify the completeness of the validation information included within the signature or provided via KnownCertificates, KnownCRLs, and other related properties.

## Data Type

Boolean

# HeaderFieldCount Property ([MailReader](#mailreader-component) Component)

The number of records in the HeaderField arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int HeaderFieldCount = { read=FHeaderFieldCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [HeaderFieldCategory](#headerfieldcategory-property-mailreader-component)
- [HeaderFieldFormat](#headerfieldformat-property-mailreader-component)
- [HeaderFieldName](#headerfieldname-property-mailreader-component)
- [HeaderFieldValue](#headerfieldvalue-property-mailreader-component)

The array indices start at *0* and end at *HeaderFieldCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# HeaderFieldCategory Property ([MailReader](#mailreader-component) Component)

Specifies the string category of the contained value.

## Syntax

*C++ Builder Syntax*

```text
__property String HeaderFieldCategory[int HeaderFieldIndex] = { read=FHeaderFieldCategory };
```

## Default Value

""

## Remarks

Specifies the string category of the contained value.

This property allows to check or set the category (or type) associated with the contained value. Depending on the format used to load or save the string, the category parameter may or may not be used.

For example, for ASN.1 property lists the category contains the ASN.1 tag of the contained data (OCTETSTRING, UTF8STRING, INTEGER, ...). For basic (name, value) pairs, such as HTTP headers, the category parameter is not used.

The *HeaderFieldIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [HeaderFieldCount](#headerfieldcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# HeaderFieldFormat Property ([MailReader](#mailreader-component) Component)

Specifies the format (encoding) of the value contained in the Value property.

## Syntax

*C++ Builder Syntax*

```text
__property int HeaderFieldFormat[int HeaderFieldIndex] = { read=FHeaderFieldFormat };
```

## Default Value

0

## Remarks

Specifies the format (encoding) of the value contained in the [HeaderFieldValue](#headerfieldvalue-property-mailreader-component) property.

Use this property to check or set the format of the contained value. Remember to provide the actual value in the appropriate format that matches this setting:

```text
  utils.NameValuePairs[0].Name = "key";
  utils.NameValuePairs[0].Format = svfBinary;
  utils.NameValuePairs[0].Name = "0a1b2c3d4e5f6071";
```

The following formats are currently supported:

|  |  |  |
| --- | --- | --- |
| svfText | 0 | The property contains text |
| svfBinary | 1 | The property contains binary data. The Value property contains a hex encoding of it. |

The *HeaderFieldIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [HeaderFieldCount](#headerfieldcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# HeaderFieldName Property ([MailReader](#mailreader-component) Component)

The name element in a (name, value) pair.

## Syntax

*C++ Builder Syntax*

```text
__property String HeaderFieldName[int HeaderFieldIndex] = { read=FHeaderFieldName };
```

## Default Value

""

## Remarks

The name element in a (name, value) pair.

The *HeaderFieldIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [HeaderFieldCount](#headerfieldcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# HeaderFieldValue Property ([MailReader](#mailreader-component) Component)

The value element in a (name, value) pair.

## Syntax

*C++ Builder Syntax*

```text
__property String HeaderFieldValue[int HeaderFieldIndex] = { read=FHeaderFieldValue };
```

## Default Value

""

## Remarks

The value element in a (name, value) pair.

The *HeaderFieldIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [HeaderFieldCount](#headerfieldcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# Profile Property ([MailReader](#mailreader-component) Component)

Specifies a pre-defined profile to apply when creating the signature.

## Syntax

*C++ Builder Syntax*

```text
__property String Profile = { read=FProfile, write=FSetProfile };
```

## Default Value

""

## Remarks

Advanced signatures come in many variants, which are often defined by parties that needs to process them or by local standards. SecureBlackbox profiles are sets of pre-defined configurations which correspond to particular signature variants. By specifying a profile, you are pre-configuring the component to make it produce the signature that matches the configuration corresponding to that profile.

## Data Type

String

# ProxyAddress Property ([MailReader](#mailreader-component) Component)

The IP address of the proxy server.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyAddress = { read=FProxyAddress, write=FSetProxyAddress };
```

## Default Value

""

## Remarks

The IP address of the proxy server.

## Data Type

String

# ProxyAuthentication Property ([MailReader](#mailreader-component) Component)

The authentication type used by the proxy server.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderProxyAuthentications ProxyAuthentication = { read=FProxyAuthentication, write=FSetProxyAuthentication };
enum TsbxMailReaderProxyAuthentications {
  patNoAuthentication=0,
  patBasic=1,
  patDigest=2,
  patNTLM=3
};
```

## Default Value

patNoAuthentication

## Remarks

The authentication type used by the proxy server.

|  |  |
| --- | --- |
| patNoAuthentication | 0 |
| patBasic | 1 |
| patDigest | 2 |
| patNTLM | 3 |

## Data Type

Integer

# ProxyPassword Property ([MailReader](#mailreader-component) Component)

The password to authenticate to the proxy server.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyPassword = { read=FProxyPassword, write=FSetProxyPassword };
```

## Default Value

""

## Remarks

The password to authenticate to the proxy server.

## Data Type

String

# ProxyPort Property ([MailReader](#mailreader-component) Component)

The port on the proxy server to connect to.

## Syntax

*C++ Builder Syntax*

```text
__property int ProxyPort = { read=FProxyPort, write=FSetProxyPort };
```

## Default Value

0

## Remarks

The port on the proxy server to connect to.

## Data Type

Integer

# ProxyType Property ([MailReader](#mailreader-component) Component)

The type of the proxy server.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderProxyTypes ProxyType = { read=FProxyType, write=FSetProxyType };
enum TsbxMailReaderProxyTypes {
  cptNone=0,
  cptSocks4=1,
  cptSocks5=2,
  cptWebTunnel=3,
  cptHTTP=4
};
```

## Default Value

cptNone

## Remarks

The type of the proxy server.

|  |  |
| --- | --- |
| cptNone | 0 |
| cptSocks4 | 1 |
| cptSocks5 | 2 |
| cptWebTunnel | 3 |
| cptHTTP | 4 |

## Data Type

Integer

# ProxyRequestHeaders Property ([MailReader](#mailreader-component) Component)

Contains HTTP request headers for WebTunnel and HTTP proxy.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyRequestHeaders = { read=FProxyRequestHeaders, write=FSetProxyRequestHeaders };
```

## Default Value

""

## Remarks

Contains HTTP request headers for WebTunnel and HTTP proxy.

## Data Type

String

# ProxyResponseBody Property ([MailReader](#mailreader-component) Component)

Contains the HTTP or HTTPS (WebTunnel) proxy response body.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyResponseBody = { read=FProxyResponseBody, write=FSetProxyResponseBody };
```

## Default Value

""

## Remarks

Contains the HTTP or HTTPS (WebTunnel) proxy response body.

## Data Type

String

# ProxyResponseHeaders Property ([MailReader](#mailreader-component) Component)

Contains response headers received from an HTTP or HTTPS (WebTunnel) proxy server.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyResponseHeaders = { read=FProxyResponseHeaders, write=FSetProxyResponseHeaders };
```

## Default Value

""

## Remarks

Contains response headers received from an HTTP or HTTPS (WebTunnel) proxy server.

## Data Type

String

# ProxyUseIPv6 Property ([MailReader](#mailreader-component) Component)

Specifies whether IPv6 should be used when connecting through the proxy.

## Syntax

*C++ Builder Syntax*

```text
__property bool ProxyUseIPv6 = { read=FProxyUseIPv6, write=FSetProxyUseIPv6 };
```

## Default Value

false

## Remarks

Specifies whether IPv6 should be used when connecting through the proxy.

## Data Type

Boolean

# ProxyUsername Property ([MailReader](#mailreader-component) Component)

Specifies the username credential for proxy authentication.

## Syntax

*C++ Builder Syntax*

```text
__property String ProxyUsername = { read=FProxyUsername, write=FSetProxyUsername };
```

## Default Value

""

## Remarks

Specifies the username credential for proxy authentication.

## Data Type

String

# ReplyToAddrCount Property ([MailReader](#mailreader-component) Component)

The number of records in the ReplyToAddr arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int ReplyToAddrCount = { read=FReplyToAddrCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [ReplyToAddrAddress](#replytoaddraddress-property-mailreader-component)
- [ReplyToAddrDisplayName](#replytoaddrdisplayname-property-mailreader-component)
- [ReplyToAddrGroupName](#replytoaddrgroupname-property-mailreader-component)

The array indices start at *0* and end at *ReplyToAddrCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# ReplyToAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String ReplyToAddrAddress[int ReplyToAddrIndex] = { read=FReplyToAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

The *ReplyToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [ReplyToAddrCount](#replytoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# ReplyToAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String ReplyToAddrDisplayName[int ReplyToAddrIndex] = { read=FReplyToAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

The *ReplyToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [ReplyToAddrCount](#replytoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# ReplyToAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String ReplyToAddrGroupName[int ReplyToAddrIndex] = { read=FReplyToAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

The *ReplyToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [ReplyToAddrCount](#replytoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# RevocationCheck Property ([MailReader](#mailreader-component) Component)

Specifies the kind(s) of revocation check to perform for all chain certificates.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderRevocationChecks RevocationCheck = { read=FRevocationCheck, write=FSetRevocationCheck };
enum TsbxMailReaderRevocationChecks {
  crcNone=0,
  crcAuto=1,
  crcAllCRL=2,
  crcAllOCSP=3,
  crcAllCRLAndOCSP=4,
  crcAnyCRL=5,
  crcAnyOCSP=6,
  crcAnyCRLOrOCSP=7,
  crcAnyOCSPOrCRL=8
};
```

## Default Value

crcAuto

## Remarks

Revocation checking is necessary to ensure the integrity of the chain and obtain up-to-date certificate validity and trustworthiness information.

Certificate Revocation Lists (CRLs) and Online Certificate Status Protocol (OCSP) responses serve the same purpose of ensuring that the certificate had not been revoked by the Certificate Authority (CA) at the time of use. Depending on your circumstances and security policy requirements, you may want to use either one or both of the revocation information source types.

|  |  |  |
| --- | --- | --- |
| crcNone | 0 | No revocation checking. |
| crcAuto | 1 | Automatic mode selection. Currently this maps to crcAnyOCSPOrCRL, but it may change in the future. |
| crcAllCRL | 2 | All provided CRL endpoints will be checked, and all checks must succeed. |
| crcAllOCSP | 3 | All provided OCSP endpoints will be checked, and all checks must succeed. |
| crcAllCRLAndOCSP | 4 | All provided CRL and OCSP endpoints will be checked, and all checks must succeed. |
| crcAnyCRL | 5 | All provided CRL endpoints will be checked, and at least one check must succeed. |
| crcAnyOCSP | 6 | All provided OCSP endpoints will be checked, and at least one check must succeed. |
| crcAnyCRLOrOCSP | 7 | All provided CRL and OCSP endpoints will be checked, and at least one check must succeed. CRL endpoints are checked first. |
| crcAnyOCSPOrCRL | 8 | All provided CRL and OCSP endpoints will be checked, and at least one check must succeed. OCSP endpoints are checked first. |

This setting controls the way the revocation checks are performed for every certificate in the chain. Typically certificates come with two types of revocation information sources: CRL (certificate revocation lists) and OCSP responders. CRLs are static objects periodically published by the CA at some online location. OCSP responders are active online services maintained by the CA that can provide up-to-date information on certificate statuses in near real time.

There are some conceptual differences between the two. CRLs are normally larger in size. Their use involves some latency because there is normally some delay between the time when a certificate was revoked and the time the subsequent CRL mentioning that is published. The benefits of CRL is that the same object can provide statuses for all certificates issued by a particular CA, and that the whole technology is much simpler than OCSP (and thus is supported by more CAs).

This setting lets you adjust the validation course by including or excluding certain types of revocation sources from the validation process. The crcAnyOCSPOrCRL setting (give preference to the faster OCSP route and only demand one source to succeed) is a good choice for most typical validation environments. The "crcAll*" modes are much stricter, and may be used in scenarios where bulletproof validity information is essential.

NOTE: If no CRL or OCSP endpoints are provided by the CA, the revocation check will be considered successful. This is because the CA chose not to supply revocation information for its certificates, meaning they are considered irrevocable.

NOTE: Within each of the above settings, if any retrieved CRL or OCSP response indicates that the certificate has been revoked, the revocation check fails.

## Data Type

Integer

# SecInfoChainValidationDetails Property ([MailReader](#mailreader-component) Component)

The details of a certificate chain validation outcome.

## Syntax

*C++ Builder Syntax*

```text
__property int SecInfoChainValidationDetails = { read=FSecInfoChainValidationDetails };
```

## Default Value

0

## Remarks

The details of a certificate chain validation outcome. They may often suggest the reasons that contributed to the overall validation result.

Returns a bit mask of the following options:

|  |  |  |
| --- | --- | --- |
| cvrBadData | 0x0001 | One or more certificates in the validation path are malformed |
| cvrRevoked | 0x0002 | One or more certificates are revoked |
| cvrNotYetValid | 0x0004 | One or more certificates are not yet valid |
| cvrExpired | 0x0008 | One or more certificates are expired |
| cvrInvalidSignature | 0x0010 | A certificate contains a non-valid digital signature |
| cvrUnknownCA | 0x0020 | A CA certificate for one or more certificates has not been found (chain incomplete) |
| cvrCAUnauthorized | 0x0040 | One of the CA certificates are not authorized to act as CA |
| cvrCRLNotVerified | 0x0080 | One or more CRLs could not be verified |
| cvrOCSPNotVerified | 0x0100 | One or more OCSP responses could not be verified |
| cvrIdentityMismatch | 0x0200 | The identity protected by the certificate (a TLS endpoint or an e-mail addressee) does not match what is recorded in the certificate |
| cvrNoKeyUsage | 0x0400 | A mandatory key usage is not enabled in one of the chain certificates |
| cvrBlocked | 0x0800 | One or more certificates are blocked |
| cvrFailure | 0x1000 | General validation failure |
| cvrChainLoop | 0x2000 | Chain loop: one of the CA certificates recursively signs itself |
| cvrWeakAlgorithm | 0x4000 | A weak algorithm is used in one of certificates or revocation elements |
| cvrUserEnforced | 0x8000 | The chain was considered invalid following intervention from a user code |

This property is read-only and not available at design time.

## Data Type

Integer

# SecInfoChainValidationResult Property ([MailReader](#mailreader-component) Component)

The outcome of a certificate chain validation routine.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderSecInfoChainValidationResults SecInfoChainValidationResult = { read=FSecInfoChainValidationResult };
enum TsbxMailReaderSecInfoChainValidationResults {
  cvtValid=0,
  cvtValidButUntrusted=1,
  cvtInvalid=2,
  cvtCantBeEstablished=3
};
```

## Default Value

cvtValid

## Remarks

The outcome of a certificate chain validation routine.

Available options:

|  |  |  |
| --- | --- | --- |
| cvtValid | 0 | The chain is valid |
| cvtValidButUntrusted | 1 | The chain is valid, but the root certificate is not trusted |
| cvtInvalid | 2 | The chain is not valid (some of certificates are revoked, expired, or contain an invalid signature) |
| cvtCantBeEstablished | 3 | The validity of the chain cannot be established because of missing or unavailable validation information (certificates, CRLs, or OCSP responses) |

Use the ValidationLog property to access the detailed validation log.

This property is read-only and not available at design time.

## Data Type

Integer

# SecInfoClaimedSigningTime Property ([MailReader](#mailreader-component) Component)

Returns the signature's claimed signing time.

## Syntax

*C++ Builder Syntax*

```text
__property String SecInfoClaimedSigningTime = { read=FSecInfoClaimedSigningTime };
```

## Default Value

""

## Remarks

Returns the signature's claimed signing time.

Use this property to get the signature creation time from the signer's computer. Note that the claimed time is not covered by a trusted timestamp and may be forfeited or wrong. The time is provided in UTC.

This property is read-only.

## Data Type

String

# SecInfoEncrypted Property ([MailReader](#mailreader-component) Component)

Indicates whether the message is encrypted.

## Syntax

*C++ Builder Syntax*

```text
__property bool SecInfoEncrypted = { read=FSecInfoEncrypted };
```

## Default Value

false

## Remarks

Indicates whether the message is encrypted.

This property is read-only.

## Data Type

Boolean

# SecInfoEncryptionAlgorithm Property ([MailReader](#mailreader-component) Component)

Indicates the algorithm that was used to encrypt the message.

## Syntax

*C++ Builder Syntax*

```text
__property String SecInfoEncryptionAlgorithm = { read=FSecInfoEncryptionAlgorithm };
```

## Default Value

""

## Remarks

Indicates the algorithm that was used to encrypt the message.

This property is read-only.

## Data Type

String

# SecInfoHashAlgorithm Property ([MailReader](#mailreader-component) Component)

Specifies the hash algorithm that was used to calculate the signature.

## Syntax

*C++ Builder Syntax*

```text
__property String SecInfoHashAlgorithm = { read=FSecInfoHashAlgorithm };
```

## Default Value

""

## Remarks

Specifies the hash algorithm that was used to calculate the signature.

This property is read-only.

## Data Type

String

# SecInfoSignatureValidationResult Property ([MailReader](#mailreader-component) Component)

The outcome of the cryptographic signature validation.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderSecInfoSignatureValidationResults SecInfoSignatureValidationResult = { read=FSecInfoSignatureValidationResult };
enum TsbxMailReaderSecInfoSignatureValidationResults {
  svtValid=0,
  svtUnknown=1,
  svtCorrupted=2,
  svtSignerNotFound=3,
  svtFailure=4,
  svtReferenceCorrupted=5
};
```

## Default Value

svtValid

## Remarks

The outcome of the cryptographic signature validation.

The following signature validity values are supported:

|  |  |  |
| --- | --- | --- |
| svtValid | 0 | The signature is valid |
| svtUnknown | 1 | Signature validity is unknown |
| svtCorrupted | 2 | The signature is corrupted |
| svtSignerNotFound | 3 | Failed to acquire the signing certificate. The signature cannot be validated. |
| svtFailure | 4 | General failure |
| svtReferenceCorrupted | 5 | Reference corrupted (XML-based signatures only) |

This property is read-only and not available at design time.

## Data Type

Integer

# SecInfoSigned Property ([MailReader](#mailreader-component) Component)

Indicates whether the message is signed.

## Syntax

*C++ Builder Syntax*

```text
__property bool SecInfoSigned = { read=FSecInfoSigned };
```

## Default Value

false

## Remarks

Indicates whether the message is signed.

This property is read-only.

## Data Type

Boolean

# SecInfoValidationLog Property ([MailReader](#mailreader-component) Component)

Contains the signing certificate's chain validation log.

## Syntax

*C++ Builder Syntax*

```text
__property String SecInfoValidationLog = { read=FSecInfoValidationLog };
```

## Default Value

""

## Remarks

Contains the signing certificate's chain validation log. This information may be very useful in investigating chain validation failures.

This property is read-only.

## Data Type

String

# SenderAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String SenderAddrAddress = { read=FSenderAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

This property is read-only.

## Data Type

String

# SenderAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String SenderAddrDisplayName = { read=FSenderAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

This property is read-only.

## Data Type

String

# SenderAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String SenderAddrGroupName = { read=FSenderAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

This property is read-only.

## Data Type

String

# SendToAddrCount Property ([MailReader](#mailreader-component) Component)

The number of records in the SendToAddr arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int SendToAddrCount = { read=FSendToAddrCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [SendToAddrAddress](#sendtoaddraddress-property-mailreader-component)
- [SendToAddrDisplayName](#sendtoaddrdisplayname-property-mailreader-component)
- [SendToAddrGroupName](#sendtoaddrgroupname-property-mailreader-component)

The array indices start at *0* and end at *SendToAddrCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# SendToAddrAddress Property ([MailReader](#mailreader-component) Component)

Contains the e-mail address in the form of john@doe.

## Syntax

*C++ Builder Syntax*

```text
__property String SendToAddrAddress[int SendToAddrIndex] = { read=FSendToAddrAddress };
```

## Default Value

""

## Remarks

Contains the e-mail address in the form of john@doe.com.

The *SendToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [SendToAddrCount](#sendtoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# SendToAddrDisplayName Property ([MailReader](#mailreader-component) Component)

Contains the friendly name of the user of this address, such as John Doe.

## Syntax

*C++ Builder Syntax*

```text
__property String SendToAddrDisplayName[int SendToAddrIndex] = { read=FSendToAddrDisplayName };
```

## Default Value

""

## Remarks

Contains the friendly name of the user of this address, such as John Doe.

The *SendToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [SendToAddrCount](#sendtoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# SendToAddrGroupName Property ([MailReader](#mailreader-component) Component)

The name of the group this address belongs to.

## Syntax

*C++ Builder Syntax*

```text
__property String SendToAddrGroupName[int SendToAddrIndex] = { read=FSendToAddrGroupName };
```

## Default Value

""

## Remarks

The name of the group this address belongs to.

The *SendToAddrIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [SendToAddrCount](#sendtoaddrcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray SigningCertBytes = { read=FSigningCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

This property is read-only and not available at design time.

## Data Type

Byte Array

# SigningCertCA Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate has a CA capability.

## Syntax

*C++ Builder Syntax*

```text
__property bool SigningCertCA = { read=FSigningCertCA };
```

## Default Value

false

## Remarks

Indicates whether the certificate has a CA capability. For the certificate to be considered a CA, it must have its Basic Constraints extension set with the CA indicator enabled.

Set this property when generating a new certificate to have its Basic Constraints extension generated automatically.

This property is read-only and not available at design time.

## Data Type

Boolean

# SigningCertCAKeyID Property ([MailReader](#mailreader-component) Component)

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray SigningCertCAKeyID = { read=FSigningCertCAKeyID };
```

## Remarks

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

Authority Key Identifier is a certificate extension which allows identification of certificates belonging to the same issuer, but with different public keys. It is a de-facto standard to include this extension in all certificates to facilitate chain building.

This setting cannot be set when generating a certificate as it always derives from another certificate property. [CertificateManager](#CertificateManager) generates this setting automatically if enough information is available to it: for self-signed certificates, this value is copied from the [SigningCertSubjectKeyID](#signingcertsubjectkeyid-property-mailreader-component) setting, and for lower-level certificates, from the parent certificate's subject key ID extension.

This property is read-only and not available at design time.

## Data Type

Byte Array

# SigningCertCRLDistributionPoints Property ([MailReader](#mailreader-component) Component)

Contains a list of locations of CRL distribution points used to check this certificate's validity.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertCRLDistributionPoints = { read=FSigningCertCRLDistributionPoints };
```

## Default Value

""

## Remarks

Contains a list of locations of CRL distribution points used to check this certificate's validity. The list is taken from the respective certificate extension.

Use this property when generating a certificate to provide a list of CRL endpoints that should be made part of the new certificate.

The endpoints are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertCurve Property ([MailReader](#mailreader-component) Component)

Specifies the elliptic curve associated with the certificate's public key.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertCurve = { read=FSigningCertCurve };
```

## Default Value

""

## Remarks

Specifies the elliptic curve associated with the certificate's public key. This setting only applies to certificates containing EC keys.

|  |  |  |
| --- | --- | --- |
| SB_EC_SECP112R1 | SECP112R1 |  |
| SB_EC_SECP112R2 | SECP112R2 |  |
| SB_EC_SECP128R1 | SECP128R1 |  |
| SB_EC_SECP128R2 | SECP128R2 |  |
| SB_EC_SECP160K1 | SECP160K1 |  |
| SB_EC_SECP160R1 | SECP160R1 |  |
| SB_EC_SECP160R2 | SECP160R2 |  |
| SB_EC_SECP192K1 | SECP192K1 |  |
| SB_EC_SECP192R1 | SECP192R1 |  |
| SB_EC_SECP224K1 | SECP224K1 |  |
| SB_EC_SECP224R1 | SECP224R1 |  |
| SB_EC_SECP256K1 | SECP256K1 |  |
| SB_EC_SECP256R1 | SECP256R1 |  |
| SB_EC_SECP384R1 | SECP384R1 |  |
| SB_EC_SECP521R1 | SECP521R1 |  |
| SB_EC_SECT113R1 | SECT113R1 |  |
| SB_EC_SECT113R2 | SECT113R2 |  |
| SB_EC_SECT131R1 | SECT131R1 |  |
| SB_EC_SECT131R2 | SECT131R2 |  |
| SB_EC_SECT163K1 | SECT163K1 |  |
| SB_EC_SECT163R1 | SECT163R1 |  |
| SB_EC_SECT163R2 | SECT163R2 |  |
| SB_EC_SECT193R1 | SECT193R1 |  |
| SB_EC_SECT193R2 | SECT193R2 |  |
| SB_EC_SECT233K1 | SECT233K1 |  |
| SB_EC_SECT233R1 | SECT233R1 |  |
| SB_EC_SECT239K1 | SECT239K1 |  |
| SB_EC_SECT283K1 | SECT283K1 |  |
| SB_EC_SECT283R1 | SECT283R1 |  |
| SB_EC_SECT409K1 | SECT409K1 |  |
| SB_EC_SECT409R1 | SECT409R1 |  |
| SB_EC_SECT571K1 | SECT571K1 |  |
| SB_EC_SECT571R1 | SECT571R1 |  |
| SB_EC_PRIME192V1 | PRIME192V1 |  |
| SB_EC_PRIME192V2 | PRIME192V2 |  |
| SB_EC_PRIME192V3 | PRIME192V3 |  |
| SB_EC_PRIME239V1 | PRIME239V1 |  |
| SB_EC_PRIME239V2 | PRIME239V2 |  |
| SB_EC_PRIME239V3 | PRIME239V3 |  |
| SB_EC_PRIME256V1 | PRIME256V1 |  |
| SB_EC_C2PNB163V1 | C2PNB163V1 |  |
| SB_EC_C2PNB163V2 | C2PNB163V2 |  |
| SB_EC_C2PNB163V3 | C2PNB163V3 |  |
| SB_EC_C2PNB176W1 | C2PNB176W1 |  |
| SB_EC_C2TNB191V1 | C2TNB191V1 |  |
| SB_EC_C2TNB191V2 | C2TNB191V2 |  |
| SB_EC_C2TNB191V3 | C2TNB191V3 |  |
| SB_EC_C2ONB191V4 | C2ONB191V4 |  |
| SB_EC_C2ONB191V5 | C2ONB191V5 |  |
| SB_EC_C2PNB208W1 | C2PNB208W1 |  |
| SB_EC_C2TNB239V1 | C2TNB239V1 |  |
| SB_EC_C2TNB239V2 | C2TNB239V2 |  |
| SB_EC_C2TNB239V3 | C2TNB239V3 |  |
| SB_EC_C2ONB239V4 | C2ONB239V4 |  |
| SB_EC_C2ONB239V5 | C2ONB239V5 |  |
| SB_EC_C2PNB272W1 | C2PNB272W1 |  |
| SB_EC_C2PNB304W1 | C2PNB304W1 |  |
| SB_EC_C2TNB359V1 | C2TNB359V1 |  |
| SB_EC_C2PNB368W1 | C2PNB368W1 |  |
| SB_EC_C2TNB431R1 | C2TNB431R1 |  |
| SB_EC_NISTP192 | NISTP192 |  |
| SB_EC_NISTP224 | NISTP224 |  |
| SB_EC_NISTP256 | NISTP256 |  |
| SB_EC_NISTP384 | NISTP384 |  |
| SB_EC_NISTP521 | NISTP521 |  |
| SB_EC_NISTB163 | NISTB163 |  |
| SB_EC_NISTB233 | NISTB233 |  |
| SB_EC_NISTB283 | NISTB283 |  |
| SB_EC_NISTB409 | NISTB409 |  |
| SB_EC_NISTB571 | NISTB571 |  |
| SB_EC_NISTK163 | NISTK163 |  |
| SB_EC_NISTK233 | NISTK233 |  |
| SB_EC_NISTK283 | NISTK283 |  |
| SB_EC_NISTK409 | NISTK409 |  |
| SB_EC_NISTK571 | NISTK571 |  |
| SB_EC_GOSTCPTEST | GOSTCPTEST |  |
| SB_EC_GOSTCPA | GOSTCPA |  |
| SB_EC_GOSTCPB | GOSTCPB |  |
| SB_EC_GOSTCPC | GOSTCPC |  |
| SB_EC_GOSTCPXCHA | GOSTCPXCHA |  |
| SB_EC_GOSTCPXCHB | GOSTCPXCHB |  |
| SB_EC_BRAINPOOLP160R1 | BRAINPOOLP160R1 |  |
| SB_EC_BRAINPOOLP160T1 | BRAINPOOLP160T1 |  |
| SB_EC_BRAINPOOLP192R1 | BRAINPOOLP192R1 |  |
| SB_EC_BRAINPOOLP192T1 | BRAINPOOLP192T1 |  |
| SB_EC_BRAINPOOLP224R1 | BRAINPOOLP224R1 |  |
| SB_EC_BRAINPOOLP224T1 | BRAINPOOLP224T1 |  |
| SB_EC_BRAINPOOLP256R1 | BRAINPOOLP256R1 |  |
| SB_EC_BRAINPOOLP256T1 | BRAINPOOLP256T1 |  |
| SB_EC_BRAINPOOLP320R1 | BRAINPOOLP320R1 |  |
| SB_EC_BRAINPOOLP320T1 | BRAINPOOLP320T1 |  |
| SB_EC_BRAINPOOLP384R1 | BRAINPOOLP384R1 |  |
| SB_EC_BRAINPOOLP384T1 | BRAINPOOLP384T1 |  |
| SB_EC_BRAINPOOLP512R1 | BRAINPOOLP512R1 |  |
| SB_EC_BRAINPOOLP512T1 | BRAINPOOLP512T1 |  |
| SB_EC_CURVE25519 | CURVE25519 |  |
| SB_EC_CURVE448 | CURVE448 |  |

This property is read-only and not available at design time.

## Data Type

String

# SigningCertFingerprint Property ([MailReader](#mailreader-component) Component)

Contains the fingerprint (a hash imprint) of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertFingerprint = { read=FSigningCertFingerprint };
```

## Default Value

""

## Remarks

Contains the fingerprint (a hash imprint) of this certificate.

While there is no formal standard defining what a fingerprint is, a SHA1 hash of the certificate's DER-encoded body is typically used.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertFriendlyName Property ([MailReader](#mailreader-component) Component)

Contains an associated alias (friendly name) of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertFriendlyName = { read=FSigningCertFriendlyName };
```

## Default Value

""

## Remarks

Contains an associated alias (friendly name) of the certificate. The friendly name is not a property of a certificate: it is maintained by the certificate media rather than being included in its DER representation. Windows certificate stores are one example of media that does support friendly names.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 SigningCertHandle = { read=FSigningCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

This property is read-only and not available at design time.

## Data Type

Long64

# SigningCertHashAlgorithm Property ([MailReader](#mailreader-component) Component)

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing).

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertHashAlgorithm = { read=FSigningCertHashAlgorithm };
```

## Default Value

""

## Remarks

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). It is not a property of a certificate; use [SigningCertSigAlgorithm](#signingcertsigalgorithm-property-mailreader-component) to find out the hash algorithm that is part of the certificate signature.

|  |  |  |
| --- | --- | --- |
| 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 |  |

This property is read-only and not available at design time.

## Data Type

String

# SigningCertIssuer Property ([MailReader](#mailreader-component) Component)

The common name of the certificate issuer (CA), typically a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertIssuer = { read=FSigningCertIssuer };
```

## Default Value

""

## Remarks

The common name of the certificate issuer (CA), typically a company name. This is part of a larger set of credentials available via [SigningCertIssuerRDN](#signingcertissuerrdn-property-mailreader-component).

This property is read-only and not available at design time.

## Data Type

String

# SigningCertIssuerRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate issuer.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertIssuerRDN = { read=FSigningCertIssuerRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate issuer.

Example: */C=US/O=Nationwide CA/CN=Web Certification Authority*

This property is read-only and not available at design time.

## Data Type

String

# SigningCertKeyAlgorithm Property ([MailReader](#mailreader-component) Component)

Specifies the public key algorithm of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertKeyAlgorithm = { read=FSigningCertKeyAlgorithm };
```

## Default Value

"0"

## Remarks

Specifies the public key algorithm of this certificate.

|  |  |  |
| --- | --- | --- |
| SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION | rsaEncryption |  |
| SB_CERT_ALGORITHM_MD2_RSA_ENCRYPTION | md2withRSAEncryption |  |
| SB_CERT_ALGORITHM_MD5_RSA_ENCRYPTION | md5withRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA1_RSA_ENCRYPTION | sha1withRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA | id-dsa |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA1 | id-dsa-with-sha1 |  |
| SB_CERT_ALGORITHM_DH_PUBLIC | dhpublicnumber |  |
| SB_CERT_ALGORITHM_SHA224_RSA_ENCRYPTION | sha224WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA256_RSA_ENCRYPTION | sha256WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA384_RSA_ENCRYPTION | sha384WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA512_RSA_ENCRYPTION | sha512WithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_RSAPSS | id-RSASSA-PSS |  |
| SB_CERT_ALGORITHM_ID_RSAOAEP | id-RSAES-OAEP |  |
| SB_CERT_ALGORITHM_RSASIGNATURE_RIPEMD160 | ripemd160withRSA |  |
| SB_CERT_ALGORITHM_ID_ELGAMAL | elGamal |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA | ecdsa-with-SHA1 |  |
| SB_CERT_ALGORITHM_RECOMMENDED_ECDSA | ecdsa-recommended |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA | ecdsa-with-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA | ecdsa-with-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA | ecdsa-with-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA | ecdsa-with-SHA512 |  |
| SB_CERT_ALGORITHM_EC | id-ecPublicKey |  |
| SB_CERT_ALGORITHM_SPECIFIED_ECDSA | ecdsa-specified |  |
| SB_CERT_ALGORITHM_GOST_R3410_1994 | id-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3410_2001 | id-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_1994 | id-GostR3411-94-with-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_2001 | id-GostR3411-94-with-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA_PLAIN | ecdsa-plain-SHA1 |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA_PLAIN | ecdsa-plain-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA_PLAIN | ecdsa-plain-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA_PLAIN | ecdsa-plain-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA_PLAIN | ecdsa-plain-SHA512 |  |
| SB_CERT_ALGORITHM_RIPEMD160_ECDSA_PLAIN | ecdsa-plain-RIPEMD160 |  |
| SB_CERT_ALGORITHM_WHIRLPOOL_RSA_ENCRYPTION | whirlpoolWithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA224 | id-dsa-with-sha224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA256 | id-dsa-with-sha256 |  |
| SB_CERT_ALGORITHM_SHA3_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA | id-ecdsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA | id-ecdsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA | id-ecdsa-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA | id-ecdsa-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-512 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_224 | id-dsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_256 | id-dsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA | id-ecdsa-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA | id-ecdsa-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA | id-ecdsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA | id-ecdsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA | id-ecdsa-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA | id-ecdsa-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA | id-ecdsa-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA | id-ecdsa-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b512 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_224 | id-dsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_256 | id-dsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519 | id-Ed25519 |  |
| SB_CERT_ALGORITHM_EDDSA_ED448 | id-Ed448 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519_PH | id-Ed25519ph |  |
| SB_CERT_ALGORITHM_EDDSA_ED448_PH | id-Ed448ph |  |
| SB_CERT_ALGORITHM_EDDSA | id-EdDSA |  |
| SB_CERT_ALGORITHM_EDDSA_SIGNATURE | id-EdDSA-sig |  |
| SB_CERT_ALGORITHM_MLDSA_44 | id-ml-dsa-44 |  |
| SB_CERT_ALGORITHM_MLDSA_65 | id-ml-dsa-65 |  |
| SB_CERT_ALGORITHM_MLDSA_87 | id-ml-dsa-87 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_44_SHA512 | id-hash-ml-dsa-44-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_65_SHA512 | id-hash-ml-dsa-65-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_87_SHA512 | id-hash-ml-dsa-87-with-sha512 |  |
| SB_CERT_ALGORITHM_MLKEM_512 | id-ml-kem-512 |  |
| SB_CERT_ALGORITHM_MLKEM_768 | id-ml-kem-768 |  |
| SB_CERT_ALGORITHM_MLKEM_1024 | id-ml-kem-1024 |  |

Use the [SigningCertKeyBits](#signingcertkeybits-property-mailreader-component), [SigningCertCurve](#signingcertcurve-property-mailreader-component), and [SigningCertPublicKeyBytes](#signingcertpublickeybytes-property-mailreader-component) properties to get more details about the key the certificate contains.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertKeyBits Property ([MailReader](#mailreader-component) Component)

Returns the length of the public key in bits.

## Syntax

*C++ Builder Syntax*

```text
__property int SigningCertKeyBits = { read=FSigningCertKeyBits };
```

## Default Value

0

## Remarks

Returns the length of the public key in bits.

This value indicates the length of the principal cryptographic parameter of the key, such as the length of the RSA modulus or ECDSA field. The key data returned by the [SigningCertPublicKeyBytes](#signingcertpublickeybytes-property-mailreader-component) or [SigningCertPrivateKeyBytes](#MailReader_p_SigningCertPrivateKeyBytes) property would typically contain auxiliary values, and therefore be longer.

This property is read-only and not available at design time.

## Data Type

Integer

# SigningCertKeyFingerprint Property ([MailReader](#mailreader-component) Component)

Returns a SHA1 fingerprint of the public key contained in the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertKeyFingerprint = { read=FSigningCertKeyFingerprint };
```

## Default Value

""

## Remarks

Returns a SHA1 fingerprint of the public key contained in the certificate.

Note that the key fingerprint is different from the certificate fingerprint accessible via the [SigningCertFingerprint](#signingcertfingerprint-property-mailreader-component) property. The key fingerprint uniquely identifies the public key, and so can be the same for multiple certificates containing the same key.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertKeyUsage Property ([MailReader](#mailreader-component) Component)

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

## Syntax

*C++ Builder Syntax*

```text
__property int SigningCertKeyUsage = { read=FSigningCertKeyUsage };
```

## Default Value

0

## Remarks

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

This value is a bit mask of the following values:

|  |  |  |
| --- | --- | --- |
| ckuUnknown | 0x00000 | Unknown key usage |
| ckuDigitalSignature | 0x00001 | Digital signature |
| ckuNonRepudiation | 0x00002 | Non-repudiation |
| ckuKeyEncipherment | 0x00004 | Key encipherment |
| ckuDataEncipherment | 0x00008 | Data encipherment |
| ckuKeyAgreement | 0x00010 | Key agreement |
| ckuKeyCertSign | 0x00020 | Certificate signing |
| ckuCRLSign | 0x00040 | Revocation signing |
| ckuEncipherOnly | 0x00080 | Encipher only |
| ckuDecipherOnly | 0x00100 | Decipher only |
| ckuServerAuthentication | 0x00200 | Server authentication |
| ckuClientAuthentication | 0x00400 | Client authentication |
| ckuCodeSigning | 0x00800 | Code signing |
| ckuEmailProtection | 0x01000 | Email protection |
| ckuTimeStamping | 0x02000 | Timestamping |
| ckuOCSPSigning | 0x04000 | OCSP signing |
| ckuSmartCardLogon | 0x08000 | Smartcard logon |
| ckuKeyPurposeClientAuth | 0x10000 | Kerberos - client authentication |
| ckuKeyPurposeKDC | 0x20000 | Kerberos - KDC |

Set this property before generating the certificate to propagate the key usage flags to the new certificate.

This property is read-only and not available at design time.

## Data Type

Integer

# SigningCertKeyValid Property ([MailReader](#mailreader-component) Component)

Returns True if the certificate's key is cryptographically valid, and False otherwise.

## Syntax

*C++ Builder Syntax*

```text
__property bool SigningCertKeyValid = { read=FSigningCertKeyValid };
```

## Default Value

false

## Remarks

Returns *True* if the certificate's key is cryptographically valid, and *False* otherwise.

This property is read-only and not available at design time.

## Data Type

Boolean

# SigningCertOCSPLocations Property ([MailReader](#mailreader-component) Component)

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertOCSPLocations = { read=FSigningCertOCSPLocations };
```

## Default Value

""

## Remarks

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

Set this property before calling the certificate manager's [Generate](#CertificateManager_m_Generate) method to propagate it to the new certificate.

The OCSP locations are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertPolicyIDs Property ([MailReader](#mailreader-component) Component)

Contains identifiers (OIDs) of the applicable certificate policies.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertPolicyIDs = { read=FSigningCertPolicyIDs };
```

## Default Value

""

## Remarks

Contains identifiers (OIDs) of the applicable certificate policies.

The Certificate Policies extension identifies a sequence of policies under which the certificate has been issued, and which regulate its usage.

Set this property when generating a certificate to propagate the policies information to the new certificate.

The policies are provided as a list of CRLF-separated entries. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the policy element separator.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertPublicKeyBytes Property ([MailReader](#mailreader-component) Component)

Contains the certificate's public key in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray SigningCertPublicKeyBytes = { read=FSigningCertPublicKeyBytes };
```

## Remarks

Contains the certificate's public key in DER format.

This typically would contain an ASN.1-encoded public key value. The exact format depends on the type of the public key contained in the certificate.

This property is read-only and not available at design time.

## Data Type

Byte Array

# SigningCertSelfSigned Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate is self-signed (root) or signed by an external CA.

## Syntax

*C++ Builder Syntax*

```text
__property bool SigningCertSelfSigned = { read=FSigningCertSelfSigned };
```

## Default Value

false

## Remarks

Indicates whether the certificate is self-signed (root) or signed by an external CA.

This property is read-only and not available at design time.

## Data Type

Boolean

# SigningCertSerialNumber Property ([MailReader](#mailreader-component) Component)

Returns the certificate's serial number.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray SigningCertSerialNumber = { read=FSigningCertSerialNumber };
```

## Remarks

Returns the certificate's serial number.

The serial number is a binary string that uniquely identifies a certificate among others issued by the same CA. According to the X.509 standard, the (issuer, serial number) pair should be globally unique to facilitate chain building.

This property is read-only and not available at design time.

## Data Type

Byte Array

# SigningCertSigAlgorithm Property ([MailReader](#mailreader-component) Component)

Indicates the algorithm that was used by the CA to sign this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertSigAlgorithm = { read=FSigningCertSigAlgorithm };
```

## Default Value

""

## Remarks

Indicates the algorithm that was used by the CA to sign this certificate.

A signature algorithm typically combines hash and public key algorithms together, such as *sha256WithRSAEncryption* or *ecdsa-with-SHA256*.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertSubject Property ([MailReader](#mailreader-component) Component)

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertSubject = { read=FSigningCertSubject };
```

## Default Value

""

## Remarks

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. This is part of a larger set of credentials available via [SigningCertSubjectRDN](#signingcertsubjectrdn-property-mailreader-component).

This property is read-only and not available at design time.

## Data Type

String

# SigningCertSubjectKeyID Property ([MailReader](#mailreader-component) Component)

Contains a unique identifier of the certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray SigningCertSubjectKeyID = { read=FSigningCertSubjectKeyID };
```

## Remarks

Contains a unique identifier of the certificate's cryptographic key.

Subject Key Identifier is a certificate extension which allows a specific public key to be associated with a certificate holder. Typically, subject key identifiers of CA certificates are recorded as respective CA key identifiers in the subordinate certificates that they issue, which facilitates chain building.

The [SigningCertSubjectKeyID](#signingcertsubjectkeyid-property-mailreader-component) and [SigningCertCAKeyID](#signingcertcakeyid-property-mailreader-component) properties of self-signed certificates typically contain identical values, as in that specific case, the issuer and the subject are the same entity.

This property is read-only and not available at design time.

## Data Type

Byte Array

# SigningCertSubjectRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate holder (subject).

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertSubjectRDN = { read=FSigningCertSubjectRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate holder (subject).

Depending on the purpose of the certificate and the policies of the CA that issued it, the values included in the subject record may differ drastically and contain business or personal names, web URLs, email addresses, and other data.

Example: */C=US/O=Oranges and Apples, Inc./OU=Accounts Receivable/1.2.3.4.5=Value with unknown OID/CN=Margaret Watkins*.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertValidFrom Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate becomes valid, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertValidFrom = { read=FSigningCertValidFrom };
```

## Default Value

""

## Remarks

The time point at which the certificate becomes valid, in UTC.

This property is read-only and not available at design time.

## Data Type

String

# SigningCertValidTo Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate expires, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String SigningCertValidTo = { read=FSigningCertValidTo };
```

## Default Value

""

## Remarks

The time point at which the certificate expires, in UTC.

This property is read-only and not available at design time.

## Data Type

String

# SocketDNSMode Property ([MailReader](#mailreader-component) Component)

Selects the DNS resolver to use: the component's (secure) built-in one, or the one provided by the system.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderSocketDNSModes SocketDNSMode = { read=FSocketDNSMode, write=FSetSocketDNSMode };
enum TsbxMailReaderSocketDNSModes {
  dmAuto=0,
  dmPlatform=1,
  dmOwn=2,
  dmOwnSecure=3
};
```

## Default Value

dmAuto

## Remarks

Selects the DNS resolver to use: the component's (secure) built-in one, or the one provided by the system.

|  |  |
| --- | --- |
| dmAuto | 0 |
| dmPlatform | 1 |
| dmOwn | 2 |
| dmOwnSecure | 3 |

## Data Type

Integer

# SocketDNSPort Property ([MailReader](#mailreader-component) Component)

Specifies the port number to be used for sending queries to the DNS server.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketDNSPort = { read=FSocketDNSPort, write=FSetSocketDNSPort };
```

## Default Value

0

## Remarks

Specifies the port number to be used for sending queries to the DNS server.

## Data Type

Integer

# SocketDNSQueryTimeout Property ([MailReader](#mailreader-component) Component)

The timeout (in milliseconds) for each DNS query.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketDNSQueryTimeout = { read=FSocketDNSQueryTimeout, write=FSetSocketDNSQueryTimeout };
```

## Default Value

0

## Remarks

The timeout (in milliseconds) for each DNS query. The value of 0 indicates an infinite timeout.

## Data Type

Integer

# SocketDNSServers Property ([MailReader](#mailreader-component) Component)

The addresses of DNS servers to use for address resolution, separated by commas or semicolons.

## Syntax

*C++ Builder Syntax*

```text
__property String SocketDNSServers = { read=FSocketDNSServers, write=FSetSocketDNSServers };
```

## Default Value

""

## Remarks

The addresses of DNS servers to use for address resolution, separated by commas or semicolons.

## Data Type

String

# SocketDNSTotalTimeout Property ([MailReader](#mailreader-component) Component)

The timeout (in milliseconds) for the whole resolution process.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketDNSTotalTimeout = { read=FSocketDNSTotalTimeout, write=FSetSocketDNSTotalTimeout };
```

## Default Value

0

## Remarks

The timeout (in milliseconds) for the whole resolution process. The value of 0 indicates an infinite timeout.

## Data Type

Integer

# SocketIncomingSpeedLimit Property ([MailReader](#mailreader-component) Component)

The maximum number of bytes to read from the socket, per second.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketIncomingSpeedLimit = { read=FSocketIncomingSpeedLimit, write=FSetSocketIncomingSpeedLimit };
```

## Default Value

0

## Remarks

The maximum number of bytes to read from the socket, per second.

## Data Type

Integer

# SocketLocalAddress Property ([MailReader](#mailreader-component) Component)

The local network interface to bind the socket to.

## Syntax

*C++ Builder Syntax*

```text
__property String SocketLocalAddress = { read=FSocketLocalAddress, write=FSetSocketLocalAddress };
```

## Default Value

""

## Remarks

The local network interface to bind the socket to.

## Data Type

String

# SocketLocalPort Property ([MailReader](#mailreader-component) Component)

The local port number to bind the socket to.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketLocalPort = { read=FSocketLocalPort, write=FSetSocketLocalPort };
```

## Default Value

0

## Remarks

The local port number to bind the socket to.

## Data Type

Integer

# SocketOutgoingSpeedLimit Property ([MailReader](#mailreader-component) Component)

The maximum number of bytes to write to the socket, per second.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketOutgoingSpeedLimit = { read=FSocketOutgoingSpeedLimit, write=FSetSocketOutgoingSpeedLimit };
```

## Default Value

0

## Remarks

The maximum number of bytes to write to the socket, per second.

## Data Type

Integer

# SocketTimeout Property ([MailReader](#mailreader-component) Component)

The maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful.

## Syntax

*C++ Builder Syntax*

```text
__property int SocketTimeout = { read=FSocketTimeout, write=FSetSocketTimeout };
```

## Default Value

60000

## Remarks

The maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful.

If *Timeout* is set to 0, a socket operation will expire after the system-default timeout (2 hrs 8 min for TCP stack).

## Data Type

Integer

# SocketUseIPv6 Property ([MailReader](#mailreader-component) Component)

Enables or disables IP protocol version 6.

## Syntax

*C++ Builder Syntax*

```text
__property bool SocketUseIPv6 = { read=FSocketUseIPv6, write=FSetSocketUseIPv6 };
```

## Default Value

false

## Remarks

Enables or disables IP protocol version 6.

## Data Type

Boolean

# TLSAutoValidateCertificates Property ([MailReader](#mailreader-component) Component)

Specifies whether server-side TLS certificates should be validated automatically using internal validation rules.

## Syntax

*C++ Builder Syntax*

```text
__property bool TLSAutoValidateCertificates = { read=FTLSAutoValidateCertificates, write=FSetTLSAutoValidateCertificates };
```

## Default Value

true

## Remarks

Specifies whether server-side TLS certificates should be validated automatically using internal validation rules.

## Data Type

Boolean

# TLSBaseConfiguration Property ([MailReader](#mailreader-component) Component)

Selects the base configuration for the TLS settings.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderTLSBaseConfigurations TLSBaseConfiguration = { read=FTLSBaseConfiguration, write=FSetTLSBaseConfiguration };
enum TsbxMailReaderTLSBaseConfigurations {
  stpcDefault=0,
  stpcCompatible=1,
  stpcComprehensiveInsecure=2,
  stpcHighlySecure=3
};
```

## Default Value

stpcDefault

## Remarks

Selects the base configuration for the TLS settings. Several profiles are offered and tuned up for different purposes, such as high security or higher compatibility.

|  |  |  |
| --- | --- | --- |
| stpcDefault | 0 |  |
| stpcCompatible | 1 |  |
| stpcComprehensiveInsecure | 2 |  |
| stpcHighlySecure | 3 |  |

## Data Type

Integer

# TLSCiphersuites Property ([MailReader](#mailreader-component) Component)

A list of ciphersuites separated with commas or semicolons.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSCiphersuites = { read=FTLSCiphersuites, write=FSetTLSCiphersuites };
```

## Default Value

""

## Remarks

A list of ciphersuites separated with commas or semicolons. Each ciphersuite in the list may be prefixed with a minus sign (-) to indicate that the ciphersuite should be disabled rather than enabled. Besides the specific ciphersuite modifiers, this property supports the *all* (and *-all*) aliases, allowing all ciphersuites to be blanketly enabled or disabled at once.

Note: the list of ciphersuites provided to this property alters the baseline list of ciphersuites as defined by [TLSBaseConfiguration](#tlsbaseconfiguration-property-mailreader-component). Remember to start your ciphersuite string with -all; if you need to only enable a specific fixed set of ciphersuites. The list of supported ciphersuites is provided below:

- NULL_NULL_NULL
- RSA_NULL_MD5
- RSA_NULL_SHA
- RSA_RC4_MD5
- RSA_RC4_SHA
- RSA_RC2_MD5
- RSA_IDEA_MD5
- RSA_IDEA_SHA
- RSA_DES_MD5
- RSA_DES_SHA
- RSA_3DES_MD5
- RSA_3DES_SHA
- RSA_AES128_SHA
- RSA_AES256_SHA
- DH_DSS_DES_SHA
- DH_DSS_3DES_SHA
- DH_DSS_AES128_SHA
- DH_DSS_AES256_SHA
- DH_RSA_DES_SHA
- DH_RSA_3DES_SHA
- DH_RSA_AES128_SHA
- DH_RSA_AES256_SHA
- DHE_DSS_DES_SHA
- DHE_DSS_3DES_SHA
- DHE_DSS_AES128_SHA
- DHE_DSS_AES256_SHA
- DHE_RSA_DES_SHA
- DHE_RSA_3DES_SHA
- DHE_RSA_AES128_SHA
- DHE_RSA_AES256_SHA
- DH_ANON_RC4_MD5
- DH_ANON_DES_SHA
- DH_ANON_3DES_SHA
- DH_ANON_AES128_SHA
- DH_ANON_AES256_SHA
- RSA_RC2_MD5_EXPORT
- RSA_RC4_MD5_EXPORT
- RSA_DES_SHA_EXPORT
- DH_DSS_DES_SHA_EXPORT
- DH_RSA_DES_SHA_EXPORT
- DHE_DSS_DES_SHA_EXPORT
- DHE_RSA_DES_SHA_EXPORT
- DH_ANON_RC4_MD5_EXPORT
- DH_ANON_DES_SHA_EXPORT
- RSA_CAMELLIA128_SHA
- DH_DSS_CAMELLIA128_SHA
- DH_RSA_CAMELLIA128_SHA
- DHE_DSS_CAMELLIA128_SHA
- DHE_RSA_CAMELLIA128_SHA
- DH_ANON_CAMELLIA128_SHA
- RSA_CAMELLIA256_SHA
- DH_DSS_CAMELLIA256_SHA
- DH_RSA_CAMELLIA256_SHA
- DHE_DSS_CAMELLIA256_SHA
- DHE_RSA_CAMELLIA256_SHA
- DH_ANON_CAMELLIA256_SHA
- PSK_RC4_SHA
- PSK_3DES_SHA
- PSK_AES128_SHA
- PSK_AES256_SHA
- DHE_PSK_RC4_SHA
- DHE_PSK_3DES_SHA
- DHE_PSK_AES128_SHA
- DHE_PSK_AES256_SHA
- RSA_PSK_RC4_SHA
- RSA_PSK_3DES_SHA
- RSA_PSK_AES128_SHA
- RSA_PSK_AES256_SHA
- RSA_SEED_SHA
- DH_DSS_SEED_SHA
- DH_RSA_SEED_SHA
- DHE_DSS_SEED_SHA
- DHE_RSA_SEED_SHA
- DH_ANON_SEED_SHA
- SRP_SHA_3DES_SHA
- SRP_SHA_RSA_3DES_SHA
- SRP_SHA_DSS_3DES_SHA
- SRP_SHA_AES128_SHA
- SRP_SHA_RSA_AES128_SHA
- SRP_SHA_DSS_AES128_SHA
- SRP_SHA_AES256_SHA
- SRP_SHA_RSA_AES256_SHA
- SRP_SHA_DSS_AES256_SHA
- ECDH_ECDSA_NULL_SHA
- ECDH_ECDSA_RC4_SHA
- ECDH_ECDSA_3DES_SHA
- ECDH_ECDSA_AES128_SHA
- ECDH_ECDSA_AES256_SHA
- ECDHE_ECDSA_NULL_SHA
- ECDHE_ECDSA_RC4_SHA
- ECDHE_ECDSA_3DES_SHA
- ECDHE_ECDSA_AES128_SHA
- ECDHE_ECDSA_AES256_SHA
- ECDH_RSA_NULL_SHA
- ECDH_RSA_RC4_SHA
- ECDH_RSA_3DES_SHA
- ECDH_RSA_AES128_SHA
- ECDH_RSA_AES256_SHA
- ECDHE_RSA_NULL_SHA
- ECDHE_RSA_RC4_SHA
- ECDHE_RSA_3DES_SHA
- ECDHE_RSA_AES128_SHA
- ECDHE_RSA_AES256_SHA
- ECDH_ANON_NULL_SHA
- ECDH_ANON_RC4_SHA
- ECDH_ANON_3DES_SHA
- ECDH_ANON_AES128_SHA
- ECDH_ANON_AES256_SHA
- RSA_NULL_SHA256
- RSA_AES128_SHA256
- RSA_AES256_SHA256
- DH_DSS_AES128_SHA256
- DH_RSA_AES128_SHA256
- DHE_DSS_AES128_SHA256
- DHE_RSA_AES128_SHA256
- DH_DSS_AES256_SHA256
- DH_RSA_AES256_SHA256
- DHE_DSS_AES256_SHA256
- DHE_RSA_AES256_SHA256
- DH_ANON_AES128_SHA256
- DH_ANON_AES256_SHA256
- RSA_AES128_GCM_SHA256
- RSA_AES256_GCM_SHA384
- DHE_RSA_AES128_GCM_SHA256
- DHE_RSA_AES256_GCM_SHA384
- DH_RSA_AES128_GCM_SHA256
- DH_RSA_AES256_GCM_SHA384
- DHE_DSS_AES128_GCM_SHA256
- DHE_DSS_AES256_GCM_SHA384
- DH_DSS_AES128_GCM_SHA256
- DH_DSS_AES256_GCM_SHA384
- DH_ANON_AES128_GCM_SHA256
- DH_ANON_AES256_GCM_SHA384
- ECDHE_ECDSA_AES128_SHA256
- ECDHE_ECDSA_AES256_SHA384
- ECDH_ECDSA_AES128_SHA256
- ECDH_ECDSA_AES256_SHA384
- ECDHE_RSA_AES128_SHA256
- ECDHE_RSA_AES256_SHA384
- ECDH_RSA_AES128_SHA256
- ECDH_RSA_AES256_SHA384
- ECDHE_ECDSA_AES128_GCM_SHA256
- ECDHE_ECDSA_AES256_GCM_SHA384
- ECDH_ECDSA_AES128_GCM_SHA256
- ECDH_ECDSA_AES256_GCM_SHA384
- ECDHE_RSA_AES128_GCM_SHA256
- ECDHE_RSA_AES256_GCM_SHA384
- ECDH_RSA_AES128_GCM_SHA256
- ECDH_RSA_AES256_GCM_SHA384
- PSK_AES128_GCM_SHA256
- PSK_AES256_GCM_SHA384
- DHE_PSK_AES128_GCM_SHA256
- DHE_PSK_AES256_GCM_SHA384
- RSA_PSK_AES128_GCM_SHA256
- RSA_PSK_AES256_GCM_SHA384
- PSK_AES128_SHA256
- PSK_AES256_SHA384
- PSK_NULL_SHA256
- PSK_NULL_SHA384
- DHE_PSK_AES128_SHA256
- DHE_PSK_AES256_SHA384
- DHE_PSK_NULL_SHA256
- DHE_PSK_NULL_SHA384
- RSA_PSK_AES128_SHA256
- RSA_PSK_AES256_SHA384
- RSA_PSK_NULL_SHA256
- RSA_PSK_NULL_SHA384
- RSA_CAMELLIA128_SHA256
- DH_DSS_CAMELLIA128_SHA256
- DH_RSA_CAMELLIA128_SHA256
- DHE_DSS_CAMELLIA128_SHA256
- DHE_RSA_CAMELLIA128_SHA256
- DH_ANON_CAMELLIA128_SHA256
- RSA_CAMELLIA256_SHA256
- DH_DSS_CAMELLIA256_SHA256
- DH_RSA_CAMELLIA256_SHA256
- DHE_DSS_CAMELLIA256_SHA256
- DHE_RSA_CAMELLIA256_SHA256
- DH_ANON_CAMELLIA256_SHA256
- ECDHE_ECDSA_CAMELLIA128_SHA256
- ECDHE_ECDSA_CAMELLIA256_SHA384
- ECDH_ECDSA_CAMELLIA128_SHA256
- ECDH_ECDSA_CAMELLIA256_SHA384
- ECDHE_RSA_CAMELLIA128_SHA256
- ECDHE_RSA_CAMELLIA256_SHA384
- ECDH_RSA_CAMELLIA128_SHA256
- ECDH_RSA_CAMELLIA256_SHA384
- RSA_CAMELLIA128_GCM_SHA256
- RSA_CAMELLIA256_GCM_SHA384
- DHE_RSA_CAMELLIA128_GCM_SHA256
- DHE_RSA_CAMELLIA256_GCM_SHA384
- DH_RSA_CAMELLIA128_GCM_SHA256
- DH_RSA_CAMELLIA256_GCM_SHA384
- DHE_DSS_CAMELLIA128_GCM_SHA256
- DHE_DSS_CAMELLIA256_GCM_SHA384
- DH_DSS_CAMELLIA128_GCM_SHA256
- DH_DSS_CAMELLIA256_GCM_SHA384
- DH_anon_CAMELLIA128_GCM_SHA256
- DH_anon_CAMELLIA256_GCM_SHA384
- ECDHE_ECDSA_CAMELLIA128_GCM_SHA256
- ECDHE_ECDSA_CAMELLIA256_GCM_SHA384
- ECDH_ECDSA_CAMELLIA128_GCM_SHA256
- ECDH_ECDSA_CAMELLIA256_GCM_SHA384
- ECDHE_RSA_CAMELLIA128_GCM_SHA256
- ECDHE_RSA_CAMELLIA256_GCM_SHA384
- ECDH_RSA_CAMELLIA128_GCM_SHA256
- ECDH_RSA_CAMELLIA256_GCM_SHA384
- PSK_CAMELLIA128_GCM_SHA256
- PSK_CAMELLIA256_GCM_SHA384
- DHE_PSK_CAMELLIA128_GCM_SHA256
- DHE_PSK_CAMELLIA256_GCM_SHA384
- RSA_PSK_CAMELLIA128_GCM_SHA256
- RSA_PSK_CAMELLIA256_GCM_SHA384
- PSK_CAMELLIA128_SHA256
- PSK_CAMELLIA256_SHA384
- DHE_PSK_CAMELLIA128_SHA256
- DHE_PSK_CAMELLIA256_SHA384
- RSA_PSK_CAMELLIA128_SHA256
- RSA_PSK_CAMELLIA256_SHA384
- ECDHE_PSK_CAMELLIA128_SHA256
- ECDHE_PSK_CAMELLIA256_SHA384
- ECDHE_PSK_RC4_SHA
- ECDHE_PSK_3DES_SHA
- ECDHE_PSK_AES128_SHA
- ECDHE_PSK_AES256_SHA
- ECDHE_PSK_AES128_SHA256
- ECDHE_PSK_AES256_SHA384
- ECDHE_PSK_NULL_SHA
- ECDHE_PSK_NULL_SHA256
- ECDHE_PSK_NULL_SHA384
- ECDHE_RSA_CHACHA20_POLY1305_SHA256
- ECDHE_ECDSA_CHACHA20_POLY1305_SHA256
- DHE_RSA_CHACHA20_POLY1305_SHA256
- PSK_CHACHA20_POLY1305_SHA256
- ECDHE_PSK_CHACHA20_POLY1305_SHA256
- DHE_PSK_CHACHA20_POLY1305_SHA256
- RSA_PSK_CHACHA20_POLY1305_SHA256
- AES128_GCM_SHA256
- AES256_GCM_SHA384
- CHACHA20_POLY1305_SHA256
- AES128_CCM_SHA256
- AES128_CCM8_SHA256

## Data Type

String

# TLSClientAuth Property ([MailReader](#mailreader-component) Component)

Enables or disables certificate-based client authentication.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderTLSClientAuths TLSClientAuth = { read=FTLSClientAuth, write=FSetTLSClientAuth };
enum TsbxMailReaderTLSClientAuths {
  ccatNoAuth=0,
  ccatRequestCert=1,
  ccatRequireCert=2
};
```

## Default Value

ccatNoAuth

## Remarks

Enables or disables certificate-based client authentication.

Set this property to true to tune up the client authentication type:

|  |  |  |
| --- | --- | --- |
| ccatNoAuth | 0 |  |
| ccatRequestCert | 1 |  |
| ccatRequireCert | 2 |  |

## Data Type

Integer

# TLSExtensions Property ([MailReader](#mailreader-component) Component)

Provides access to TLS extensions.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSExtensions = { read=FTLSExtensions, write=FSetTLSExtensions };
```

## Default Value

""

## Remarks

Provides access to TLS extensions.

## Data Type

String

# TLSForceResumeIfDestinationChanges Property ([MailReader](#mailreader-component) Component)

Whether to force TLS session resumption when the destination address changes.

## Syntax

*C++ Builder Syntax*

```text
__property bool TLSForceResumeIfDestinationChanges = { read=FTLSForceResumeIfDestinationChanges, write=FSetTLSForceResumeIfDestinationChanges };
```

## Default Value

false

## Remarks

Whether to force TLS session resumption when the destination address changes.

## Data Type

Boolean

# TLSGroups Property ([MailReader](#mailreader-component) Component)

Specifies a list of key exchange groups to attempt during the TLS key exchange.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSGroups = { read=FTLSGroups, write=FSetTLSGroups };
```

## Default Value

""

## Remarks

Specifies a list of key exchange groups to attempt during the TLS key exchange.

Keep this setting at its default value (empty string) to stick with the default list of key exchange groups. You can tweak the list by using '+' and '-' modifiers that are immediately followed by a group name or the *all* placeholder:

```text
  // Ensure the two x25519-based groups are enabled and the finite field DHE2048 is disabled
  client.TLSSettings.Groups = "+x25519mlkem768;+x25519;-ffdhe2048";

  // Only enable the hybrid X25519/ML-KEM768 group
  client.TLSSettings.Groups = "-all;+x25519mlkem768";
```

The list of groups supported by the component is provided below. All the names are case-insensitive:

**Elliptic curve-based groups:**

- SECT163K1
- SECT163R1
- SECT163R2
- SECT193R1
- SECT193R2
- SECT233K1
- SECT233R1
- SECT239K1
- SECT283K1
- SECT283R1
- SECT409K1
- SECT409R1
- SECT571K1
- SECT571R1
- SECP160K1
- SECP160R1
- SECP160R2
- SECP192K1
- SECP192R1
- SECP224K1
- SECP224R1
- SECP256K1
- SECP256R1
- SECP384R1
- SECP521R1
- BRAINPOOLP256R1
- BRAINPOOLP384R1
- BRAINPOOLP512R1
- X25519
- X448

**Finite field-based groups:**

- FFDHE2048
- FFDHE3072
- FFDHE4096
- FFDHE6144
- FFDHE8192

**Post-Quantum and Hybrid groups:**

- MLKEM512
- MLKEM768
- MLKEM1024
- SECP256R1MLKEM768
- X25519MLKEM768
- SECP384R1MLKEM1024

Note: this property was called *ECCurves* in SecureBlackbox 2024 and older.

## Data Type

String

# TLSPreSharedIdentity Property ([MailReader](#mailreader-component) Component)

Defines the identity used when the PSK (Pre-Shared Key) key-exchange mechanism is negotiated.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSPreSharedIdentity = { read=FTLSPreSharedIdentity, write=FSetTLSPreSharedIdentity };
```

## Default Value

""

## Remarks

Defines the identity used when the PSK (Pre-Shared Key) key-exchange mechanism is negotiated.

This property is not available at design time.

## Data Type

String

# TLSPreSharedKey Property ([MailReader](#mailreader-component) Component)

Contains the pre-shared key for the PSK (Pre-Shared Key) key-exchange mechanism, encoded with base16.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSPreSharedKey = { read=FTLSPreSharedKey, write=FSetTLSPreSharedKey };
```

## Default Value

""

## Remarks

Contains the pre-shared key for the PSK (Pre-Shared Key) key-exchange mechanism, encoded with base16.

This property is not available at design time.

## Data Type

String

# TLSPreSharedKeyCiphersuite Property ([MailReader](#mailreader-component) Component)

Defines the ciphersuite used for PSK (Pre-Shared Key) negotiation.

## Syntax

*C++ Builder Syntax*

```text
__property String TLSPreSharedKeyCiphersuite = { read=FTLSPreSharedKeyCiphersuite, write=FSetTLSPreSharedKeyCiphersuite };
```

## Default Value

""

## Remarks

Defines the ciphersuite used for PSK (Pre-Shared Key) negotiation.

## Data Type

String

# TLSRenegotiationAttackPreventionMode Property ([MailReader](#mailreader-component) Component)

Selects the renegotiation attack prevention mechanism.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderTLSRenegotiationAttackPreventionModes TLSRenegotiationAttackPreventionMode = { read=FTLSRenegotiationAttackPreventionMode, write=FSetTLSRenegotiationAttackPreventionMode };
enum TsbxMailReaderTLSRenegotiationAttackPreventionModes {
  crapmCompatible=0,
  crapmStrict=1,
  crapmAuto=2
};
```

## Default Value

crapmAuto

## Remarks

Selects the renegotiation attack prevention mechanism.

The following options are available:

|  |  |  |
| --- | --- | --- |
| crapmCompatible | 0 | TLS 1.0 and 1.1 compatibility mode (renegotiation indication extension is disabled). |
| crapmStrict | 1 | Renegotiation attack prevention is enabled and enforced. |
| crapmAuto | 2 | Automatically choose whether to enable or disable renegotiation attack prevention. |

## Data Type

Integer

# TLSRevocationCheck Property ([MailReader](#mailreader-component) Component)

Specifies the kind(s) of revocation check to perform.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderTLSRevocationChecks TLSRevocationCheck = { read=FTLSRevocationCheck, write=FSetTLSRevocationCheck };
enum TsbxMailReaderTLSRevocationChecks {
  crcNone=0,
  crcAuto=1,
  crcAllCRL=2,
  crcAllOCSP=3,
  crcAllCRLAndOCSP=4,
  crcAnyCRL=5,
  crcAnyOCSP=6,
  crcAnyCRLOrOCSP=7,
  crcAnyOCSPOrCRL=8
};
```

## Default Value

crcAuto

## Remarks

Specifies the kind(s) of revocation check to perform.

Revocation checking is necessary to ensure the integrity of the chain and obtain up-to-date certificate validity and trustworthiness information.

|  |  |  |
| --- | --- | --- |
| crcNone | 0 | No revocation checking. |
| crcAuto | 1 | Automatic mode selection. Currently this maps to crcAnyOCSPOrCRL, but it may change in the future. |
| crcAllCRL | 2 | All provided CRL endpoints will be checked, and all checks must succeed. |
| crcAllOCSP | 3 | All provided OCSP endpoints will be checked, and all checks must succeed. |
| crcAllCRLAndOCSP | 4 | All provided CRL and OCSP endpoints will be checked, and all checks must succeed. |
| crcAnyCRL | 5 | All provided CRL endpoints will be checked, and at least one check must succeed. |
| crcAnyOCSP | 6 | All provided OCSP endpoints will be checked, and at least one check must succeed. |
| crcAnyCRLOrOCSP | 7 | All provided CRL and OCSP endpoints will be checked, and at least one check must succeed. CRL endpoints are checked first. |
| crcAnyOCSPOrCRL | 8 | All provided CRL and OCSP endpoints will be checked, and at least one check must succeed. OCSP endpoints are checked first. |

This setting controls the way the revocation checks are performed for every certificate in the chain. Typically certificates come with two types of revocation information sources: CRL (certificate revocation lists) and OCSP responders. CRLs are static objects periodically published by the CA at some online location. OCSP responders are active online services maintained by the CA that can provide up-to-date information on certificate statuses in near real time.

There are some conceptual differences between the two. CRLs are normally larger in size. Their use involves some latency because there is normally some delay between the time when a certificate was revoked and the time the subsequent CRL mentioning that is published. The benefits of CRL is that the same object can provide statuses for all certificates issued by a particular CA, and that the whole technology is much simpler than OCSP (and thus is supported by more CAs).

This setting lets you adjust the validation course by including or excluding certain types of revocation sources from the validation process. The crcAnyOCSPOrCRL setting (give preference to the faster OCSP route and only demand one source to succeed) is a good choice for most typical validation environments. The "crcAll*" modes are much stricter, and may be used in scenarios where bulletproof validity information is essential.

NOTE: If no CRL or OCSP endpoints are provided by the CA, the revocation check will be considered successful. This is because the CA chose not to supply revocation information for its certificates, meaning they are considered irrevocable.

NOTE: Within each of the above settings, if any retrieved CRL or OCSP response indicates that the certificate has been revoked, the revocation check fails.

This property is not available at design time.

## Data Type

Integer

# TLSSSLOptions Property ([MailReader](#mailreader-component) Component)

Various 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.

## Syntax

*C++ Builder Syntax*

```text
__property int TLSSSLOptions = { read=FTLSSSLOptions, write=FSetTLSSSLOptions };
```

## Default Value

16

## Remarks

Various 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. It is unlikely that you will ever need to adjust it. |
| cssloForceUseOfClientCertHashAlg | 0x008 | Enforce the use of the client certificate hash algorithm. It is unlikely that you will ever need to adjust it. |
| cssloAutoAddServerNameExtension | 0x010 | Automatically add the server name extension when known |
| cssloAcceptTrustedSRPPrimesOnly | 0x020 | Accept trusted SRP primes only |
| cssloDisableSignatureAlgorithmsExtension | 0x040 | Disable (do not send) the signature algorithms extension. It is unlikely that you will ever need to adjust it. |
| cssloIntolerateHigherProtocolVersions | 0x080 | (server option) Do not allow fallback from TLS versions higher than currently enabled |
| cssloStickToPrefCertHashAlg | 0x100 | Stick to preferred certificate hash algorithms |
| cssloNoImplicitTLS12Fallback | 0x200 | Disable implicit TLS 1.3 to 1.2 fallbacks |
| cssloUseHandshakeBatches | 0x400 | Send the handshake message as large batches rather than individually |

## Data Type

Integer

# TLSMode Property ([MailReader](#mailreader-component) Component)

Specifies the TLS mode to use.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderTLSModes TLSMode = { read=FTLSMode, write=FSetTLSMode };
enum TsbxMailReaderTLSModes {
  smDefault=0,
  smNoTLS=1,
  smExplicitTLS=2,
  smImplicitTLS=3,
  smMixedTLS=4
};
```

## Default Value

smDefault

## Remarks

Specifies the TLS mode to use.

|  |  |  |
| --- | --- | --- |
| smDefault | 0 |  |
| smNoTLS | 1 | Do not use TLS |
| smExplicitTLS | 2 | Connect to the server without any encryption and then request an SSL session. |
| smImplicitTLS | 3 | Connect to the specified port, and establish the SSL session at once. |
| smMixedTLS | 4 | Connect to the specified port, and establish the SSL session at once, but allow plain data. |

## Data Type

Integer

# TLSUseExtendedMasterSecret Property ([MailReader](#mailreader-component) Component)

Enables the Extended Master Secret Extension, as defined in RFC 7627.

## Syntax

*C++ Builder Syntax*

```text
__property bool TLSUseExtendedMasterSecret = { read=FTLSUseExtendedMasterSecret, write=FSetTLSUseExtendedMasterSecret };
```

## Default Value

true

## Remarks

Enables the Extended Master Secret Extension, as defined in RFC 7627.

## Data Type

Boolean

# TLSUseSessionResumption Property ([MailReader](#mailreader-component) Component)

Enables or disables the TLS session resumption capability.

## Syntax

*C++ Builder Syntax*

```text
__property bool TLSUseSessionResumption = { read=FTLSUseSessionResumption, write=FSetTLSUseSessionResumption };
```

## Default Value

false

## Remarks

Enables or disables the TLS session resumption capability.

## Data Type

Boolean

# TLSVersions Property ([MailReader](#mailreader-component) Component)

The SSL/TLS versions to enable by default.

## Syntax

*C++ Builder Syntax*

```text
__property int TLSVersions = { read=FTLSVersions, write=FSetTLSVersions };
```

## Default Value

48

## Remarks

The SSL/TLS versions to enable by default.

|  |  |  |
| --- | --- | --- |
| csbSSL2 | 0x01 | SSL 2 |
| csbSSL3 | 0x02 | SSL 3 |
| csbTLS1 | 0x04 | TLS 1.0 |
| csbTLS11 | 0x08 | TLS 1.1 |
| csbTLS12 | 0x10 | TLS 1.2 |
| csbTLS13 | 0x20 | TLS 1.3 |

## Data Type

Integer

# TrustedCertCount Property ([MailReader](#mailreader-component) Component)

The number of records in the TrustedCert arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int TrustedCertCount = { read=FTrustedCertCount, write=FSetTrustedCertCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [TrustedCertBytes](#trustedcertbytes-property-mailreader-component)
- [TrustedCertHandle](#trustedcerthandle-property-mailreader-component)

The array indices start at *0* and end at *TrustedCertCount - 1*.

This property is not available at design time.

## Data Type

Integer

# TrustedCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray TrustedCertBytes[int TrustedCertIndex] = { read=FTrustedCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

The *TrustedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [TrustedCertCount](#trustedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# TrustedCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 TrustedCertHandle[int TrustedCertIndex] = { read=FTrustedCertHandle, write=FSetTrustedCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *TrustedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [TrustedCertCount](#trustedcertcount-property-mailreader-component) property.

This property is not available at design time.

## Data Type

Long64

# UsedCertCount Property ([MailReader](#mailreader-component) Component)

The number of records in the UsedCert arrays.

## Syntax

*C++ Builder Syntax*

```text
__property int UsedCertCount = { read=FUsedCertCount };
```

## Default Value

0

## Remarks

This property controls the size of the following arrays:

- [UsedCertBytes](#usedcertbytes-property-mailreader-component)
- [UsedCertCA](#usedcertca-property-mailreader-component)
- [UsedCertCAKeyID](#usedcertcakeyid-property-mailreader-component)
- [UsedCertCertType](#usedcertcerttype-property-mailreader-component)
- [UsedCertCRLDistributionPoints](#usedcertcrldistributionpoints-property-mailreader-component)
- [UsedCertCurve](#usedcertcurve-property-mailreader-component)
- [UsedCertFingerprint](#usedcertfingerprint-property-mailreader-component)
- [UsedCertFriendlyName](#usedcertfriendlyname-property-mailreader-component)
- [UsedCertHandle](#usedcerthandle-property-mailreader-component)
- [UsedCertHashAlgorithm](#usedcerthashalgorithm-property-mailreader-component)
- [UsedCertIssuer](#usedcertissuer-property-mailreader-component)
- [UsedCertIssuerRDN](#usedcertissuerrdn-property-mailreader-component)
- [UsedCertKeyAlgorithm](#usedcertkeyalgorithm-property-mailreader-component)
- [UsedCertKeyBits](#usedcertkeybits-property-mailreader-component)
- [UsedCertKeyFingerprint](#usedcertkeyfingerprint-property-mailreader-component)
- [UsedCertKeyUsage](#usedcertkeyusage-property-mailreader-component)
- [UsedCertKeyValid](#usedcertkeyvalid-property-mailreader-component)
- [UsedCertOCSPLocations](#usedcertocsplocations-property-mailreader-component)
- [UsedCertOCSPNoCheck](#usedcertocspnocheck-property-mailreader-component)
- [UsedCertOrigin](#usedcertorigin-property-mailreader-component)
- [UsedCertPolicyIDs](#usedcertpolicyids-property-mailreader-component)
- [UsedCertPrivateKeyBytes](#usedcertprivatekeybytes-property-mailreader-component)
- [UsedCertPrivateKeyExists](#usedcertprivatekeyexists-property-mailreader-component)
- [UsedCertPrivateKeyExtractable](#usedcertprivatekeyextractable-property-mailreader-component)
- [UsedCertPublicKeyBytes](#usedcertpublickeybytes-property-mailreader-component)
- [UsedCertQualified](#usedcertqualified-property-mailreader-component)
- [UsedCertQualifiedStatements](#usedcertqualifiedstatements-property-mailreader-component)
- [UsedCertQualifiers](#usedcertqualifiers-property-mailreader-component)
- [UsedCertSelfSigned](#usedcertselfsigned-property-mailreader-component)
- [UsedCertSerialNumber](#usedcertserialnumber-property-mailreader-component)
- [UsedCertSigAlgorithm](#usedcertsigalgorithm-property-mailreader-component)
- [UsedCertSource](#usedcertsource-property-mailreader-component)
- [UsedCertSubject](#usedcertsubject-property-mailreader-component)
- [UsedCertSubjectAlternativeName](#usedcertsubjectalternativename-property-mailreader-component)
- [UsedCertSubjectKeyID](#usedcertsubjectkeyid-property-mailreader-component)
- [UsedCertSubjectRDN](#usedcertsubjectrdn-property-mailreader-component)
- [UsedCertValid](#usedcertvalid-property-mailreader-component)
- [UsedCertValidFrom](#usedcertvalidfrom-property-mailreader-component)
- [UsedCertValidTo](#usedcertvalidto-property-mailreader-component)

The array indices start at *0* and end at *UsedCertCount - 1*.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertBytes Property ([MailReader](#mailreader-component) Component)

Returns the raw certificate data in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertBytes[int UsedCertIndex] = { read=FUsedCertBytes };
```

## Remarks

Returns the raw certificate data in DER format.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertCA Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate has a CA capability.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertCA[int UsedCertIndex] = { read=FUsedCertCA };
```

## Default Value

false

## Remarks

Indicates whether the certificate has a CA capability. For the certificate to be considered a CA, it must have its Basic Constraints extension set with the CA indicator enabled.

Set this property when generating a new certificate to have its Basic Constraints extension generated automatically.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertCAKeyID Property ([MailReader](#mailreader-component) Component)

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertCAKeyID[int UsedCertIndex] = { read=FUsedCertCAKeyID };
```

## Remarks

A unique identifier (fingerprint) of the CA certificate's cryptographic key.

Authority Key Identifier is a certificate extension which allows identification of certificates belonging to the same issuer, but with different public keys. It is a de-facto standard to include this extension in all certificates to facilitate chain building.

This setting cannot be set when generating a certificate as it always derives from another certificate property. [CertificateManager](#CertificateManager) generates this setting automatically if enough information is available to it: for self-signed certificates, this value is copied from the [UsedCertSubjectKeyID](#usedcertsubjectkeyid-property-mailreader-component) setting, and for lower-level certificates, from the parent certificate's subject key ID extension.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertCertType Property ([MailReader](#mailreader-component) Component)

Returns the type of the entity contained in the Certificate object.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderUsedCertCertTypes UsedCertCertType[int UsedCertIndex] = { read=FUsedCertCertType };
enum TsbxMailReaderUsedCertCertTypes {
  ctUnknown=0,
  ctX509Certificate=1,
  ctX509CertificateRequest=2
};
```

## Default Value

ctUnknown

## Remarks

Returns the type of the entity contained in the [Certificate](#Type_Certificate) object.

A [Certificate](#Type_Certificate) object can contain two types of cryptographic objects: a ready-to-use X.509 certificate, or a certificate request ("an unsigned certificate"). Certificate requests can be upgraded to full certificates by signing them with a CA certificate.

Use the [CertificateManager](#CertificateManager) component to load or create new certificate and certificate requests objects.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertCRLDistributionPoints Property ([MailReader](#mailreader-component) Component)

Contains a list of locations of CRL distribution points used to check this certificate's validity.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertCRLDistributionPoints[int UsedCertIndex] = { read=FUsedCertCRLDistributionPoints };
```

## Default Value

""

## Remarks

Contains a list of locations of CRL distribution points used to check this certificate's validity. The list is taken from the respective certificate extension.

Use this property when generating a certificate to provide a list of CRL endpoints that should be made part of the new certificate.

The endpoints are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertCurve Property ([MailReader](#mailreader-component) Component)

Specifies the elliptic curve associated with the certificate's public key.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertCurve[int UsedCertIndex] = { read=FUsedCertCurve };
```

## Default Value

""

## Remarks

Specifies the elliptic curve associated with the certificate's public key. This setting only applies to certificates containing EC keys.

|  |  |  |
| --- | --- | --- |
| SB_EC_SECP112R1 | SECP112R1 |  |
| SB_EC_SECP112R2 | SECP112R2 |  |
| SB_EC_SECP128R1 | SECP128R1 |  |
| SB_EC_SECP128R2 | SECP128R2 |  |
| SB_EC_SECP160K1 | SECP160K1 |  |
| SB_EC_SECP160R1 | SECP160R1 |  |
| SB_EC_SECP160R2 | SECP160R2 |  |
| SB_EC_SECP192K1 | SECP192K1 |  |
| SB_EC_SECP192R1 | SECP192R1 |  |
| SB_EC_SECP224K1 | SECP224K1 |  |
| SB_EC_SECP224R1 | SECP224R1 |  |
| SB_EC_SECP256K1 | SECP256K1 |  |
| SB_EC_SECP256R1 | SECP256R1 |  |
| SB_EC_SECP384R1 | SECP384R1 |  |
| SB_EC_SECP521R1 | SECP521R1 |  |
| SB_EC_SECT113R1 | SECT113R1 |  |
| SB_EC_SECT113R2 | SECT113R2 |  |
| SB_EC_SECT131R1 | SECT131R1 |  |
| SB_EC_SECT131R2 | SECT131R2 |  |
| SB_EC_SECT163K1 | SECT163K1 |  |
| SB_EC_SECT163R1 | SECT163R1 |  |
| SB_EC_SECT163R2 | SECT163R2 |  |
| SB_EC_SECT193R1 | SECT193R1 |  |
| SB_EC_SECT193R2 | SECT193R2 |  |
| SB_EC_SECT233K1 | SECT233K1 |  |
| SB_EC_SECT233R1 | SECT233R1 |  |
| SB_EC_SECT239K1 | SECT239K1 |  |
| SB_EC_SECT283K1 | SECT283K1 |  |
| SB_EC_SECT283R1 | SECT283R1 |  |
| SB_EC_SECT409K1 | SECT409K1 |  |
| SB_EC_SECT409R1 | SECT409R1 |  |
| SB_EC_SECT571K1 | SECT571K1 |  |
| SB_EC_SECT571R1 | SECT571R1 |  |
| SB_EC_PRIME192V1 | PRIME192V1 |  |
| SB_EC_PRIME192V2 | PRIME192V2 |  |
| SB_EC_PRIME192V3 | PRIME192V3 |  |
| SB_EC_PRIME239V1 | PRIME239V1 |  |
| SB_EC_PRIME239V2 | PRIME239V2 |  |
| SB_EC_PRIME239V3 | PRIME239V3 |  |
| SB_EC_PRIME256V1 | PRIME256V1 |  |
| SB_EC_C2PNB163V1 | C2PNB163V1 |  |
| SB_EC_C2PNB163V2 | C2PNB163V2 |  |
| SB_EC_C2PNB163V3 | C2PNB163V3 |  |
| SB_EC_C2PNB176W1 | C2PNB176W1 |  |
| SB_EC_C2TNB191V1 | C2TNB191V1 |  |
| SB_EC_C2TNB191V2 | C2TNB191V2 |  |
| SB_EC_C2TNB191V3 | C2TNB191V3 |  |
| SB_EC_C2ONB191V4 | C2ONB191V4 |  |
| SB_EC_C2ONB191V5 | C2ONB191V5 |  |
| SB_EC_C2PNB208W1 | C2PNB208W1 |  |
| SB_EC_C2TNB239V1 | C2TNB239V1 |  |
| SB_EC_C2TNB239V2 | C2TNB239V2 |  |
| SB_EC_C2TNB239V3 | C2TNB239V3 |  |
| SB_EC_C2ONB239V4 | C2ONB239V4 |  |
| SB_EC_C2ONB239V5 | C2ONB239V5 |  |
| SB_EC_C2PNB272W1 | C2PNB272W1 |  |
| SB_EC_C2PNB304W1 | C2PNB304W1 |  |
| SB_EC_C2TNB359V1 | C2TNB359V1 |  |
| SB_EC_C2PNB368W1 | C2PNB368W1 |  |
| SB_EC_C2TNB431R1 | C2TNB431R1 |  |
| SB_EC_NISTP192 | NISTP192 |  |
| SB_EC_NISTP224 | NISTP224 |  |
| SB_EC_NISTP256 | NISTP256 |  |
| SB_EC_NISTP384 | NISTP384 |  |
| SB_EC_NISTP521 | NISTP521 |  |
| SB_EC_NISTB163 | NISTB163 |  |
| SB_EC_NISTB233 | NISTB233 |  |
| SB_EC_NISTB283 | NISTB283 |  |
| SB_EC_NISTB409 | NISTB409 |  |
| SB_EC_NISTB571 | NISTB571 |  |
| SB_EC_NISTK163 | NISTK163 |  |
| SB_EC_NISTK233 | NISTK233 |  |
| SB_EC_NISTK283 | NISTK283 |  |
| SB_EC_NISTK409 | NISTK409 |  |
| SB_EC_NISTK571 | NISTK571 |  |
| SB_EC_GOSTCPTEST | GOSTCPTEST |  |
| SB_EC_GOSTCPA | GOSTCPA |  |
| SB_EC_GOSTCPB | GOSTCPB |  |
| SB_EC_GOSTCPC | GOSTCPC |  |
| SB_EC_GOSTCPXCHA | GOSTCPXCHA |  |
| SB_EC_GOSTCPXCHB | GOSTCPXCHB |  |
| SB_EC_BRAINPOOLP160R1 | BRAINPOOLP160R1 |  |
| SB_EC_BRAINPOOLP160T1 | BRAINPOOLP160T1 |  |
| SB_EC_BRAINPOOLP192R1 | BRAINPOOLP192R1 |  |
| SB_EC_BRAINPOOLP192T1 | BRAINPOOLP192T1 |  |
| SB_EC_BRAINPOOLP224R1 | BRAINPOOLP224R1 |  |
| SB_EC_BRAINPOOLP224T1 | BRAINPOOLP224T1 |  |
| SB_EC_BRAINPOOLP256R1 | BRAINPOOLP256R1 |  |
| SB_EC_BRAINPOOLP256T1 | BRAINPOOLP256T1 |  |
| SB_EC_BRAINPOOLP320R1 | BRAINPOOLP320R1 |  |
| SB_EC_BRAINPOOLP320T1 | BRAINPOOLP320T1 |  |
| SB_EC_BRAINPOOLP384R1 | BRAINPOOLP384R1 |  |
| SB_EC_BRAINPOOLP384T1 | BRAINPOOLP384T1 |  |
| SB_EC_BRAINPOOLP512R1 | BRAINPOOLP512R1 |  |
| SB_EC_BRAINPOOLP512T1 | BRAINPOOLP512T1 |  |
| SB_EC_CURVE25519 | CURVE25519 |  |
| SB_EC_CURVE448 | CURVE448 |  |

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertFingerprint Property ([MailReader](#mailreader-component) Component)

Contains the fingerprint (a hash imprint) of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertFingerprint[int UsedCertIndex] = { read=FUsedCertFingerprint };
```

## Default Value

""

## Remarks

Contains the fingerprint (a hash imprint) of this certificate.

While there is no formal standard defining what a fingerprint is, a SHA1 hash of the certificate's DER-encoded body is typically used.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertFriendlyName Property ([MailReader](#mailreader-component) Component)

Contains an associated alias (friendly name) of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertFriendlyName[int UsedCertIndex] = { read=FUsedCertFriendlyName };
```

## Default Value

""

## Remarks

Contains an associated alias (friendly name) of the certificate. The friendly name is not a property of a certificate: it is maintained by the certificate media rather than being included in its DER representation. Windows certificate stores are one example of media that does support friendly names.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertHandle Property ([MailReader](#mailreader-component) Component)

Allows to get or set a 'handle', a unique identifier of the underlying property object.

## Syntax

*C++ Builder Syntax*

```text
__property __int64 UsedCertHandle[int UsedCertIndex] = { read=FUsedCertHandle };
```

## Default Value

0

## Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

```text
  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
```

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Long64

# UsedCertHashAlgorithm Property ([MailReader](#mailreader-component) Component)

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing).

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertHashAlgorithm[int UsedCertIndex] = { read=FUsedCertHashAlgorithm };
```

## Default Value

""

## Remarks

Provides means to set the hash algorithm to be used in the subsequent operation on the certificate (such as generation or key signing). It is not a property of a certificate; use [UsedCertSigAlgorithm](#usedcertsigalgorithm-property-mailreader-component) to find out the hash algorithm that is part of the certificate signature.

|  |  |  |
| --- | --- | --- |
| 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 |  |

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertIssuer Property ([MailReader](#mailreader-component) Component)

The common name of the certificate issuer (CA), typically a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertIssuer[int UsedCertIndex] = { read=FUsedCertIssuer };
```

## Default Value

""

## Remarks

The common name of the certificate issuer (CA), typically a company name. This is part of a larger set of credentials available via [UsedCertIssuerRDN](#usedcertissuerrdn-property-mailreader-component).

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertIssuerRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate issuer.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertIssuerRDN[int UsedCertIndex] = { read=FUsedCertIssuerRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate issuer.

Example: */C=US/O=Nationwide CA/CN=Web Certification Authority*

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertKeyAlgorithm Property ([MailReader](#mailreader-component) Component)

Specifies the public key algorithm of this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertKeyAlgorithm[int UsedCertIndex] = { read=FUsedCertKeyAlgorithm };
```

## Default Value

"0"

## Remarks

Specifies the public key algorithm of this certificate.

|  |  |  |
| --- | --- | --- |
| SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION | rsaEncryption |  |
| SB_CERT_ALGORITHM_MD2_RSA_ENCRYPTION | md2withRSAEncryption |  |
| SB_CERT_ALGORITHM_MD5_RSA_ENCRYPTION | md5withRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA1_RSA_ENCRYPTION | sha1withRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA | id-dsa |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA1 | id-dsa-with-sha1 |  |
| SB_CERT_ALGORITHM_DH_PUBLIC | dhpublicnumber |  |
| SB_CERT_ALGORITHM_SHA224_RSA_ENCRYPTION | sha224WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA256_RSA_ENCRYPTION | sha256WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA384_RSA_ENCRYPTION | sha384WithRSAEncryption |  |
| SB_CERT_ALGORITHM_SHA512_RSA_ENCRYPTION | sha512WithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_RSAPSS | id-RSASSA-PSS |  |
| SB_CERT_ALGORITHM_ID_RSAOAEP | id-RSAES-OAEP |  |
| SB_CERT_ALGORITHM_RSASIGNATURE_RIPEMD160 | ripemd160withRSA |  |
| SB_CERT_ALGORITHM_ID_ELGAMAL | elGamal |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA | ecdsa-with-SHA1 |  |
| SB_CERT_ALGORITHM_RECOMMENDED_ECDSA | ecdsa-recommended |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA | ecdsa-with-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA | ecdsa-with-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA | ecdsa-with-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA | ecdsa-with-SHA512 |  |
| SB_CERT_ALGORITHM_EC | id-ecPublicKey |  |
| SB_CERT_ALGORITHM_SPECIFIED_ECDSA | ecdsa-specified |  |
| SB_CERT_ALGORITHM_GOST_R3410_1994 | id-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3410_2001 | id-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_1994 | id-GostR3411-94-with-GostR3410-94 |  |
| SB_CERT_ALGORITHM_GOST_R3411_WITH_R3410_2001 | id-GostR3411-94-with-GostR3410-2001 |  |
| SB_CERT_ALGORITHM_SHA1_ECDSA_PLAIN | ecdsa-plain-SHA1 |  |
| SB_CERT_ALGORITHM_SHA224_ECDSA_PLAIN | ecdsa-plain-SHA224 |  |
| SB_CERT_ALGORITHM_SHA256_ECDSA_PLAIN | ecdsa-plain-SHA256 |  |
| SB_CERT_ALGORITHM_SHA384_ECDSA_PLAIN | ecdsa-plain-SHA384 |  |
| SB_CERT_ALGORITHM_SHA512_ECDSA_PLAIN | ecdsa-plain-SHA512 |  |
| SB_CERT_ALGORITHM_RIPEMD160_ECDSA_PLAIN | ecdsa-plain-RIPEMD160 |  |
| SB_CERT_ALGORITHM_WHIRLPOOL_RSA_ENCRYPTION | whirlpoolWithRSAEncryption |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA224 | id-dsa-with-sha224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA256 | id-dsa-with-sha256 |  |
| SB_CERT_ALGORITHM_SHA3_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA | id-ecdsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA | id-ecdsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA | id-ecdsa-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA | id-ecdsa-with-sha3-512 |  |
| SB_CERT_ALGORITHM_SHA3_224_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-224 |  |
| SB_CERT_ALGORITHM_SHA3_256_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-256 |  |
| SB_CERT_ALGORITHM_SHA3_384_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-384 |  |
| SB_CERT_ALGORITHM_SHA3_512_ECDSA_PLAIN | id-ecdsa-plain-with-sha3-512 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_224 | id-dsa-with-sha3-224 |  |
| SB_CERT_ALGORITHM_ID_DSA_SHA3_256 | id-dsa-with-sha3-256 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_RSA_ENCRYPTION | id-rsassa-pkcs1-v1_5-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA | id-ecdsa-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA | id-ecdsa-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA | id-ecdsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA | id-ecdsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA | id-ecdsa-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA | id-ecdsa-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA | id-ecdsa-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA | id-ecdsa-with-blake2b512 |  |
| SB_CERT_ALGORITHM_BLAKE2S_128_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s128 |  |
| SB_CERT_ALGORITHM_BLAKE2S_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s160 |  |
| SB_CERT_ALGORITHM_BLAKE2S_224_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s224 |  |
| SB_CERT_ALGORITHM_BLAKE2S_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2s256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_160_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b160 |  |
| SB_CERT_ALGORITHM_BLAKE2B_256_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b256 |  |
| SB_CERT_ALGORITHM_BLAKE2B_384_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b384 |  |
| SB_CERT_ALGORITHM_BLAKE2B_512_ECDSA_PLAIN | id-ecdsa-plain-with-blake2b512 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_224 | id-dsa-with-blake2s224 |  |
| SB_CERT_ALGORITHM_ID_DSA_BLAKE2S_256 | id-dsa-with-blake2s256 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519 | id-Ed25519 |  |
| SB_CERT_ALGORITHM_EDDSA_ED448 | id-Ed448 |  |
| SB_CERT_ALGORITHM_EDDSA_ED25519_PH | id-Ed25519ph |  |
| SB_CERT_ALGORITHM_EDDSA_ED448_PH | id-Ed448ph |  |
| SB_CERT_ALGORITHM_EDDSA | id-EdDSA |  |
| SB_CERT_ALGORITHM_EDDSA_SIGNATURE | id-EdDSA-sig |  |
| SB_CERT_ALGORITHM_MLDSA_44 | id-ml-dsa-44 |  |
| SB_CERT_ALGORITHM_MLDSA_65 | id-ml-dsa-65 |  |
| SB_CERT_ALGORITHM_MLDSA_87 | id-ml-dsa-87 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_44_SHA512 | id-hash-ml-dsa-44-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_65_SHA512 | id-hash-ml-dsa-65-with-sha512 |  |
| SB_CERT_ALGORITHM_HASH_MLDSA_87_SHA512 | id-hash-ml-dsa-87-with-sha512 |  |
| SB_CERT_ALGORITHM_MLKEM_512 | id-ml-kem-512 |  |
| SB_CERT_ALGORITHM_MLKEM_768 | id-ml-kem-768 |  |
| SB_CERT_ALGORITHM_MLKEM_1024 | id-ml-kem-1024 |  |

Use the [UsedCertKeyBits](#usedcertkeybits-property-mailreader-component), [UsedCertCurve](#usedcertcurve-property-mailreader-component), and [UsedCertPublicKeyBytes](#usedcertpublickeybytes-property-mailreader-component) properties to get more details about the key the certificate contains.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertKeyBits Property ([MailReader](#mailreader-component) Component)

Returns the length of the public key in bits.

## Syntax

*C++ Builder Syntax*

```text
__property int UsedCertKeyBits[int UsedCertIndex] = { read=FUsedCertKeyBits };
```

## Default Value

0

## Remarks

Returns the length of the public key in bits.

This value indicates the length of the principal cryptographic parameter of the key, such as the length of the RSA modulus or ECDSA field. The key data returned by the [UsedCertPublicKeyBytes](#usedcertpublickeybytes-property-mailreader-component) or [UsedCertPrivateKeyBytes](#usedcertprivatekeybytes-property-mailreader-component) property would typically contain auxiliary values, and therefore be longer.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertKeyFingerprint Property ([MailReader](#mailreader-component) Component)

Returns a SHA1 fingerprint of the public key contained in the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertKeyFingerprint[int UsedCertIndex] = { read=FUsedCertKeyFingerprint };
```

## Default Value

""

## Remarks

Returns a SHA1 fingerprint of the public key contained in the certificate.

Note that the key fingerprint is different from the certificate fingerprint accessible via the [UsedCertFingerprint](#usedcertfingerprint-property-mailreader-component) property. The key fingerprint uniquely identifies the public key, and so can be the same for multiple certificates containing the same key.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertKeyUsage Property ([MailReader](#mailreader-component) Component)

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

## Syntax

*C++ Builder Syntax*

```text
__property int UsedCertKeyUsage[int UsedCertIndex] = { read=FUsedCertKeyUsage };
```

## Default Value

0

## Remarks

Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set.

This value is a bit mask of the following values:

|  |  |  |
| --- | --- | --- |
| ckuUnknown | 0x00000 | Unknown key usage |
| ckuDigitalSignature | 0x00001 | Digital signature |
| ckuNonRepudiation | 0x00002 | Non-repudiation |
| ckuKeyEncipherment | 0x00004 | Key encipherment |
| ckuDataEncipherment | 0x00008 | Data encipherment |
| ckuKeyAgreement | 0x00010 | Key agreement |
| ckuKeyCertSign | 0x00020 | Certificate signing |
| ckuCRLSign | 0x00040 | Revocation signing |
| ckuEncipherOnly | 0x00080 | Encipher only |
| ckuDecipherOnly | 0x00100 | Decipher only |
| ckuServerAuthentication | 0x00200 | Server authentication |
| ckuClientAuthentication | 0x00400 | Client authentication |
| ckuCodeSigning | 0x00800 | Code signing |
| ckuEmailProtection | 0x01000 | Email protection |
| ckuTimeStamping | 0x02000 | Timestamping |
| ckuOCSPSigning | 0x04000 | OCSP signing |
| ckuSmartCardLogon | 0x08000 | Smartcard logon |
| ckuKeyPurposeClientAuth | 0x10000 | Kerberos - client authentication |
| ckuKeyPurposeKDC | 0x20000 | Kerberos - KDC |

Set this property before generating the certificate to propagate the key usage flags to the new certificate.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertKeyValid Property ([MailReader](#mailreader-component) Component)

Returns True if the certificate's key is cryptographically valid, and False otherwise.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertKeyValid[int UsedCertIndex] = { read=FUsedCertKeyValid };
```

## Default Value

false

## Remarks

Returns *True* if the certificate's key is cryptographically valid, and *False* otherwise.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertOCSPLocations Property ([MailReader](#mailreader-component) Component)

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertOCSPLocations[int UsedCertIndex] = { read=FUsedCertOCSPLocations };
```

## Default Value

""

## Remarks

Locations of OCSP services that can be used to check this certificate's validity in real time, as recorded by the CA.

Set this property before calling the certificate manager's [Generate](#CertificateManager_m_Generate) method to propagate it to the new certificate.

The OCSP locations are provided as a list of CRLF-separated URLs. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the location separator.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertOCSPNoCheck Property ([MailReader](#mailreader-component) Component)

Accessor to the value of the certificate's ocsp-no-check extension.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertOCSPNoCheck[int UsedCertIndex] = { read=FUsedCertOCSPNoCheck };
```

## Default Value

false

## Remarks

Accessor to the value of the certificate's ocsp-no-check extension.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertOrigin Property ([MailReader](#mailreader-component) Component)

Returns the location that the certificate was taken or loaded from.

## Syntax

*C++ Builder Syntax*

```text
__property int UsedCertOrigin[int UsedCertIndex] = { read=FUsedCertOrigin };
```

## Default Value

0

## Remarks

Returns the location that the certificate was taken or loaded from.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertPolicyIDs Property ([MailReader](#mailreader-component) Component)

Contains identifiers (OIDs) of the applicable certificate policies.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertPolicyIDs[int UsedCertIndex] = { read=FUsedCertPolicyIDs };
```

## Default Value

""

## Remarks

Contains identifiers (OIDs) of the applicable certificate policies.

The Certificate Policies extension identifies a sequence of policies under which the certificate has been issued, and which regulate its usage.

Set this property when generating a certificate to propagate the policies information to the new certificate.

The policies are provided as a list of CRLF-separated entries. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the policy element separator.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertPrivateKeyBytes Property ([MailReader](#mailreader-component) Component)

Returns the certificate's private key in DER-encoded format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertPrivateKeyBytes[int UsedCertIndex] = { read=FUsedCertPrivateKeyBytes };
```

## Remarks

Returns the certificate's private key in DER-encoded format. It is normal for this property to be empty if the private key is non-exportable, which, for example, is typical for certificates originating from hardware security devices.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertPrivateKeyExists Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate has a usable private key associated with it.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertPrivateKeyExists[int UsedCertIndex] = { read=FUsedCertPrivateKeyExists };
```

## Default Value

false

## Remarks

Indicates whether the certificate has a usable private key associated with it. If it is set to *True*, the certificate can be used for private key operations, such as signing or decryption.

This property is independent from [UsedCertPrivateKeyBytes](#usedcertprivatekeybytes-property-mailreader-component), and can be set to *True* even if the former is empty. This would imply that the private key is non-exportable, but still can be used for cryptographic operations.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertPrivateKeyExtractable Property ([MailReader](#mailreader-component) Component)

Indicates whether the private key is extractable (exportable).

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertPrivateKeyExtractable[int UsedCertIndex] = { read=FUsedCertPrivateKeyExtractable };
```

## Default Value

false

## Remarks

Indicates whether the private key is extractable (exportable).

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertPublicKeyBytes Property ([MailReader](#mailreader-component) Component)

Contains the certificate's public key in DER format.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertPublicKeyBytes[int UsedCertIndex] = { read=FUsedCertPublicKeyBytes };
```

## Remarks

Contains the certificate's public key in DER format.

This typically would contain an ASN.1-encoded public key value. The exact format depends on the type of the public key contained in the certificate.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertQualified Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate is qualified.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertQualified[int UsedCertIndex] = { read=FUsedCertQualified };
```

## Default Value

false

## Remarks

Indicates whether the certificate is qualified.

This property is set to *True* if the certificate is confirmed by a Trusted List to be qualified.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertQualifiedStatements Property ([MailReader](#mailreader-component) Component)

Returns a simplified qualified status of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderUsedCertQualifiedStatements UsedCertQualifiedStatements[int UsedCertIndex] = { read=FUsedCertQualifiedStatements };
enum TsbxMailReaderUsedCertQualifiedStatements {
  qstNonQualified=0,
  qstQualifiedHardware=1,
  qstQualifiedSoftware=2
};
```

## Default Value

qstNonQualified

## Remarks

Returns a simplified qualified status of the certificate.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertQualifiers Property ([MailReader](#mailreader-component) Component)

A list of qualifiers.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertQualifiers[int UsedCertIndex] = { read=FUsedCertQualifiers };
```

## Default Value

""

## Remarks

A list of qualifiers.

Contains a comma-separated list of qualifier aliases for the certificate, for example *QCP-n-qscd,QCWithSSCD*.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertSelfSigned Property ([MailReader](#mailreader-component) Component)

Indicates whether the certificate is self-signed (root) or signed by an external CA.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertSelfSigned[int UsedCertIndex] = { read=FUsedCertSelfSigned };
```

## Default Value

false

## Remarks

Indicates whether the certificate is self-signed (root) or signed by an external CA.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertSerialNumber Property ([MailReader](#mailreader-component) Component)

Returns the certificate's serial number.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertSerialNumber[int UsedCertIndex] = { read=FUsedCertSerialNumber };
```

## Remarks

Returns the certificate's serial number.

The serial number is a binary string that uniquely identifies a certificate among others issued by the same CA. According to the X.509 standard, the (issuer, serial number) pair should be globally unique to facilitate chain building.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertSigAlgorithm Property ([MailReader](#mailreader-component) Component)

Indicates the algorithm that was used by the CA to sign this certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertSigAlgorithm[int UsedCertIndex] = { read=FUsedCertSigAlgorithm };
```

## Default Value

""

## Remarks

Indicates the algorithm that was used by the CA to sign this certificate.

A signature algorithm typically combines hash and public key algorithms together, such as *sha256WithRSAEncryption* or *ecdsa-with-SHA256*.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertSource Property ([MailReader](#mailreader-component) Component)

Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response.

## Syntax

*C++ Builder Syntax*

```text
__property TsbxMailReaderUsedCertSources UsedCertSource[int UsedCertIndex] = { read=FUsedCertSource };
enum TsbxMailReaderUsedCertSources {
  pksUnknown=0,
  pksSignature=1,
  pksDocument=2,
  pksUser=3,
  pksLocal=4,
  pksOnline=5
};
```

## Default Value

pksUnknown

## Remarks

Returns the source (location or disposition) of a cryptographic primitive entity, such as a certificate, CRL, or OCSP response.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Integer

# UsedCertSubject Property ([MailReader](#mailreader-component) Component)

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertSubject[int UsedCertIndex] = { read=FUsedCertSubject };
```

## Default Value

""

## Remarks

The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. This is part of a larger set of credentials available via [UsedCertSubjectRDN](#usedcertsubjectrdn-property-mailreader-component).

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertSubjectAlternativeName Property ([MailReader](#mailreader-component) Component)

Returns or sets the value of the Subject Alternative Name extension of the certificate.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertSubjectAlternativeName[int UsedCertIndex] = { read=FUsedCertSubjectAlternativeName };
```

## Default Value

""

## Remarks

Returns or sets the value of the Subject Alternative Name extension of the certificate.

Subject alternative names are used to provide additional names that are impractical to store in the main [UsedCertSubjectRDN](#usedcertsubjectrdn-property-mailreader-component) field. For example, it is often used to store all the domain names that a TLS certificate is authorized to protect.

The alternative names are provided as a list of CRLF-separated entries. Note that this differs from the behaviour used in earlier product versions, where the "|" character was used as the element separator.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertSubjectKeyID Property ([MailReader](#mailreader-component) Component)

Contains a unique identifier of the certificate's cryptographic key.

## Syntax

*C++ Builder Syntax*

```text
__property DynamicArray UsedCertSubjectKeyID[int UsedCertIndex] = { read=FUsedCertSubjectKeyID };
```

## Remarks

Contains a unique identifier of the certificate's cryptographic key.

Subject Key Identifier is a certificate extension which allows a specific public key to be associated with a certificate holder. Typically, subject key identifiers of CA certificates are recorded as respective CA key identifiers in the subordinate certificates that they issue, which facilitates chain building.

The [UsedCertSubjectKeyID](#usedcertsubjectkeyid-property-mailreader-component) and [UsedCertCAKeyID](#usedcertcakeyid-property-mailreader-component) properties of self-signed certificates typically contain identical values, as in that specific case, the issuer and the subject are the same entity.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Byte Array

# UsedCertSubjectRDN Property ([MailReader](#mailreader-component) Component)

A list of Property=Value pairs that uniquely identify the certificate holder (subject).

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertSubjectRDN[int UsedCertIndex] = { read=FUsedCertSubjectRDN };
```

## Default Value

""

## Remarks

A list of *Property=Value* pairs that uniquely identify the certificate holder (subject).

Depending on the purpose of the certificate and the policies of the CA that issued it, the values included in the subject record may differ drastically and contain business or personal names, web URLs, email addresses, and other data.

Example: */C=US/O=Oranges and Apples, Inc./OU=Accounts Receivable/1.2.3.4.5=Value with unknown OID/CN=Margaret Watkins*.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertValid Property ([MailReader](#mailreader-component) Component)

Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request.

## Syntax

*C++ Builder Syntax*

```text
__property bool UsedCertValid[int UsedCertIndex] = { read=FUsedCertValid };
```

## Default Value

false

## Remarks

Indicates whether or not the signature over the certificate or the request is valid and matches the public key contained in the CA certificate/request.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

Boolean

# UsedCertValidFrom Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate becomes valid, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertValidFrom[int UsedCertIndex] = { read=FUsedCertValidFrom };
```

## Default Value

""

## Remarks

The time point at which the certificate becomes valid, in UTC.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# UsedCertValidTo Property ([MailReader](#mailreader-component) Component)

The time point at which the certificate expires, in UTC.

## Syntax

*C++ Builder Syntax*

```text
__property String UsedCertValidTo[int UsedCertIndex] = { read=FUsedCertValidTo };
```

## Default Value

""

## Remarks

The time point at which the certificate expires, in UTC.

The *UsedCertIndex* parameter specifies the index of the item in the array. The size of the array is controlled by the [UsedCertCount](#usedcertcount-property-mailreader-component) property.

This property is read-only and not available at design time.

## Data Type

String

# ValidationMoment Property ([MailReader](#mailreader-component) Component)

The time point at which signature validity is to be established.

## Syntax

*C++ Builder Syntax*

```text
__property String ValidationMoment = { read=FValidationMoment, write=FSetValidationMoment };
```

## Default Value

""

## Remarks

Use this property to specify the moment in time at which signature validity should be established. The time is in UTC. Leave the setting empty to stick to the default moment (either the signature creation time or the current time).

The validity of the same signature may differ depending on the time point chosen due to temporal changes in chain validities, revocation statuses, and timestamp times.

## Data Type

String

# Config Method ([MailReader](#mailreader-component) Component)

Sets or retrieves a configuration setting.

## Syntax

*C++ Builder Syntax*

```text
String __fastcall Config(String ConfigurationString);
```

## Remarks

Config is a generic method available in every component. It is used to set and retrieve [configuration settings](#config-settings-mailreader-component) for the component.

These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the component, access to these *internal properties* is provided through the Config method.

To set a configuration setting named *PROPERTY*, you must call *Config("PROPERTY=VALUE")*, where *VALUE* is the value of the setting expressed as a string. For boolean values, use the strings "True", "False", "0", "1", "Yes", or "No" (case does not matter).

To read (query) the value of a [configuration setting](#config-settings-mailreader-component), you must call *Config("PROPERTY")*. The value will be returned as a string.

# DoAction Method ([MailReader](#mailreader-component) Component)

Performs an additional action.

## Syntax

*C++ Builder Syntax*

```text
String __fastcall DoAction(String ActionID, String ActionParams);
```

## Remarks

DoAction is a generic method available in every component. It is used to perform an additional action introduced after the product major release. The list of actions is not fixed, and may be flexibly extended over time.

The unique identifier (case insensitive) of the action is provided in the *ActionID* parameter.

*ActionParams* contains the value of a single parameter, or a list of multiple parameters for the action in the form of *PARAM1=VALUE1;PARAM2=VALUE2;...*.

Common ActionIDs:

|  |  |  |  |
| --- | --- | --- | --- |
| Action | Parameters | Returned value | Description |
| ResetTrustedListCache | none | none | Clears the cached list of trusted lists. |
| ResetCertificateCache | none | none | Clears the cached certificates. |
| ResetCRLCache | none | none | Clears the cached CRLs. |
| ResetOCSPResponseCache | none | none | Clears the cached OCSP responses. |

# FindAttachment Method ([MailReader](#mailreader-component) Component)

Looks up a Message's attachment by its ID.

## Syntax

*C++ Builder Syntax*

```text
int __fastcall FindAttachment(String ID);
```

## Remarks

Use this method to find the attachment by its *ID*.

# LoadFromBytes Method ([MailReader](#mailreader-component) Component)

Loads an e-mail message from a byte array.

## Syntax

*C++ Builder Syntax*

```text
void __fastcall LoadFromBytes(DynamicArray<Byte> MessageBytes);
```

## Remarks

Use this method to load a message from a byte array and process it. Once the message has been loaded, use Message to access its properties.

# LoadFromFile Method ([MailReader](#mailreader-component) Component)

Loads an e-mail message from a file.

## Syntax

*C++ Builder Syntax*

```text
void __fastcall LoadFromFile(String FileName);
```

## Remarks

Use this method to load a message from a file and process it. Once the message has been loaded, use Message to access its properties.

# Reset Method ([MailReader](#mailreader-component) Component)

Resets the component settings.

## Syntax

*C++ Builder Syntax*

```text
void __fastcall Reset();
```

## Remarks

Reset is a generic method available in every component.

# ChainValidated Event ([MailReader](#mailreader-component) Component)

Reports the completion of a certificate chain validation.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String SubjectRDN;
  int ValidationResult;
  int ValidationDetails;
} TsbxMailReaderChainValidatedEventParams;
typedef void __fastcall (__closure *TsbxMailReaderChainValidatedEvent)(System::TObject* Sender, TsbxMailReaderChainValidatedEventParams *e);
__property TsbxMailReaderChainValidatedEvent OnChainValidated = { read=FOnChainValidated, write=FOnChainValidated };
```

## Remarks

This event is fired when a certificate chain validation routine completes. *SubjectRDN* identifies the owner of the validated certificate.

*ValidationResult* set to 0 (zero) indicates successful chain validation.

|  |  |  |
| --- | --- | --- |
| cvtValid | 0 | The chain is valid |
| cvtValidButUntrusted | 1 | The chain is valid, but the root certificate is not trusted |
| cvtInvalid | 2 | The chain is not valid (some of certificates are revoked, expired, or contain an invalid signature) |
| cvtCantBeEstablished | 3 | The validity of the chain cannot be established because of missing or unavailable validation information (certificates, CRLs, or OCSP responses) |

 Any other value reports a failure, and *ValidationDetails* provides more details on its reasons.

|  |  |  |
| --- | --- | --- |
| cvrBadData | 0x0001 | One or more certificates in the validation path are malformed |
| cvrRevoked | 0x0002 | One or more certificates are revoked |
| cvrNotYetValid | 0x0004 | One or more certificates are not yet valid |
| cvrExpired | 0x0008 | One or more certificates are expired |
| cvrInvalidSignature | 0x0010 | A certificate contains a non-valid digital signature |
| cvrUnknownCA | 0x0020 | A CA certificate for one or more certificates has not been found (chain incomplete) |
| cvrCAUnauthorized | 0x0040 | One of the CA certificates are not authorized to act as CA |
| cvrCRLNotVerified | 0x0080 | One or more CRLs could not be verified |
| cvrOCSPNotVerified | 0x0100 | One or more OCSP responses could not be verified |
| cvrIdentityMismatch | 0x0200 | The identity protected by the certificate (a TLS endpoint or an e-mail addressee) does not match what is recorded in the certificate |
| cvrNoKeyUsage | 0x0400 | A mandatory key usage is not enabled in one of the chain certificates |
| cvrBlocked | 0x0800 | One or more certificates are blocked |
| cvrFailure | 0x1000 | General validation failure |
| cvrChainLoop | 0x2000 | Chain loop: one of the CA certificates recursively signs itself |
| cvrWeakAlgorithm | 0x4000 | A weak algorithm is used in one of certificates or revocation elements |
| cvrUserEnforced | 0x8000 | The chain was considered invalid following intervention from a user code |

# DecryptionInfoNeeded Event ([MailReader](#mailreader-component) Component)

Asks the application to provide a decryption certificate.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String IssuerRDN;
  DynamicArray SerialNumber;
  DynamicArray SubjectKeyID;
} TsbxMailReaderDecryptionInfoNeededEventParams;
typedef void __fastcall (__closure *TsbxMailReaderDecryptionInfoNeededEvent)(System::TObject* Sender, TsbxMailReaderDecryptionInfoNeededEventParams *e);
__property TsbxMailReaderDecryptionInfoNeededEvent OnDecryptionInfoNeeded = { read=FOnDecryptionInfoNeeded, write=FOnDecryptionInfoNeeded };
```

## Remarks

This event is fired when the component needs a decryption certificate. Use the provided values to look up the certificate, and assign it to DecryptionCertificate property.

Note that the decryption certificate must have an associated private key.

# Error Event ([MailReader](#mailreader-component) Component)

Reports information about errors during e-mail message loading, parsing or saving.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  int ErrorCode;
  String Description;
} TsbxMailReaderErrorEventParams;
typedef void __fastcall (__closure *TsbxMailReaderErrorEvent)(System::TObject* Sender, TsbxMailReaderErrorEventParams *e);
__property TsbxMailReaderErrorEvent OnError = { read=FOnError, write=FOnError };
```

## Remarks

The event is fired in case of exceptional conditions during message processing.

*ErrorCode* contains an error code and *Description* contains a textual description of the error.

# ExternalDecrypt Event ([MailReader](#mailreader-component) Component)

Handles remote or external decryption.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String OperationId;
  String Algorithm;
  String Pars;
  String EncryptedData;
  String Data;
} TsbxMailReaderExternalDecryptEventParams;
typedef void __fastcall (__closure *TsbxMailReaderExternalDecryptEvent)(System::TObject* Sender, TsbxMailReaderExternalDecryptEventParams *e);
__property TsbxMailReaderExternalDecryptEvent OnExternalDecrypt = { read=FOnExternalDecrypt, write=FOnExternalDecrypt };
```

## Remarks

Assign a handler to this event if you need to delegate a low-level decryption operation to an external, remote, or custom decryption engine. The handler receives an encrypted value in the *EncryptedData* parameter, and is expected to decrypt it and place the decrypted value into the *Data* parameter.

*OperationId* provides a comment about the operation and its origin. It depends on the exact component being used, and may be empty. *Algorithm* specifies the encryption algorithm being used, and *Pars* contains algorithm-dependent parameters.

The component uses base16 (hex) encoding for the *EncryptedData*, *Data*, and *Pars* parameters. If your decryption engine uses a different input and output encoding, you may need to decode and/or encode the data before and/or after the decryption.

Sample data encoded in base16: a0dee2a0382afbb09120ffa7ccd8a152 - lower case base16 A0DEE2A0382AFBB09120FFA7CCD8A152 - upper case base16

# Notification Event ([MailReader](#mailreader-component) Component)

This event notifies the application about an underlying control flow event.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String EventID;
  String EventParam;
} TsbxMailReaderNotificationEventParams;
typedef void __fastcall (__closure *TsbxMailReaderNotificationEvent)(System::TObject* Sender, TsbxMailReaderNotificationEventParams *e);
__property TsbxMailReaderNotificationEvent OnNotification = { read=FOnNotification, write=FOnNotification };
```

## Remarks

The component fires this event to let the application know about some event, occurrence, or milestone in the component. For example, it may fire to report completion of the document processing. The list of events being reported is not fixed, and may be flexibly extended over time.

The unique identifier of the event is provided in the *EventID* parameter. *EventParam* contains any parameters accompanying the occurrence. Depending on the type of the component, the exact action it is performing, or the document being processed, one or both may be omitted.

# SignatureFound Event ([MailReader](#mailreader-component) Component)

Signifies the start of signature validation.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String IssuerRDN;
  DynamicArray SerialNumber;
  DynamicArray SubjectKeyID;
  bool CertFound;
  bool ValidateSignature;
  bool ValidateChain;
} TsbxMailReaderSignatureFoundEventParams;
typedef void __fastcall (__closure *TsbxMailReaderSignatureFoundEvent)(System::TObject* Sender, TsbxMailReaderSignatureFoundEventParams *e);
__property TsbxMailReaderSignatureFoundEvent OnSignatureFound = { read=FOnSignatureFound, write=FOnSignatureFound };
```

## Remarks

This event tells the application that signature validation is about to start, and provides the details about the signer's certificate via its *IssuerRDN*, *SerialNumber*, and *SubjectKeyID* parameters. It fires for every signature located in the verified document or message.

The *CertFound* parameter is set to True if the component has found the needed certificate in one of the known locations, and to False otherwise, in which case you must provide it manually via the KnownCertificates property.

Signature validation consists of two independent stages: cryptographic signature validation and chain validation. Separate validation results are reported for each, with the  and  properties respectively.

Use the *ValidateSignature* and *ValidateChain* parameters to tell the verifier which stages to include in the validation.

# SignatureValidated Event ([MailReader](#mailreader-component) Component)

Marks the completion of the signature validation routine.

## Syntax

*C++ Builder Syntax*

```text
typedef struct {
  String IssuerRDN;
  DynamicArray SerialNumber;
  DynamicArray SubjectKeyID;
  int ValidationResult;
} TsbxMailReaderSignatureValidatedEventParams;
typedef void __fastcall (__closure *TsbxMailReaderSignatureValidatedEvent)(System::TObject* Sender, TsbxMailReaderSignatureValidatedEventParams *e);
__property TsbxMailReaderSignatureValidatedEvent OnSignatureValidated = { read=FOnSignatureValidated, write=FOnSignatureValidated };
```

## Remarks

This event is fired upon the completion of the signature validation routine, and reports the respective validation result.

Use the *IssuerRDN*, *SerialNumber*, and/or *SubjectKeyID* parameters to identify the signing certificate.

*ValidationResult* is set to 0 if the validation has been successful, or to a non-zero value in case of a validation failure.

|  |  |  |
| --- | --- | --- |
| svtValid | 0 | The signature is valid |
| svtUnknown | 1 | Signature validity is unknown |
| svtCorrupted | 2 | The signature is corrupted |
| svtSignerNotFound | 3 | Failed to acquire the signing certificate. The signature cannot be validated. |
| svtFailure | 4 | General failure |
| svtReferenceCorrupted | 5 | Reference corrupted (XML-based signatures only) |

# Config Settings ([MailReader](#mailreader-component) Component)

 The component accepts one or more of the following *configuration settings*. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the component, access to these *internal properties* is provided through the [Config](#config-method-mailreader-component) method.

### MailReader Config Settings

**ChainCurrentCACert**: Returns the current CA certificate.This property returns the CA certificate that is used on the current step.

**ChainCurrentCert**: Returns the certificate that is currently being validated.Use this property to obtain the body of the certificate that is currently being validated.

**ChainCurrentCRL**: Returns the current CRL.Returns the CRL object that is currently being processed.

**ChainCurrentCRLSize**: Returns the size of the current CRL.This property returns the size of the CRL object that is currently being processed.

**ChainCurrentOCSP**: Returns the current OCSP response.Returns the OCSP object that is currently being processed.

**ChainCurrentOCSPSigner**: Returns the signer of the current OCSP object.Returns the signer/CA that has issued the OCSP response that is currently being processed.

**ChainInterimDetails**: Returns the current interim validation details.This property returns the interim chain validation details.

**ChainInterimResult**: Returns the current interim validation result.Use this setting to obtain the current (mid-chain) validation result. This property applies to the current validation step and may change as the chain walk proceeds. The final result will be published in the ChainValidationResult property once the validation process completes.

**CheckValidityPeriodForTrusted**: Whether to check validity period for trusted certificates.Whether to check validity period for trusted certificates.

**DislikeOpenEndedOCSPs**: Tells the component to discourage OCSP responses without an explicit NextUpdate parameter.When this property is set to True, the validation engine treats OCSP response without a NextUpdate field as 'substandard' and tries to obtain some further revocation material for the certificate in question (a different OCSP or a CRL, even if the component is configured to prefer the OCSP route). This is to work around Adobe Reader's intolerance to such OCSPs when classifying signed documents as LTV (as of August 2022).

**EvaluateSystemTrust**: Enables or disables usage of the platform's built-in trust validation facilities.When enabled, the component delegates the certificate chain validation to the operating system's native trust evaluation mechanism (e.g. SecTrustEvaluate on Apple platforms). This functionality is currently available on macOS and iOS systems only. This property is disabled by default, because enabling it may prevent the AdES components from collecting full revocation information required for long-term validation (LTV) signatures.

**EvaluateSystemTrustForSelfSignedCertificates**: Enables or disables usage of the platform's built-in trust validation facilities for self-signed certificates.When enabled, the component delegates the certificate chain validation to the operating system's native trust evaluation mechanism (e.g. SecTrustEvaluate on Apple platforms) for self-signed certificates. This functionality is currently available on macOS and iOS systems only. This property is enabled by default.

**EvaluateSystemTrustForSSL**: Enables or disables usage of the platform's built-in trust validation facilities for SSL/TLS.When enabled, the component delegates the certificate chain validation to the operating system's native trust evaluation mechanism (e.g. SecTrustEvaluate on Apple platforms) specifically for SSL/TLS certificates. This functionality is currently available on macOS and iOS systems only. This property is enabled by default.

**ForceCompleteChainValidation**: Whether to check the CA certificates when the signing certificate is invalid.Set this property to True to check issuer (CA) certificates if the signing or an intermediate chain certificate is invalid.

**ForceCompleteChainValidationForTrusted**: Whether to continue with the full validation up to the root CA certificate for mid-level trust anchors. Set this property to True to enable full chain validation for explicitly trusted intermediary or end-entity certificates. This may be useful when creating signatures to enforce completeness of the collected revocation information. It often makes sense to set this property to false when validating signatures to reduce validation time and avoid issues with badly configured environments.

**GracePeriod**: Specifies a grace period to apply during revocation information checks.Use this property to specify a grace period (in seconds). Grace period applies to certain subprotocols, such as OCSP, and caters to the inaccuracy and/or missynchronization of clocks on different participating systems. Any time deviations within the grace period will be tolerated.

**HeaderCharset**: Charset of the header. If not empty, the one specified in the message header will be ignored.

**IgnoreChainLoops**: Whether chain loops should be ignored.Set this property to True to make the validation engine ignore chain loops. This may be an option when you need to process chains from buggy CAs that happen to include subchains that sign themselves.

**IgnoreOCSPNoCheckExtension**: Whether the OCSP NoCheck extension should be ignored.Set this property to True to make the validation engine ignore the OCSP no-check extension. You would normally need to set this property when validating severely non-compliant chains that misuse the extension, causing chain loops or other validation issues.

**IgnoreSystemTrust**: Whether trusted Windows Certificate Stores should be treated as trusted.Specifies whether, during chain validation, the component should respect the trust to CA certificates as configured in the operating system. In Windows this effectively defines whether the component should trust the certificates residing in the Trusted Root Certification Authorities store.

If [IgnoreSystemTrust](#IgnoreSystemTrust) is True, certificates residing in the trusted root store are treated as if they are known, rather than trusted. Only certificates provided via other means (such as the TrustedCertificates property) are considered trusted.

**ImplicitlyTrustSelfSignedCertificates**: Whether to trust self-signed certificates. Set this property to True to implicitly trust all self-signed certificates. Use it with care as trusting just about every self-signed certificate is unwise. One exceptional reason where this property may be handy is where a chain is validated in an environment that is not supposed to trust it (for example, a signing, rather than verifying environment, or a QA server). Trusting all self-signing certificates (which are normally trusted) allows emulating the verifying environment without actually changing its security settings.

**MaxHeaderSize**: Specifies the maximum mail message header size in bytes.Use this property to adjust the maximum size of a mail message header. If no header end (CRLFCRLF) found, the header is considered blank. Default size is 32768 (i.e. 32KB).

**PromoteLongOCSPResponses**: Whether long OCSP responses are requested. Set this property to True to force the component to publish the 'long' form of OCSP responses. Otherwise, only BasicOCSPResponse blobs are promoted.

**TempPath**: Path for storing temporary files.This setting specifies an absolute path to the location on disk where temporary files are stored. This setting is supported only in the Java edition for all applicable signing components except [PDFSigner](PDFSigner.md#PDFSigner), where this limitation does not apply.

**TextCharset**: Charset of text parts, if any. If not empty, the one specified in the message text parts will be ignored.

**TolerateMinorChainIssues**: Whether to tolerate minor chain issues.This parameter controls whether the chain validator should tolerate minor technical issues when validating the chain. Those are:

- CA, revocation source, TLS key usage requirements are not mandated
- Violation of OCSP issuer requirements are ignored
- The AuthorityKeyID extension in CRL- and certificate-issuing CAs are ignored (helps with incorrectly renewed certificates)
- Basic constraints and name constraints of CA certificates are ignored
- Some weaker algorithms are tolerated

**UseEnvStorages**: Enables or disables use of the environment storages.Enable this property to make the chain validation module automatically look up missing CA and intermediate certificates in the environment storages.

**UseMicrosoftCTL**: Enables or disables the automatic use of the Microsoft online certificate trust list.Enable this property to make the chain validation module automatically look up missing CA certificates in the public Windows Update repository.

**UseSystemCertificates**: Enables or disables the use of the system certificates.Use this property to tell the chain validation module to automatically look up missing CA certificates in the system certificates. In many cases it is beneficial to switch this property on, as the operating system certificate configuration provides a representative trust framework.

**UseValidationCache**: Enables or disable the use of the product-wide certificate chain validation cache.Use this property to enable or disable the use of the global chain validation cache. If enabled, the component will consult the product-wide validation cache when validating the signing chains. Also, the outcomes of any new chain validations performed by the component, both interim and final, will be saved in the cache and available for re-use by any future validations. Disable this property to ignore the cache and always perform the validation from a fresh start.

### Base Config Settings

**ASN1UseGlobalTagCache**: Controls whether ASN.1 module should use a global object cache.This is a performance setting. It is unlikely that you will ever need to adjust it.

**AssignSystemSmartCardPins**: Specifies whether CSP-level PINs should be assigned to CNG keys.This is a low-level tweak for certain cryptographic providers. It is unlikely that you will ever need to adjust it.

**CheckKeyIntegrityBeforeUse**: Enables or disable private key integrity check before use.This global property enables or disables private key material check before each signing operation. This slows down performance a bit, but prevents a selection of attacks on RSA keys where keys with unknown origins are used.

You can switch this property off to improve performance if your project only uses known, good private keys.

**CookieCaching**: Specifies whether a cookie cache should be used for HTTP(S) transports.Set this property to enable or disable cookies caching for the component.

Supported values are:

|  |  |  |
| --- | --- | --- |
| off |  | No caching (default) |
| local |  | Local caching |
| global |  | Global caching |

**Cookies**: Gets or sets local cookies for the component.Use this property to get cookies from the internal cookie storage of the component and/or restore them back between application sessions.

**DefDeriveKeyIterations**: Specifies the default key derivation algorithm iteration count.This global property sets the default number of iterations for all supported key derivation algorithms. Note that you can provide the required number of iterations by using properties of the relevant key generation component; this global setting is used in scenarios where specific iteration count is not or cannot be provided.

**DNSLocalSuffix**: The suffix to assign for TLD names.Use this global setting to adjust the default suffix to assign to top-level domain names. The default is *.local*.

**EnableClientSideSSLFFDHE**: Enables or disables finite field DHE key exchange support in TLS clients.This global property enables or disables support for finite field DHE key exchange methods in TLS clients. FF DHE is a slower algorithm if compared to EC DHE; enabling it may result in slower connections.

This setting only applies to sessions negotiated with TLS version 1.3.

**EnableSSHMLKEM**: Enables support for ML-KEM/hybrid key exchange algorithms in SSH client and server components.Use this setting to enable hybrid key exchange algorithms in client and server SSH and SFTP components. This is a global setting that enables ML-KEM blanketly in all SSH-dependent components.

**EnableTLSMLKEM**: Enables support for ML-KEM and hybrid groups in TLS client and server components.Use this setting to enable ML-KEM and hybrid key exchange groups in client and server TLS components. This is a global setting that enables ML-KEM blanketly in all TLS-dependent components.

**GlobalCookies**: Gets or sets global cookies for all the HTTP transports.Use this property to get cookies from the GLOBAL cookie storage or restore them back between application sessions. These cookies will be used by all the components that have its *CookieCaching* property set to "global".

**HardwareCryptoUsePolicy**: The hardware crypto usage policy.This global setting controls the hardware cryptography usage policy.

Supported Values:

|  |  |
| --- | --- |
| auto | Use hardware cryptography if available; otherwise, fall back to software-based cryptography (default). |
| enable | Always attempt to use hardware cryptography. If unavailable, exception will be thrown. |
| disable | Do not use hardware cryptography. |

**HttpUserAgent**: Specifies the user agent name to be used by all HTTP clients.This global setting defines the User-Agent field of the HTTP request provides information about the software that initiates the request. This value will be used by all the HTTP clients including the ones used internally in other components.

**HttpVersion**: The HTTP version to use in any inner HTTP client components created.Set this property to 1.0 or 1.1 to indicate the HTTP version that any internal HTTP clients should use.

**IgnoreExpiredMSCTLSigningCert**: Whether to tolerate the expired Windows Update signing certificate.It is not uncommon for Microsoft Windows Update Certificate Trust List to be signed with an expired Microsoft certificate. Setting this global property to true makes SBB ignore the expired factor and take the Trust List into account.

**ListDelimiter**: The delimiter character for multi-element lists.Allows to set the delimiter for any multi-entry values returned by the component as a string object, such as file lists. For most of the components, this property is set to a newline sequence.

**LogDestination**: Specifies the debug log destination.Contains a comma-separated list of values that specifies where debug log should be dumped.

Supported values are:

|  |  |  |
| --- | --- | --- |
| file |  | File |
| console |  | Console |
| systemlog |  | System Log (supported for Android only) |
| debugger |  | Debugger (supported for VCL for Windows and .Net) |

**LogDetails**: Specifies the debug log details to dump.Contains a comma-separated list of values that specifies which debug log details to dump.

Supported values are:

|  |  |  |
| --- | --- | --- |
| time |  | Current time |
| level |  | Level |
| package |  | Package name |
| module |  | Module name |
| class |  | Class name |
| method |  | Method name |
| threadid |  | Thread Id |
| contenttype |  | Content type |
| content |  | Content |
| all |  | All details |

**LogFile**: Specifies the debug log filename.Use this property to provide a path to the log file.

**LogFilters**: Specifies the debug log filters.Contains a comma-separated list of value pairs ("name:value") that describe filters.

Supported filter names are:

|  |  |  |
| --- | --- | --- |
| exclude-package |  | Exclude a package specified in the value |
| exclude-module |  | Exclude a module specified in the value |
| exclude-class |  | Exclude a class specified in the value |
| exclude-method |  | Exclude a method specified in the value |
| include-package |  | Include a package specified in the value |
| include-module |  | Include a module specified in the value |
| include-class |  | Include a class specified in the value |
| include-method |  | Include a method specified in the value |

**LogFlushMode**: Specifies the log flush mode.Use this property to set the log flush mode. The following values are defined:

|  |  |  |
| --- | --- | --- |
| none |  | No flush (caching only) |
| immediate |  | Immediate flush (real-time logging) |
| maxcount |  | Flush cached entries upon reaching LogMaxEventCount entries in the cache. |

**LogLevel**: Specifies the debug log level.Use this property to provide the desired debug log level.

Supported values are:

|  |  |  |
| --- | --- | --- |
| none |  | None (by default) |
| fatal |  | Severe errors that cause premature termination. |
| error |  | Other runtime errors or unexpected conditions. |
| warning |  | Use of deprecated APIs, poor use of API, 'almost' errors, other runtime situations that are undesirable or unexpected, but not necessarily "wrong". |
| info |  | Interesting runtime events (startup/shutdown). |
| debug |  | Detailed information on flow of through the system. |
| trace |  | More detailed information. |

**LogMaxEventCount**: Specifies the maximum number of events to cache before further action is taken.Use this property to specify the log event number threshold. This threshold may have different effects, depending on the rotation setting and/or the flush mode.

The default value of this setting is 100.

**LogRotationMode**: Specifies the log rotation mode.Use this property to set the log rotation mode. The following values are defined:

|  |  |  |
| --- | --- | --- |
| none |  | No rotation |
| deleteolder |  | Delete older entries from the cache upon reaching LogMaxEventCount |
| keepolder |  | Keep older entries in the cache upon reaching LogMaxEventCount (newer entries are discarded) |

**MaxASN1BufferLength**: Specifies the maximal allowed length for ASN.1 primitive tag data.This global property limits the maximal allowed length for ASN.1 tag data for non-content-carrying structures, such as certificates, CRLs, or timestamps. It does not affect structures that can carry content, such as CMS/CAdES messages. This is a security property aiming at preventing DoS attacks.

**MaxASN1TreeDepth**: Specifies the maximal depth for processed ASN.1 trees.This global property limits the maximal depth of ASN.1 trees that the component can handle without throwing an error. This is a security property aiming at preventing DoS attacks.

**OCSPHashAlgorithm**: Specifies the hash algorithm to be used to identify certificates in OCSP requests.This global setting defines the hash algorithm to use in OCSP requests during chain validation. Some OCSP responders can only use older algorithms, in which case setting this property to SHA1 may be helpful.

**OldClientSideRSAFallback**: Specifies whether the SSH client should use a SHA1 fallback.Tells the SSH client to use a legacy ssh-rsa authentication even if the server indicates support for newer algorithms, such as rsa-sha-256. This is a backward-compatibility tweak.

**PKICache**: Specifies which PKI elements (certificates, CRLs, OCSP responses) should be cached.The PKICache setting specifies which Public Key Infrastructure (PKI) elements should be cached to optimize performance and reduce retrieval times. It supports comma-separated values to indicate the specific types of PKI data that should be cached.

Supported Values:

|  |  |
| --- | --- |
| certificate | Enables caching of certificates. |
| crl | Enables caching of Certificate Revocation Lists (CRLs). |
| ocsp | Enables caching of OCSP (Online Certificate Status Protocol) responses. |

Example (default value):

```text
PKICache=certificate,crl,ocsp
```

 In this example, the component caches certificates, CRLs, and OCSP responses.

**PKICachePath**: Specifies the file system path where cached PKI data is stored.The PKICachePath setting defines the file system path where cached PKI data (e.g., certificates, CRLs, OCSP responses and Trusted Lists) will be stored. This allows the system to persistently save and retrieve PKI cache data, even across application restarts.

The default value is an empty string - no cached PKI data is stored on disk.

Example:

```text
PKICachePath=C:\Temp\cache
```

 In this example, the cached PKI data is stored in the C:\Temp\cache directory.

**ProductVersion**: Returns the version of the SecureBlackbox library.This property returns the long version string of the SecureBlackbox library being used (major.minor.build.revision).

**ServerSSLDHKeyLength**: Sets the size of the TLS DHE key exchange group.Use this property to adjust the length, in bits, of the DHE prime to be used by the TLS server.

**StaticDNS**: Specifies whether static DNS rules should be used.Set this property to enable or disable static DNS rules for the component. Works only if *UseOwnDNSResolver* is set to *true*.

Supported values are:

|  |  |  |
| --- | --- | --- |
| none |  | No static DNS rules (default) |
| local |  | Local static DNS rules |
| global |  | Global static DNS rules |

**StaticIPAddress[domain]**: Gets or sets an IP address for the specified domain name.Use this property to get or set an IP address for the specified domain name in the internal (of the component) or global DNS rules storage depending on the *StaticDNS* value. The type of the IP address (IPv4 or IPv6) is determined automatically. If both addresses are available, they are divided by the | (pipe) character.

**StaticIPAddresses**: Gets or sets all the static DNS rules.Use this property to get static DNS rules from the current rules storage or restore them back between application sessions. If *StaticDNS* of the component is set to "*local*", the property returns/restores the rules from/to the internal storage of the component. If *StaticDNS* of the component is set to "*global*", the property returns/restores the rules from/to the GLOBAL storage. The rules list is returned and accepted in JSON format.

**Tag**: Allows to store any custom data.Use this config property to store any custom data.

**TLSSessionGroup**: Specifies the group name of TLS sessions to be used for session resumption.Use this property to limit the search of cached TLS sessions to the specified group. Sessions from other groups will be ignored. By default, all sessions are cached with an empty group name and available to all the components.

**TLSSessionLifetime**: Specifies lifetime in seconds of the cached TLS session.Use this property to specify how much time the TLS session should be kept in the session cache. After this time, the session expires and will be automatically removed from the cache. Default value is 300 seconds (5 minutes).

**TLSSessionPurgeInterval**: Specifies how often the session cache should remove the expired TLS sessions.Use this property to specify the time interval of purging the expired TLS sessions from the session cache. Default value is 60 seconds (1 minute).

**UseCRLObjectCaching**: Specifies whether reuse of loaded CRL objects is enabled.This setting enables or disables the caching of CRL objects. When set to true (the default value), the system checks if a CRL object is already loaded in memory before attempting to load a new instance. If the object is found, the existing instance is reused, and its reference count is incremented to track its usage. When the reference count reaches zero, indicating that no references to the object remain, the system will free the object from memory. This setting enhances performance by minimizing unnecessary object instantiation and promotes efficient memory management, particularly in scenarios where CRL objects are frequently used.

**UseInternalRandom**: Switches between SecureBlackbox-own and platform PRNGs.Allows to switch between internal/native PRNG implementation and the one provided by the platform.

**UseLegacyAdESValidation**: Enables legacy AdES validation mode.Use this setting to switch the AdES component to the validation approach that was used in SBB 2020/SBB 2022 (less attention to temporal details).

**UseOCSPResponseObjectCaching**: Specifies whether reuse of loaded OCSP response objects is enabled.This setting enables or disables the caching of OCSP response objects. When set to true (the default value), the system checks if a OCSP response object is already loaded in memory before attempting to load a new instance. If the object is found, the existing instance is reused, and its reference count is incremented to track its usage. When the reference count reaches zero, indicating that no references to the object remain, the system will free the object from memory. This setting enhances performance by minimizing unnecessary object instantiation and promotes efficient memory management, particularly in scenarios where OCSP response objects are frequently used.

**UseOwnDNSResolver**: Specifies whether the client components should use own DNS resolver.Set this global property to false to force all the client components to use the DNS resolver provided by the target OS instead of using own one.

**UseSharedSystemStorages**: Specifies whether the validation engine should use a global per-process copy of the system certificate stores.Set this global property to false to make each validation run use its own copy of system certificate stores.

**UseSystemNativeSizeCalculation**: An internal CryptoAPI access tweak.This is an internal setting. Please do not use it unless instructed by the support team.

**UseSystemOAEPAndPSS**: Enforces or disables the use of system-driven RSA OAEP and PSS computations.This global setting defines who is responsible for performing RSA-OAEP and RSA-PSS computations where the private key is stored in a Windows system store and is exportable. If set to true, SBB will delegate the computations to Windows via a CryptoAPI call. Otherwise, it will export the key material and perform the computations using its own OAEP/PSS implementation.

This setting only applies to certificates originating from a Windows system store.

**UseSystemRandom**: Enables or disables the use of the OS PRNG.Use this global property to enable or disable the use of operating system-driven pseudorandom number generation.

**XMLRDNDescriptorName[OID]**: Defines an OID mapping to descriptor names for the certificate's IssuerRDN or SubjectRDN.This property defines custom mappings between Object Identifiers (OIDs) and descriptor names. This mapping specifies how the certificate's issuer and subject information (ds:IssuerRDN and ds:SubjectRDN elements respectively) are represented in XML signatures.

The property accepts comma-separated values where the first descriptor name is used when the OID is mapped, and subsequent values act as aliases for parsing.

Syntax:

```text
Config("XMLRDNDescriptorName[OID]=PrimaryName,Alias1,Alias2");
```

Where:

OID: The Object Identifier from the certificate's IssuerRDN or SubjectRDN that you want to map.

PrimaryName: The main descriptor name used in the XML signature when the OID is encountered.

Alias1, Alias2, ...: Optional alternative names recognized during parsing.

Usage Examples:

Map OID 2.5.4.5 to SERIALNUMBER:

```text
Config("XMLRDNDescriptorName[2.5.4.5]=SERIALNUMBER");
```

Map OID 1.2.840.113549.1.9.1 to E, with aliases EMAIL and EMAILADDRESS:

```text
Config("XMLRDNDescriptorName[1.2.840.113549.1.9.1]=E,EMAIL,EMAILADDRESS");
```

**XMLRDNDescriptorPriority[OID]**: Specifies the priority of descriptor names associated with a specific OID.This property specifies the priority of descriptor names associated with a specific OID that allows to reorder descriptors in the ds:IssuerRDN and ds:SubjectRDN elements during signing.

**XMLRDNDescriptorReverseOrder**: Specifies whether to reverse the order of descriptors in RDN.Specifies whether to reverse the order of descriptors in the ds:IssuerRDN and ds:SubjectRDN elements during XML signing. By default, this property is set to true (as specified in RFC 2253, 2.1).

**XMLRDNDescriptorSeparator**: Specifies the separator used between descriptors in RDN.Specifies the separator used between descriptors in the ds:IssuerRDN and ds:SubjectRDN elements during XML signing. By default, this property is set to ", " value.

# Trappable Errors ([MailReader](#mailreader-component) Component)

### MailReader Errors

|  |  |
| --- | --- |
| 1048577 | Invalid parameter ([SB_ERROR_INVALID_PARAMETER](constants.md#const_SBERRORINVALIDPARAMETER)) |
| 1048578 | Invalid configuration ([SB_ERROR_INVALID_SETUP](constants.md#const_SBERRORINVALIDSETUP)) |
| 1048579 | Invalid state ([SB_ERROR_INVALID_STATE](constants.md#const_SBERRORINVALIDSTATE)) |
| 1048580 | Invalid value ([SB_ERROR_INVALID_VALUE](constants.md#const_SBERRORINVALIDVALUE)) |
| 1048581 | Private key not found ([SB_ERROR_NO_PRIVATE_KEY](constants.md#const_SBERRORNOPRIVATEKEY)) |
| 1048582 | Cancelled by the user ([SB_ERROR_CANCELLED_BY_USER](constants.md#const_SBERRORCANCELLEDBYUSER)) |
| 1048583 | The file was not found ([SB_ERROR_NO_SUCH_FILE](constants.md#const_SBERRORNOSUCHFILE)) |
| 1048584 | Unsupported feature or operation ([SB_ERROR_UNSUPPORTED_FEATURE](constants.md#const_SBERRORUNSUPPORTEDFEATURE)) |
| 1048585 | General error ([SB_ERROR_GENERAL_ERROR](constants.md#const_SBERRORGENERALERROR)) |
| 22020097 | Failed to assemble the mail message ([SB_ERROR_MAIL_ASSEMBLY_FAILED](constants.md#const_SBERRORMAILASSEMBLYFAILED)) |
| 22020098 | Failed to assemble the mail message ([SB_ERROR_MAIL_PARSING_FAILED](constants.md#const_SBERRORMAILPARSINGFAILED)) |
| 22020099 | No decryption certificate found ([SB_ERROR_MAIL_NO_DECRYPTION_CERTIFICATE](constants.md#const_SBERRORMAILNODECRYPTIONCERTIFICATE)) |
