Introduction

Welcome to SecureBlackbox, a powerful suite of components for implementing secure data storage, transfer, protection, and much more! This collection of carefully crafted components and libraries implement security standards and network communication protocols for every popular development platform. From AdES to OpenPGP, and from TLS to SFTP, you can rely on SecureBlackbox for all your application's security needs.

Included Classes

ArchiveReaderThe ArchiveReader component supports inspection and extraction of files from zip, tar, gzip and bzip2 archives.
ArchiveWriterThe ArchiveWriter component allows compressing, updating and modifying files for zip, tar, gzip and bzip2 archives.
ASiCSignerThe ASiCSigner component creates signature containers.
ASiCVerifierThe ASiCVerifier component verifies signature containers.
AuthenticatorThe Authenticator component specializes in user authentication.
AuthenticodeSignerThe AuthenticodeSigner component signs executable files (EXE) and dynamically linked libraries (DLL).
AuthenticodeVerifierThe AuthenticodeVerifier component verifies digital signatures over executable files (EXE) and dynamically linked libraries (DLL).
CAdESSignerThe CAdESSigner component creates CAdES- and CMS-compliant electronic signatures.
CAdESVerifierThe CAdESVerifier component is used to validate CAdES signatures.
CertificateManagerThe CertificateManager component supports importing, exporting, and generating X.509 certificates.
CertificateStorageThe CertificateStorage component works with collections of certificates.
CertificateValidatorThe CertificateValidator component provides fine-grained validation of X.509 certificates.
CRLManagerThe CRLManager component supports the importing, exporting, and validation of Certificate Revocation Lists (CRLs).
CryptoKeyManagerThe CryptoKeyManager component provides a simple way to load, generate and manage generic crypto keys.
CryptoKeyStorageThe CryptoKeyStorage component offers key storage functionality for a variety of key store types.
DCAuthThe DCAuth component represents the private key side of the SecureBlackbox distributed cryptography protocol.
DCAuthWebServerThe DCAuthWebServer Component offers higher-level access to 'private key side' functionality of SecureBlackbox DC protocol.
DTLSClientThe DTLSClient component provides client-side functionality of the DTLS protocol.
DTLSServerThe DTLSServer component provides server-side functionality of the DTLS protocol.
FTPClientThe FTPClient component provides client-side functionality for FTP and FTPS protocols.
FTPServerThe FTPServer component provides server-side functionality for FTP and FTPS protocols.
HashFunctionThe HashFunction component implements a wide variety of algorithms for message hashing.
HTTPClientThe HTTPClient component implements client-side functionality of HTTP and HTTPS protocols.
HTTPServerThe HTTPServer component offers server-side functionality for the HTTP/HTTPS protocols.
IMAPClientThe IMAPClient component provides client-side functionality for IMAP4 (Internet Message Access Protocol).
JAdESSignerThe JAdESSigner component signs Javascript content electronically.
JAdESVerifierThe JAdESVerifier component verifies signatures over JSON objects.
KMIPClientThe KMIPClient component provides client-side functionality for KMIP.
KMIPServerThe KMIPServer component provides server-side functionality for Key Management Interoperability Protocol (KMIP).
MailReaderThe MailReader component implements parsing and decryption of e-mail messages.
MailWriterThe MailWriter component composes, encrypts, and signs e-mail messages.
MessageCompressorThe MessageCompressor component compresses data and stores it in the PKCS#7 format.
MessageDecompressorThe MessageDecompressor component decompresses data that is stored in the PKCS#7 CompressedData format.
MessageDecryptorThe MessageDecryptor component decrypts data that is stored in the PKCS#7 format.
MessageEncryptorThe MessageEncryptor component encrypts data and stores it in the PKCS#7 format.
MessageSignerThe MessageSigner component digitally signs data and stores it in the PKCS#7 format.
MessageTimestamperThe MessageTimestamper component timestamps data and stores it in the PKCS#7 format.
MessageTimestampVerifierThe MessageTimestampVerifier component verifies message timestamps.
MessageVerifierThe MessageVerifier component verifies digital signatures of data stored in the PKCS#7 format.
OAuthClientThe OAuthClient component implements interaction between the client, the resource owner (end-user), and the authorization server via OAuth 2.0 protocol.
OCSPManagerThe OCSPManager component enables the import, export, and management of OCSP responses.
OCSPServerThe OCSPServer component provides the functionality of an HTTP-based OCSP server.
OfficeDecryptorThe OfficeDecryptor component decrypts Office documents.
OfficeEncryptorThe OfficeEncryptor component encrypts Office documents.
OfficeQuickSignerThe OfficeQuickSigner component signs Office documents in a quick-and-easy manner.
OfficeSignerThe OfficeSigner component signs Office documents.
OfficeVerifierThe OfficeVerifier component is capable of verifying signatures stored in Office documents.
OTPClientThe OTPClient component generates one-time passwords.
OTPServerThe OTPServer component checks the validity of one-time passwords.
PasswordVaultThe PasswordVault component implements a vault for keeping passwords and other sensitive properties.
PDFDecryptorThe PDFDecryptor component decrypts PDF documents.
PDFEncryptorThe PDFEncryptor component encrypts PDF documents.
PDFSignerThe PDFSigner component signs PDF documents digitally.
PDFVerifierThe PDFVerifier component verifies signatures over PDF documents.
PGPKeyManagerThe PGPKeyManager component manages PGP keys.
PGPKeyringThe PGPKeyring component accesses and manages PGP keyring files.
PGPReaderThe PGPReader component reads and unprotects protected PGP files.
PGPWriterThe PGPWriter component protects data using PGP keys and certificates.
POP3ClientThe POP3Client component provides client-side functionality of the POP3 protocol for collecting E-mail messages from the server.
PublicKeyCryptoThe PublicKeyCrypto component supports encrypting, decrypting, signing and verifying messages.
RESTClientThe RESTClient component implements client-side functionality for the REST protocol.
RESTServerThe RESTServer component supports server-side functionality of the REST protocol.
RndThe Rnd component class is a basic provider of random number generation functionality.
SAMLIdPServerThe SAMLIdPServer component represents a SAML identity provider.
SAMLReaderThe SAMLReader component offers SAML message processing functionality.
SAMLSPServerThe SAMLSPServer component represents a SAML service provider.
SAMLWriterThe SAMLWriter component offers SAML message generation functions.
SFTPClientThe SFTPClient component provides client-side functionality for SFTP (Secure File Transfer Protocol).
SFTPServerThe SFTPServer component provides server-side functionality for SFTP connections.
SMTPClientThe SMTPClient component provides client-side functionality for SMTP (Simple Mail Transfer Protocol).
SOAPClientThe SOAPClient component sends SOAP messages.
SOAPQuickSignerThe SOAPQuickSigner component signs SOAP messages.
SOAPSignerThe SOAPSigner component signs SOAP messages.
SOAPVerifierThe SOAPVerifier component verifies signed SOAP messages.
SSHClientThe SSHClient component provides client-side SSH protocol functionality.
SSHKeyManagerThe SSHKeyManager component stores information about SSH keys.
SymmetricCryptoThe SymmetricCrypto component supports encrypting and decrypting messages.
TLSClientThe TLSClient component provides client-side functionality of the TLS protocol.
TLSServerThe TLSServer component implements server-side functionality of the TLS protocol. In the TLS-disabled mode it works as a plain TCP server.
TSPServerThe TSPServer component supports server-side functionality of the timestamping protocol.
UserManagerThe UserManager component stores information about user accounts.
UtilsThe Utils component offers a selection of popular helper methods that may be of use in a variety of scenarios.
WebDAVClientThe WebDAVClient component provides client-side functionality of the WebDAV protocol.
WebDAVServerThe WebDAVServer component offers server-side functionality for the WebDAV protocol.
WebSocketClientThe WebSocketClient component provides the client-side functionality of the WebSocket protocol.
WebSocketServerThe WebSocketServer component provides the server-side functionality of the WebSocket protocol.
XAdESSignerThe XAdESSigner component creates XAdES-compliant signature files.
XAdESVerifierThe XAdESVerifier component verifies XAdES-compliant signatures.
XMLDecryptorThe XMLDecryptor component decrypts XML documents.
XMLEncryptorThe XMLEncryptor component encrypts XML documents.
XMLSignerThe XMLSigner component provides a simple interface for digitally signing XML data according to the XML-Signature Syntax and Processing specification.
XMLVerifierThe XMLVerifier component verifies signed XML files.

Additional Information

You will always find the latest information about SecureBlackbox at our web site: www.nsoftware.com. We offer free, fully-functional 30-day trials for all of our products, and our technical support staff are happy to answer any questions you may have during your evaluation.

Please direct all technical questions to support@nsoftware.com. To help support technicians assist you as quickly as possible, please provide an detailed and accurate description of your problem, the results you expected, and the results that you received while using our product. For questions about licensing and pricing, and all other general inquiries, please contact sales@nsoftware.com.

Thank You!

Thank you for choosing SecureBlackbox for your development needs. We realize that you have a choice among development tools, and that by choosing us you are counting on us to be a key component in your business. We work around the clock to provide you with ongoing enhancements, support, and innovative products; and we will always do our best to exceed your expectations!

Frequently Asked Questions

Use this chapter to find answers to questions that are often asked in our support channels. Many questions are quite typical and may have already been covered in this section. If your question is one of them, looking up the answer here may help you much more quickly than waiting for the support team's answer.

This chapter is being constantly updated in sync with our support experience.

Supported Platforms

What platforms do you support, and what edition is right for me?

SecureBlackbox supports a number of operating platforms. As you probably noticed, some platforms are supported by more than one edition. For example, Android is supported by the Java edition, C++ edition, and Delphi edition. Which one to choose?

In most cases, the choice of the platform is substantiated by the development environment that you use or prefer to use. In the above example with Android, if you use Java for your Android development, the Java edition would be the right one to choose. If you use FireMonkey with Delphi, the Delphi edition would be a more appropriate choice.

For your convenience, we are presenting the answer from two viewpoints: from the viewpoint of someone with a specific target platform, needing to make a decision about the product edition to use, and from the viewpoint of someone interested in knowing a set of platforms supported by a particular SecureBlackbox edition.

My target platform is...

Windows

Most development environments and SDKs are available for Windows, so virtually any SecureBlackbox edition can be used to develop for this popular platform. The only exception is the macOS edition, which targets the macOS or iOS platforms.

Linux

For Linux you can also develop with a variety of editions:

  • with the .NET edition using Visual Studio Code and .NET Core
  • with the Java edition, running your applications on the Linux JVM
  • with the Delphi edition using the Embarcadero Linux compiler, FreePascal/Lazarus, or CodeTyphon
  • with the C++ edition using g++
  • with PHP or Python editions using their respective interpreters.

Mac OS X

The following editions support development for Mac OS X:

  • .NET edition using Visual Studio Code and .NET Core
  • C++ edition using Objective C or Swift
  • Delphi edition using Embarcadero compilers for Mac OS or FreePascal
  • Java edition
  • Python and PHP editions

Android

Android is supported by the Java edition (pure Java for Android JVM), C++ edition, and Delphi edition using the Embarcadero Android compiler.

iOS

iOS is supported by the macOS edition (Swift) and Delphi edition (Embarcadero iOS compiler).

I develop with ... edition, what platforms can I create apps for?

.NET edition

With the .NET edition you can create applications for Windows (.NET Framework, .NET Standard), Linux (.NET Standard), Mac OS X (.NET Standard), and Windows Mobile (.NET CF). You can use any compatible CLR language, including C# and VB.NET.

Java edition

The Java edition supports all platforms that have an associated full JVM. This includes Windows, Linux, and Mac OS X. It can also be used to develop Java apps for Android with Android Studio.

Delphi edition

The Delphi edition supports all Embarcadero compilers, allowing you to create applications based on classic VCL and FireMonkey, as well as FreePascal. This means that you can use it to develop for Windows, Linux, Mac OS X, Android, and iOS. The source code can also be built for ARM (Raspbian) using FreePascal.

The Delphi Edition - Backwards Compatibility Pack variant can also be used in C++ Builder projects.

C++ edition

The C++ edition can be used to develop for Windows, Linux, Mac OS X, and Android (natively).

macOS edition

The macOS edition offers support for Objective C and Swift.

C++ Builder edition

The C++ Builder edition (not to be confused with the C++ edition) supports Windows using Embarcadero C++ Builder compilers.

PHP and Python editions

The PHP and Python editions can be used with the respective interpreters on Windows, Linux, and Mac OS X.

Supported Algorithms

This page answers the most commom questions about the scope of algorithms and technologies supported by SecureBlackbox, all in one place.

Please note that higher-level technologies often use their own variations of algorithms, which may see a particular algorithm not being supported with that particular technology. For example, TLS does not define ciphersuites to be used with TWOFISH, so while this algorithm is supported by SecureBlackbox in general, it won't be available in the TLS components.

Symmetric cryptography

Here is a comprehensive list of symmetric algorithms supported by SecureBlackbox.

  • AES (Rijndael): 128, 192, and 256 bit
  • Blowfish: 128 to 448 bit
  • Camellia: 128, 192, and 256 bit
  • CAST5: 128 bit
  • ChaCha20: 256 bit
  • DES: 56 bit
  • 3DES-EDE: 168 bit
  • IDEA: 128 bit
  • RC2: 128 bit
  • RC4: 64-128 bit (stream cipher)
  • Serpent: 128, 192, and 256 bit
  • Twofish: 128, 192, and 256 bit

The following symmetric cipher modes are supported: ECB, CBC, CTR, CFB8, GCM, CCM (AEAD).

Public key cryptography

The following public key (asymmetric) cryptographic algorithms are supported:

  • RSA (PKCS#1, OAEP, and PSS variants)
  • ECDSA (see the list of supported curves below)
  • EdDSA (curve 448, curve 25519)
  • ElGamal
  • DSA
  • Diffie-Hellman

Supported Elliptic Curves:

  • SEC2 recommended curves over a prime field (SECP112R1, SECP112R2, SECP128R1, SECP128R2, SECP160K1, SECP160R1, SECP160R2, SECP192K1, SECP192R1, SECP224K1, SECP224R1, SECP256K1, SECP256R1, SECP384R1, SECP521R1)
  • SEC2 recommended curves over an extended binary field (SECT113R1, SECT113R2, SECT131R1, SECT131R2, SECT163K1, SECT163R1, SECT163R2, SECT193R1, SECT193R2, SECT233K1, SECT233R1, SECT239K1, SECT283K1, SECT283R1, SECT409K1, SECT409R1, SECT571K1, SECT571R1)
  • X9.62 recommended curves over a prime field (PRIME192V1, PRIME192V2, PRIME192V3, PRIME239V1, PRIME239V2, PRIME239V3, PRIME256V1)
  • X9.62 recommended curves over an extended binary field (C2PNB163V1, C2PNB163V2, C2PNB163V3, C2PNB176W1, C2TNB191V1, C2TNB191V2, C2TNB191V3, C2ONB191V4, C2ONB191V5, C2PNB208W1, C2TNB239V1, C2TNB239V2, C2TNB239V3, C2ONB239V4, C2ONB239V5, C2PNB272W1, C2PNB304W1, C2TNB359V1, C2PNB368W1, C2TNB431R1)
  • NIST recommended curves over a prime field (P192, P224, P256, P384, P521)
  • NIST recommended curves over an extended binary field (B163, B233, B283, B409, B571)
  • NIST recommended Koblitz curves (K163, K233, K283, K409, K571)
  • Brainpool curves (P160R1, P160T1, P192R1, P192T1, P224R1, P224T1, P256R1, P256T1, P320R1, P320T1, P384R1, P384T1, P512R1, P512T1)
  • Edwards curves (curve 25519, curve 448)

Hash algorithms

The following hash algorithms are supported.

  • SHA256
  • SHA384
  • SHA512
  • SHA224
  • SHA3-256
  • SHA3-384
  • SHA3-512
  • SHA3-224
  • RIPEMD160
  • Whirlpool
  • Poly1305
  • Argon2
  • Blake2
  • SHAKE
  • SHA1
  • MD5
  • MD4
  • MD2
  • CRC32 (*)
  • HMAC (SHA1, SHA2, SHA3, RIPEMD160-based)
  • UMAC

(*) CRC is not exactly a hash algorithm, but we include it in this category for being close enough to it.

TLS ciphersuites

Below follows a comprehensive list of ciphersuites supported by SecureBlackbox. Note that not all of the ciphersuites are enabled by default, and, when enabled, some have higher priorities than others.

  • 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

SSH algorithms

The following SSH algorithms are supported. All ciphers are given in the notation used in the SSH specification.

  • Symmetric key algorithms: aes128-gcm, aes256-gcm, aes128-gcm@openssh.com, aes256-gcm@openssh.com, chacha20-poly1305, chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, 3des-ctr, blowfish-ctr, twofish128-ctr, twofish192-ctr, twofish256-ctr, serpent128-ctr, serpent192-ctr, serpent256-ctr, idea-ctr, cast128-ctr, arcfour128, arcfour256, 3des-cbc, blowfish-cbc, twofish256-cbc, twofish192-cbc, twofish128-cbc, aes256-cbc, aes192-cbc, aes128-cbc, serpent256-cbc, serpent192-cbc, serpent128-cbc, arcfour, idea-cbc, cast128-cbc, des-cbc, none
  • Public key algorithms: ssh-dss, ssh-rsa, x509v3-sign-rsa, x509v3-sign-dss, ssh-ed25519, ssh-ed448 ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ecdsa-sha2-nistk163, ecdsa-sha2-nistp192, ecdsa-sha2-nistp224, ecdsa-sha2-nistk233, ecdsa-sha2-nistb233, ecdsa-sha2-nistk283, ecdsa-sha2-nistk409, ecdsa-sha2-nistb409, ecdsa-sha2-nistt571, ecdsa-sha2-curve25519, x509v3-ssh-rsa, x509v3-ssh-dss, x509v3-rsa2048-sha256, x509v3-ecdsa-sha2-nistp256, x509v3-ecdsa-sha2-nistp384, x509v3-ecdsa-sha2-nistp521, x509v3-ecdsa-sha2-nistk163, x509v3-ecdsa-sha2-nistp192, x509v3-ecdsa-sha2-nistp224, x509v3-ecdsa-sha2-nistk233, x509v3-ecdsa-sha2-nistb233, x509v3-ecdsa-sha2-nistk283, x509v3-ecdsa-sha2-nistk409, x509v3-ecdsa-sha2-nistb409, x509v3-ecdsa-sha2-nistt571, x509v3-ecdsa-sha2-curve25519, ssh-ed25519, ssh-ed448, rsa-sha2-256, rsa-sha2-512
  • Key exchange algorithms: diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256, rsa1024-sha1, rsa2048-sha256, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, ecdh-sha2-nistk163, ecdh-sha2-nistp192, ecdh-sha2-nistp224, ecdh-sha2-nistk233, ecdh-sha2-nistb233, ecdh-sha2-nistk283, ecdh-sha2-nistk409, ecdh-sha2-nistb409, ecdh-sha2-nistt571, ecdh-sha2-curve25519, curve25519-sha256@libssh.org, curve448-sha512@libssh.org gss-gex-sha1-*, gss-group1-sha1-*, gss-group14-sha1-*, diffie-hellman-group14-sha256, diffie-hellman-group15-sha512, diffie-hellman-group16-sha512, diffie-hellman-group17-sha512, diffie-hellman-group18-sha512
  • Hash (MAC) algorithms: hmac-sha1, hmac-sha1-96, hmac-md5, hmac-md5-96, hmac-ripemd160, hmac-ripemd, hmac-ripemd160@openssh.com, hmac-sha256@ssh.com, hmac-sha256-96@ssh.com, umac-32@openssh.com, umac-64@openssh.com, umac-96@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, aes128-gcm, aes256-gcm, chacha20-poly1305@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, none

Common Errors

This page covers the most popular errors stepped on by our customers and relevant approaches to their resolution.

TLS certificate validation failed: error 75788; the connection will be terminated

This error can be returned by any component involved in TLS activity - either directly (like HTTPClient) or indirectly (like PDFSigner, which may use TLS when connecting to a timestamping service). It indicates that the TLS certificate presented by the server didn't pass the chain validation procedure.

One of the most common reasons for the TLS certificate to fail validation is that its chain doesn't lead to a trust anchor - a root or CA certificate explicitly trusted in the system. This may happen for a variety of reasons, with the most popular being an outdated or missing list of trusted certificates in the system. For example, ageing Windows XP or Windows Mobile systems are unlikely to have trust anchors capable of validating modern web site certificates.

This is also the default case on Linux which, unlike Windows or Mac OS, does not have a concept of system-wide trusted certificates. This means that on Linux you must supply the list of trusted certificates to the component manually to make TLS connections work.

Finally, your company's internal test or file servers are unlikely to have their certificates trusted in the system. You might want to "pin" them to your component to connect to them smoothly.

See the Validating TLS Certificates article for more details about validating certificates in TLS components.

'Invalid Certificate Data', 'Invalid size', or 'Invalid file format (possibly not a PEM?)' exceptions when loading a certificate in a Delphi application

Sometimes, when running your application from the Delphi IDE, you may observe one or more of those exceptions. In most cases they do not indicate that anything is going wrong and do not affect the flow of your application. Your certificate is most likely well-formed and good for use.

These exceptions are thrown, and caught, by SBB itself, internally, to facilitate and control certificate processing. You can only notice them when running your application under a Delphi debugger, but not when running it standalone outside of it.

The next time one of these exceptions stops the execution of your program, tick the 'Ignore this exception type' checkbox on the exception dialog before clicking 'Continue'. This will tell the debugger to never stop on it again. Note that as certificate processing may throw several different exceptions, you might need to repeat this procedure for every such exception: EElCertificateError, EElASN1ReadError, etc. There are only a few of them (4 or 5) but once you've done this procedure for all or them you will no longer see them.

A SecureBlackbox-powered Delphi application crashes on startup. A 0xC000007B or 0x0EEDFADE error is sometimes returned.

This error affects the standard variant of the Delphi edition (not the Backwards Compatibility Pack), and is a symptom of DEP kicking in. It may happen on some target systems but not on others.

More systems are gradually enforcing DEP these days, which, unfortunately, may clash with the way SecureBlackbox packages its functionality by default.

One guaranteed way to avoid this problem is to switch to the external DLL deployment mode when distributing your SecureBlackbox-driven application. You can do that by defining a USESECUREBLACKBOXDLL conditional globally when compiling your project, and including secureblackbox22.dll in your deployment package.

Delphi Edition Variants

SecureBlackbox offers a number of installation options when it comes to its Delphi Edition. This article intends to provide a quick summary of the differences between them and help you decide which one to choose for your project.

The Delphi edition is shipped in three packaging variants:

  • SecureBlackbox 2022 Delphi Edition (the default variant)
  • SecureBlackbox 2022 Delphi Edition - Backwards Compatibility Pack
  • SecureBlackbox 2022 Delphi Edition - Source Code
The first two variants are available with any SecureBlackbox 2022 Delphi Edition or Red Carpet license. The source code package is licensed separately.

SecureBlackbox 2022 Delphi Edition (the default variant)

This package follows the traditional way of packaging Delphi components by /n software. It includes a selection of v2020-style classes (the new API), such as TsbxPDFSigner, TsbxSFTPClient, and TsbxHTTPServer. The components are implemented as wrappers around an external DLL library, which makes them easy to install and deploy. It also supports all versions of Delphi, starting from Delphi 6 (excluding Delphi 8), and will likely continue to support future Delphi versions.

This variant also supports the option of incorporating the SecureBlackbox DLL into Win32 executables as a resource (DRU) file, thus removing the need for the DLL dependency. Declare the NO_USESECUREBLACKBOXDLL conditional in your project to enable this mode. This option, however, comes with an added risk of provoking the DEP in Windows 10, so please take extra care when using it.

The installation package is ready to use with any Delphi version.

This package supports the following targets: Windows (32 and 64 bit), Linux (64 bit only), macOS (64 bit only), Android ARM (32 and 64 bit), and iOS.

SecureBlackbox 2022 Delphi Edition - Backwards Compatibility Pack

This package delivers SecureBlackbox functionality in the way similar to the one used in earlier versions (16, 15, etc.), hence the name. The installation includes a selection of v2020-style classes (the new API), as well as v16-style components inherited from earlier versions (TElPDFDocument, TElSimpleSFTPClient, TElX509Certificate). Both sets of components are shipped in the form of precompiled .dcu files. Architecturally, the v16-style components work as a backbone for the v2020-style classes, so both sets of components provide the same level of support for security protocols and standards.

Besides the .dcu files, each BCP distribution includes .hpp and .obj files that can be used with the matching version of C++ Builder. For example, SecureBlackbox 2022 Delphi Edition - Backwards Compatibility Pack Delphi 10.2 Tokyo includes .obj and .hpp files that can be used with C++ Builder 10.2 Tokyo.

Due to the large cumulative size of the .dcu files and the need to supply an individual set of .dcu files for every Delphi version and platform, we split the BCP distribution into a number of separate downloads, one per Delphi version. Please pick the download that matches the version of Delphi you work with. The individual distribution includes a set of .dcu files for every target platform supported by that version of Delphi (unless it's old and not in use anymore, like 32 bit macOS). For example, the setup package for Delphi 10.4 Sydney includes .dcu files that target Windows (32 and 64 bit), Linux (64 bit), macOS (64 bit), iPhone (64 bit), and Android ARM (32 and 64 bit).

The SecureBlackbox Backwards Compatibility Pack does not register paths to the units in the IDE. You can add them manually by going to Project -> Options -> Delphi Compiler and adding the following directory to your search path: C:\Users\<User>\Documents\SecureBlackbox 2022 Delphi Edition - Backwards Compatibility Pack\code\<Delphi Version>\<OS>.

This package supports the following versions of Delphi: 7, 2007, XE (1-8), 10.0-10.4, 11, 12. Support for future Delphi versions will be added upon their release. There is also a separate setup file for FreePascal (3.2.0), with Windows, Linux, and macOS platforms supported.

SecureBlackbox 2022 Delphi Edition - Source Code

The Source Code package contains the Pascal source code that matches the set of .dcu files offered by the Backwards Compatibility Pack package. You need a special kind of license to access this package.

Differences in Licensing

Depending on which variant of the Delphi Edition you are using, you may need to use slightly different methods to provide your license:

SecureBlackbox 2022 Delphi Edition (the default variant)

  • On a system with a development license installed, create an empty Delphi project, put any SecureBlackbox component on the form, and check its RuntimeLicense property. This will give you your Runtime Key. The runtime key is a long alphanumeric string: 53424446..0000. Copy this string to a safe place and discard the project.
  • In your real project, assign your runtime license back to the RuntimeLicense property of every SecureBlackbox component that you use in your code:

    sbxHashFunction.RuntimeLicense := '53424446..0000';

    This will untie your project from your development system and will let it run normally on other computers.

SecureBlackbox 2022 Delphi Edition - Backwards Compatibility Pack

  • On a system with a development license installed, create an empty Delphi project, put any "v2020-style" SecureBlackbox component on the form - TsbxHashFunction will do - and check its RuntimeLicense property. This will give you your Runtime Key. The runtime key is a long alphanumeric string: 53424446..0000. Copy this string to a safe place and discard the project.
  • If you are only using the v2020-style API in your project ("Tsbx***" components), assign your runtime license back to the RuntimeLicense property of every such SecureBlackbox component that you use in your code:

    sbxHashFunction.RuntimeLicense := '53424446..0000';

    This will untie your project from your development system and will let it run normally on other computers.

  • If you are using the v16-style API in your project ("TEl***" components), add the sbxcore unit to the uses clause of your main form/project, and assign your runtime license to the RuntimeLicense property of every SecureBlackbox component that you use in your code, both v16-style and v2020-style:

    sbxHashFunction.RuntimeLicense := '53424446..0000';

    ElHashFunction.RuntimeLicense := '53424446..0000';

    Note: while it is mandatory to assign the runtime license to all v2020-style components you are using in your project, it is enough to only assign the runtime license to the one v16-style component that is being used the earliest into your program's run (the rest of the v16-style components should pick it up from there). This makes it possible to provide your license using a dummy v16-style component at the very start of your application's process:

    with TElX509Certificate.Create(nil) do try RuntimeLicense := '53424446..0000'; finally Free; end; However, if unsure, your best choice is assigning it to each and every SecureBlackbox component used in your project. Please also keep in mind that while it is enough to pass your runtime license to just one v16-style component, you still need to provide it to each and every v2020-style component you are using.

SecureBlackbox 2022 Delphi Edition - Source Code

No license needs to be provided if you are using SecureBlackbox in the source code form.

Side-by-side Installation and Conflicts

We do not recommend installing several variants of SecureBlackbox 2022 Delphi Edition side by side. This is because all the variants contain identically named components, which, unless the IDE is configured carefully, may lead to various cross-variant conflicts. Please take extra care when switching variants on the same system to avoid any leftovers from the old variant affecting the workability of the new variant. Please make sure that you uninstall any existing SecureBlackbox 2022 Delphi Edition variants before proceeding to the installation of the new variant.

Supported CAs

With decades of evolution behind them, X.500-based public key infrastructures - which run behind the scenes of pretty much every digital certificate that you use in your online life, be it your personal email certificate, a qualified certificate that you use to submit your company's tax returns, or a TLS certificate that enables your web server with the HTTPS capability - have become pretty uniform and comprehensively standardized.

What this means for you is that in most cases you can use SecureBlackbox components with certificates that originate from all sorts of Certification Authorities (CAs) across the world, both commercial and maintained by PKI enthusiasts. From certificate chains issued by global trust providers, such as Verisign or GlobalSign, to startup-spirited Let's Encrypt, to in-house and in-lab CAs powered by Microsoft Certificate Services or OpenSSL - SecureBlackbox can work with any of them.

Yet, newer digital signature standards built on top of X.500, such as PAdES or XAdES, often come with their own bespoke flavours. This is particularly true for national certificate infrastructures. While ETSI has made every effort to create a uniform framework for digital signatures, little (or big) differences in legislation across different countries lead to differences in their own subvariants of digital signature frameworks. While countries A and B may both employ the same PAdES (or XAdES) format for their tax documents, the actual documents used in country A may be quite different from their counterparts from country B. The differences may be quite dim (such as the order of attributes in the signature blob) or more substantial (such as the need to use a certain cryptographic algorithm or property).

Here at SecureBlackbox we aim to support and embrace that diversity. The last thing that we want is to make our customers find themselves alone in a struggle with a complicated technology, which, worse, is quite often poorly documented. We understand that, de facto, the global Internet is home for a plethora of slightly different PKI and signature ecosystems, many of which deviate from or violate the standard they are supposed to comply with. We find it normal, given the young age of the technology and the somewhat chaotic process of its development. We aim to work with it, not fight it - at least not at our customers' expense.

SecureBlackbox supports the absolute majority of modern global and national CAs and digital signature variants. This includes, but in no way is limited, to:

  • Verisign
  • Thawte
  • DigiCert
  • GlobalSign
  • ADACOM
  • Certum
  • e-Guven
  • Entrust
  • Equifax
  • Fina (HR)
  • GeoTrust
  • GoDaddy
  • Microsoft
  • Adobe
  • PostSignum
  • QuoVadis
  • Starfield
  • Symantec
  • Tübitak
  • USERTrust
This list is not exhaustive. If the CA/PKI you intend to use is not listed above, it is very likely that SecureBlackbox supports it too.

Supported HSMs

SecureBlackbox supports most modern hardware security modules and online key vaults that are capable of talking via PKCS#11. These include global and national cryptocard vendors. The below list includes vendors that we support. The list is in no way exhaustive, so even if the vendor of your device is not present in the list, it is very likely that we support it too.

  • Athena
  • ACS
  • AKIS
  • Bit4id
  • CloudHSM
  • eToken
  • Feitian
  • Gemalto
  • HID
  • iKey
  • NSS (Mozilla)
  • Osobna Iskaznica (HR)
  • RSA/ePass
  • SafeNet
  • Tübitak
  • YubiKey

Tips and Tricks

The guidance in this chapter provides useful information on the common aspects of SecureBlackbox component usage.

Validating TLS certificates

Certificate validation in TLS-able components

All TLS-capable components in version 2022 are configured to automatically validate server certificate chains against the local trust settings. This setup is different to that in versions 16 and ealier, where the users were ultimately responsible for implementing and integrating the entire validation part.

The main reason behind that change was the observation that many SecureBlackbox users implemented the validation piece improperly, or were not performing the validation altogether. The outcomes of incorrectly implemented validation routines were a false sense of security and strong potential for the compromise of the entire secure communication channel.

This default setup comes with two major implications:

First, any TLS endpoint you are connecting to has to be trusted in the local system for the connection to be successful. This means that the TLS certificate of the server endpoint has to chain up to a trusted root anchor. If the component fails to build that chain - for example due to the root certificate not being found or not being trusted - the following error will be returned:

TLS certificate validation failed: error 75788; the connection will be terminated

Please see the Troubleshooting section below to learn how to deal with TLS chain validation issues.

Second, the chain validation outcomes may differ when run on different systems - even if you are connecting to the same endpoint. Older or isolated systems may not have up-to-date information on trusted certificates, which will ultimately lead to chain validation failures.

One important remark that has to be made in this context concerns Linux. While Windows and Mac both have concepts of system-wide trust settings - for example, Windows does that through the extensive mechanism of system certificate stores - Linux doesn't operate system-wide trust lists. Instead, every application that wants to validate TLS chains on Linux has to deploy its own set of trust anchors, and use it for building and validating third-party certificate chains.

SecureBlackbox partially addresses that matter by downloading missing root certificates on-demand from Windows Update. While this approach does its job in enabling connectivity with most public web sites across most connected plaforms, it may be unsuitable in certain scenarios. Please see the Tuning Up Chain Validation section below to learn about fine-tuning the validation routine in the client-side TLS endpoints.

Troubleshooting

Read along if you are concerned about chain validation issues due to the above or similar errors.

The first step when you come across a chain validation problem is about establishing the root cause. Chain validation is a complex, multi-step routine that involves validation of up to a dozen digital signatures and retrieval of up-to-date certificate status information from numerous CRL and OCSP responders. While certain failures in that chain of checks may be tolerated, others may be fatal for the validation routine.

The most popular reason for the chain validation to fail, especially in development/debug environments, is the use of locally untrusted certificates. Any certificates that you generate for yourself, by using SecureBlackbox or third-party tools, are likely to be untrusted as they do not chain up to a trust anchor. Any attempt to use the component to connect to TLS services that use such certificates will lead to the certificate validation error (which really is a manifestation of the component guarding your security, effectively rejecting connections to an untrusted endpoint), and you need to take steps to make such connections possible.

A good place to start with the investigation is the chain validation log. This is a very detailed step-by-step record of actions the component took to establish the validity of the server's certificate, with their respective outcomes. In any version 2022 component the log can be accessed via the <component>.ConnectionInfo.ValidationLog property. The log is available for both successful and unsuccessful connection attempts, and can be checked as soon as the OnTLSCertValidate event fires. If using a version 16-style component, subscribe to its OnCertValidatorFinished event and read the log from the CertValidator.InternalLogger.Log.Text property.

The log should give you the idea of the root cause for the validation error. Search for the first entry that reports the validity as INVALID. The accompanying comment will provide the details. Note that there might be more than one reason for the same validation to fail, and you must deal with all of them.

Good to know. If you come across the SELF-SIGNED validity for any of the chain elements, this is a good indicator that the validation has failed due to the corresponding root certificate being untrusted in the system. You might be able to fix the validation by registering the certificate as trusted - see the Tuning Up Chain Validation section below.

Among the most typical reasons for chain validation failures are:

  • Untrusted root certificates - mostly observable in test/development environments
  • Missing root certificates (often happens on older/isolated systems)
  • Unavailability of revocation sources due to e.g. network restrictions
  • Certificate not suitable for use with the network endpoint (endpoint address or certificate key usage mismatch)
Looking through the validation log should give you an idea what kind of issue you are dealing with.

Good to know. You can temporarily disable certificate chain validation for debug purposes. This is a good option if your development/testing environment relies on untrusted certificates, and that fact slows down or inconveniences your development activities. You can disable the validation by setting <Component>.TLSSettings.AutoValidateCertificates to false (<Component>.AutoValidateCertificates in v16-style components), subscribing to the OnTLSCertValidate event, and returning Accept=true from the event handler.

Note that you should only disable the validation for testing and development purposes. Doing so in a production application undermines its security, and may lead to breaches and loss or disclosure of sensitive data.

Tuning Up Chain Validation

SecureBlackbox's certificate chain validation module is highly-customisable and can suit any imaginable requirement. Among the configurable validation aspects are:

  • Revocation checking: prioritize one method over the other (OCSP in favour of CRL) or disable revocation checks entirely.
  • Provide your own sets of trusted and known certificates - handy on Linux and other environments with no built-in trust settings.
  • Offline mode: one-switch cutout of any online validation activity.
  • Easy certificate pinning.

Customizing revocation checks

Use the <Component>.TLSSettings.RevocationCheck property to configure revocation checking. The property allows you to choose and prioritize between different combinations of OCSP and CRL mechanisms. Generally OCSP is better suited for TLS connections due to speed, making crcAnyOCSPOrCRL the recommended option.

You can fully disable revocation checks by setting this property to crcNone, in which case only the validity of the chain will be checked, but not the current status of the certificate.

Providing additional certificates

Use the <Component>.TrustedCertificate and KnownCertificates properties to provide the certificates to complement the default lists offered by the system. This may be particularly handy in environments that don't have their own system-wide certificate trust lists. On Linux, for example, you can borrow the root and CA certificates that are included with Firefox or Chrome distributions, and make them available to SecureBlackbox by adding them to these collections.

Certificate pinning

Certificate pinning is effectively telling the TLS component that a particular certificate is explicitly trusted - even though it doesn't chain up to a trust anchor and has no reference in the revocation sources. Certificate pinning is often used in intranet environments which don't rely on global trust lists offered by public CAs.

Pinning a certificate is as simple as adding it to the component's TrustedCertificates collection.

Bespoke validation

In some cases you may need even more fine-grained control over the validation. In this case you may consider switching off the internal mechanism used by SecureBlackbox by default, and implementing the validation routine manually. The CertificateValidator component may come handy in doing that.

The internal routine can be switched off by setting <Component>.TLSSettings.AutoValidateCertificates to false, and subscribing to the OnTLSCertValidate event. Inside the event handler you need to perform the validation in accordance with your bespoke requirements. The server certificate object and any accompanying chain can be accessed via the <Component>.TLSServerChain collection. The server's certificate itself always comes first in this collection, and the rest of the chain follows.

Having completed the bespoke validation routine, adjust the event's Accept parameter in accordance with the validation result.

The CertificateValidator component may be very helpful in implementing the bespoke validation routine. It allows you to tune up the validation process to the minute detail, and provides such features as offline validation, cache control, and timeout setup.

Summary

Certificate validation is a crucial component of the overal security provided by the TLS connection. Please set it up responsibly to make sure your secure channel is really secure - and SecureBlackbox will take care of the rest.

Configuring TSA authentication

Configuring TSA service authentication

Some TSA services require connecting clients to authenticate themselves. They may want to do so to limit anonymous connections, or to provide timestamping services on a paid basis.

TSAs normally use one of the following methods to authenticate requestors:

  • HTTP authentication (basic, digest, or NTLM)
  • TLS certificate-based authentication

To authenticate to services that rely on HTTP authentication, provide your credentials straight in the URI: pdfsigner.TimestampServer = "http://user:password@timestampserver.com";

Use the following three steps to implement authentication with a TLS client certificate:

1. Subscribe to the OnTLSCertValidate event. This event fires on an early stage of every TLS connection established by the component. In most cases the connection to the TSA service would be the only TLS connection established by the component during the signing operation. However, in certain cases the component may need to connect to other services, mainly CRL or OCSP responders, too.

2. In the event handler, check the ServerHost and ServerIP parameters to confirm that the connection is made to the TSA. If the host name doesn't match the TSA's, exit the event handler. Otherwise, check whether the server asked you to authenticate using the TLSClientAuthRequested config property: string authReq = signer.Config("TLSClientAuthRequested");

3. If the authentication has been requested, add your client certificates to the TLSClientChain collection. The component will do the rest.

You can load the certificate using the CertificateManager or CertificateStorage classes, depending on its location. Note that the server may be configured to expect the entire certificate chain and not only the signing certificate - in which case add the whole chain to TLSClientChain, starting from your end-entity certificate.

Signing with external keys

Signing with External Keys

While built-in support for keys managed by CryptoAPI, PKCS#11 drivers, KMIP, and Azure Vault covers the majority of signing scenarios, in some cases signing keys cannot be accessed via those standard mechanisms. Among the exceptions are devices or services that use proprietary signing APIs, or those located in isolated environments and requiring specific access routes.

SecureBlackbox allows you to leverage such keys by utilizing one of its two external signing facilities. Each of the options is tailored for specific signing scenarios. Read on to learn more about each option and find out which one would be appropriate in your circumstances.

The simpler, synchronous option is based on the SignExternal() method, and works as a simple wiretap into the signing routine. This method follows exactly the same procedure as Sign() does, but when it comes to performing the actual signing it fires off the OnExternalSign event and requests the signature from your code, instead of calculating it by itself. It then incorporates the signature into the document and completes the operation.

Since this method works sychronously, it requires the signing service/device to be accessible at the time of signing, and be capable of returning the signature within the same execution context. This method may be an optimal choice if your signing device or service is accessible in real time. Most hardware devices and signing services offering REST/SOAP connectivity satisfy this requirement.

This option is supported by the majority of SecureBlackbox components, including PDF, Office, XAdES and CAdES signers, TLS-capable clients and servers (for certificate-based authentication), MailWriter, and DCAuth.

The more sophisticated, asynchronous option is based on the SignAsyncBegin()/SignAsyncEnd() pair of methods. The asynchronous signing method consists of three isolated steps:

  • On the first, pre-signing stage you set up your signing component (e.g. PDFSigner) as required and call its SignAsyncBegin() method. This method outputs a pre-signed document (think of it as a document with a placeholder for the future signature), and an async request which contains the hash that needs to be signed. At this point you may release the signing component and terminate the pre-signing process.
  • On the second, hash signing stage you use the DCAuth component to process the async request. This may happen on the same system where you performed the pre-signing step, or on a different system. DCAuth extracts the hash from the async request and signs it with the designated key, producing the async response which contains the signature.

    The signing key can be taken from one of the standard locations (a file, PKCS#11 device, or CryptoAPI store), or used externally via the DCAuth.OnExternalSign event.

  • On the final, completion stage, you instantiate your signing component (e.g. PDFSigner) again, and pass the async response produced by DCAuth earlier, together with the pre-signed document that you obtained on the pre-signing stage, to its SignAsyncEnd() method. SignAsyncEnd() extracts the signature from the async response and embeds it into the pre-signed document, thus producing a fully signed document.

The asynchronous method is more appropriate for scenarios which need to run in different execution contexts. Two examples of such scenarios are where there is some user interaction involved (e.g. the user needs to type in a PIN or authenticate to a web site with a browser), or where the signing result is not available immediately (e.g. is submitted asynchronously to a separate web endpoint).

This option is supported by most SecureBlackbox signing components: PDFSigner, XAdESSigner, CAdESSigner, and ASiCSigner.

SAML: Using Okta, OneLogin, and other identity providers

SAML: Using Okta, OneLogin, and other identity providers

SAML Identity Providers come in all shapes and sizes. You might need to tweak your SecureBlackbox SAML SP server to make third-party providers work with it in the best possible way. This help article aims to provide some guidance on configuring third-party IdPs and setting up your SBB-powered SP server to work with them. The setting therefore comprises of two primary players: a third-party IdP service (such as Okta) and your application that uses SecureBlackbox's SAMLSPServer class to consume the external IdP services.

Note that the SAML ecosystem is developing rapidly, and some facts given in this article may have become obsolete by the time you read it. While we are doing our best to keep this information relevant, please allow for a certain degree of error. This data is correct as of January 2022.

In the examples below we assume that your SP server runs at http://myserver.com, with the AssertionConsumerService and other endpoints published at the /sp subpath (e.g. http://myserver.com/sp/AssertionConsumerService). If you would like to use a different setup, please alter the settings accordingly. You might need to alter them at both sides, SP and IdP.

Okta

Okta supports SAML 2.0. The integration process is very straightforward, and is covered in this article: https://help.okta.com/en/prod/Content/Topics/Apps/Apps_App_Integration_Wizard_SAML.htm . You will need an Okta development account to create SAML integrations.

The Okta IdP endpoint can be configured manually without the need for an SP metadata file. Pass the URL of the Assertion Consumer Service that you have set up in your SP endpoint as the "Simple Sign on URL" setting:

If required, please expand the additional settings section by clicking on the Show Advanced Settings link. This lets you set up specific security mechanisms to use. It is a good idea to download the Okta on this stage, as you may need it later for validating signatures.

When asked whether you are a customer or a software vendor, tick the radio button indicating that you are a software vendor looking to integrate your app with Okta.

Having completed the application setup, please download the IdP metadata by clicking on the corresponding link:

You will need to pass this file to the LoadIDPMetadata() method of your SP server to let it know about the Okta IdP settings.

Finally, please register some user accounts with your new SAML integration by navigating to the Assignments tab and clicking the Assign to People button. You need at least one user account registered with the integration (otherwise you will have no users who could sign in to your SP!)

This completes the IdP setup. Please now set up your SP server as below. This is one of the possible setups; Okta is quite flexible and generally will accept a number of integration configurations: server.SPToIDPBinding = csbtRedirect; server.AssertionConsumerServiceBindings = "POST"; server.PreferredIDPToSPBinding = csbtPOST; server.SingleLogoutServiceBindings = "Redirect,POST,Artifact"; server.SignAuthnRequests = true;

We have only indicated the integration settings that matter for Okta. Remember to set other properties (such as AssertionConsumerService or SigningCertificate) as required.

You are now ready to start the SP server and try the connection. When you navigate to a protected resource in your browser (e.g. http://myserver.com/picture.jpg), the SP server should redirect you to the Okta portal that will present you with a login form. After receiving valid credentials from you, the portal will generate an authentication assertion and redirect you back to the SP web site - which should now display the requested resource.

OneLogin

OneLogin has limited support for SAML. Some types of accounts only have access to SAML 1.1-based IdP, which is quite outdated and does not provide many features that a newer SAML 2.0 provides. Yet, you still can use it with SecureBlackbox SP server to build identity integrations. You will need a OneLogin developer account to create SAML integrations.

In your Onelogin dashboard, go to Apps, then Add Apps. Search for "SAML" and select the SAML 1.1 Test Connector (Advanced) from the list. Having added the app, go to the Configuration tab and set up the SP URLs. You can use the same URL for all the ACS endpoints:

You can leave the remaining properties at their default values. Download the IdP metadata XML by clicking the More Actions button at the top of the page and picking SAML Metadata entry from the list. You need to pass this metadata file to the LoadIDPMetadata() method of your SP server object to share the IdP settings with it.

Remember to add at least one user account for your integration to work.

Now, please set your SP server up as below. This is not the only possible setup: you can tune up both the IdP and SP settings to enable encryption or tune up signature settings. server.SPToIDPBinding = csbtRedirect; server.AssertionConsumerServiceBindings = "POST"; server.PreferredIDPToSPBinding = csbtPOST; server.SingleLogoutServiceBindings = "Redirect,POST,Artifact"; server.SignAuthnRequests = true; Remember to make sure the AssertionConsumerSetting of your SP server matches the one that you configured in your OneLogin app.

You can start the SP server now and try requesting a protected resource. If everything has been set up right, you should be redirected to the OneLogin authentication portal that will ask you for credentials. Once you have provided your credentials, the portal will redirect your browser back to the SP server.

Azure AD

Microsoft Azure Active Directory service supports SAML 2.0. One thing that makes it different is that the Azure IdP service does not support XML metadata files as means for provision of SP and IdP endpoint settings. The SAML settings therefore need to be configured manually (read on).

Microsoft provides excellent guidance into registering your application with Azure ID and configuring it:

https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/add-application-portal

https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/add-application-portal-assign-users

https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/add-application-portal-setup-sso

The process, however, is slightly different for non-gallery applications. Specifically, the Enable Single Sign-on feature is not available through the route suggested in the article. Instead, the configuration wizard suggests that you use the Dashboard - Azure Active Directory - App Registrations setting instead. This does the job.

Below we narrowed down a summary of steps that you need to take to register your application with Azure AD.

  • Create a new application in the Azure AD console: go to Enterprise applications; then click New Application, and then Create your own application.
  • Choose Register an application to integrate with Azure AD (App you are developing) from the three options offered.
  • Choose the types of users that can use this application, as required.
  • Add any user accounts that you would like to manage with this IdP.
  • On the Authentication tab of your application, configure the Redirect URI to point to the AssertionConsumerService endpoint of your SP:

    Note that Azure only accepts ACS addresses that begin either with https:// or with http://localhost. While other IdP services do tolerate local IP addresses in the URLs (such as http://127.0.0.1), you must use the domain-based addressing with Azure.

    You can also provide the logout URL. This should be public, i.e. accessible from the Azure AD service.

  • Take a note of your application's SAML endpoints by clicking on the Endpoints button at the top of your application's setting page. Although Azure lists a number of endpoints, only the last two make sense for SAML. They are identical:

  • Also, take a note of the ID that Azure has assigned to your application. You can get it from the Application (client) ID entry in the Essentials tab of your application's settings.

  • This completes the IdP setup. The rest is about configuring the SAML SP server in your application. As we already mentioned, Azure does not provide an XML metadata file, so we will need to set up the parameters in code. Here are the parameters that you need to set up (remember to set up the primary SP properties too, such as URL, AssertionConsumerService, and signing certificate): server.SPToIDPBinding = csbtRedirect; server.AssertionConsumerServiceBindings = "POST"; server.PreferredIDPToSPBinding = csbtPOST; server.SingleLogoutServiceBindings = "Redirect,POST,Artifact"; server.SignAuthnRequests = true; server.Issuer = "31bb...9dc"; // your application ID as shown in the Azure dashboard server.Config("IDPSSO=https://login.microsoftonline.com/3269...8d7/saml2"); // the SAML endpoint as shown in the dashboard
Having applied the above configuration, you should now be able to leverage the Azure AD authentication services. You can check that out by starting the SP application and navigating to a protected resource (e.g. http://localhost:61443/index.html) with your browser. If everything has been set up right, you should be redirected to the Azure AD login page, and, after successful Azure-driven authentication, back to the resource.

SPID

SPID (https://demo.spid.gov.it) is a quite demanding Identity Provider. Regulated by the Italian government, it requires a number of adjustments to be made to the SP server component for it to be accepted. Still, with careful tune-up you can still make it work for you.

Note: you can only let SPID know about your SP server by passing your metadata to it. At this time we have no information whether there exists an alternative (manual) way of doing it. You can only pass the metadata as a URL at your SP - which means the SP must be up and running by the time you are registering it with the SPID IdP.

The overall setup procedure consists of the following steps:

  • (pre-requisite) Grab the IdP metadata XML by clicking the Scarica Metadata IdP button. You will need to pass it to the LoadIDPMetadata() method of your SP server object.
  • (pre-requisite) Generate a signing certificate compatible with SPID. The easiest way to do that is to use the gencert-private.sh script available at https://github.com/italia/spid-compliant-certificates. Note that the certificate must mention the real URL of your Service Provider (the IdP will reject your requests if it does not match).
  • When setting up the server, make sure to load the certificate you have generated using a CertificateManager object and assign it to the signing_certificate and meta_signing_certificate properties.
  • Adjust the server properties in accordance with the snippet below (all the settings are mandatory; adjust values as required): server.SPToIDPBinding = csbtRedirect; server.AssertionConsumerServiceBindings = "POST"; server.PreferredIDPToSPBinding = csbtPOST; server.SingleLogoutServiceBindings = "Redirect,POST,Artifact"; server.SignAuthnRequests = true; server.SignMetadata := true; server.Config("OrganizationName=My Organization"); server.Config("OrganizationDisplayName=My Organization"); server.Config("OrganizationURL=http://myserver.com"); server.Config("OrganizationLang=it"); server.Config("SigDigestMethod=http://www.w3.org/2001/04/xmlenc#sha256"); server.Config("SigMethod=http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); server.Config("UseZeroIndexForDefaultServices=true"); server.Config("WantAssertionsSigned=true"); server.Config("ContactPerson=Company=My Organization, sro;Email=myserver.com;Type=other;Extension.https://spid.gov.it/saml-extensions.VATNumber=IT122345678;Extension.https://spid.gov.it/saml-extensions.Public=");
  • Start the SP server. Check that it publishes metadata correctly by navigating to http://myserver.com/sp/metadata in your browser. If you can see the metadata XML, you are all good and ready to register your service with the IdP.
  • Go to the SPID page (https://demo.spid.gov.it/) in your browser and click the Registra Metadata Service Provider button. Paste the metadata URL (http://myserver.com/sp/metadata) in the Metadata URL box and click the Download button. The IdP should now download the metadata from your SP endpoint and process it.
  • Note: With the demo endpoint the registration process ends here. Unfortunately, not being an Italian entity, we cannot test the registration any further. Still, most of the coupling work has been done by this stage. The only task that remains is setting up the users at the IdP side and testing your SP by navigating to one of the resources it protects.

Trying and testing your SAML SP setup

SAML SP endpoints are expected to be available publicly on the Internet to be reachable by their IdP counterparts. This sometimes makes it difficult to test them, as development systems are often hidden from the online public by routers and firewalls.

One of the options to test SP endpoints is to relay a port on the public router to a locally running SP endpoint. There are a few tools and tips that may be helpful in that regard.

  • Dynamic DNS (DDNS) services can bind a fixed DNS name to the volatile public IP address of your router. Instead of referencing your SP by the IP address of the router, you can get a name like myownsp.ddns.net and have the DDNS service deal with the IP address changes.
  • To let "outsiders" get to an SP service running on your development system, you need to relay, or forward, a public port on the router to the listening port on your development system. The common way of doing that is called "port forwarding", which is configurable in the router settings (look for "port forwarding", "firewall", or "NAT" settings). Note that the public port number does not need to match the port opened on your development system: for example, you can forward a public port 80 (HTTP) on the router to port 15080 on your system. When the IdP makes a request to myownsp.ddns.net:80, the router forwards that request to port 15080 on your development system (e.g. 10.0.1.75:15080). That happens transparently to the IdP, which thinks it is talking to myownsp.ddns.net:80.
  • An alternative way of letting outsiders access your system is by using application-layer forwarding. One example of that is a service called localhost.run. This service lets you create a reverse SSH tunnel to your SP endpoint and makes it available for others as a subdomain at the localhost.run service: // OpenSSH C:\> ssh -R 80:localhost:15080 nokey@localhost.run // PuTTY C:\> PLINK.EXE -ssh -l nokey -R 80:localhost:15080 localhost.run

    Everybody, including public IdPs, can now access your local SP endpoint by sending requests to http://06f129bd133176.lhr.life. You can now configure the IdP to use this address too:

  • Understand your ports! As port forwarding involves different port numbers, please make sure you sort them out right. Make sure the IdP knows about your public port (80 in the above example), not your private port (15080). This is particularly important where you provide the SP details to the IdP through the metadata file. The metadata that the SP component generates uses its Port setting - which is normally assigned to the private port on your development system. If the public port number that you intend to use is different to your private port number, please make sure you pre-generate the metadata file with the public port number before you start the server: // setting up primary server properties server.URL = "http://myserver.com"; server.AssertionConsumerService = "/sp/AssertionConsumerService"; server.SPToIDPBinding = csbtRedirect; ... // setting the public port number server.Port = 80; // exporting metadata that mentions port 80 server.SaveMetadata("my_metadata.xml"); // switching the port to actual private number server.Port = 15080; // starting the server server.Start();

Constants

All constants are defined in the secureblackbox module.

Error Codes

SB_ERROR_INVALID_PARAMETER 0x100001 Invalid parameter value

SB_ERROR_INVALID_SETUP 0x100002 Component is configured incorrectly

SB_ERROR_INVALID_STATE 0x100003 Operation cannot be executed in the current state

SB_ERROR_INVALID_VALUE 0x100004 Attempt to set an invalid value to a property

SB_ERROR_NO_PRIVATE_KEY 0x100005 Certificate does not have its private key loaded

SB_ERROR_CANCELLED_BY_USER 0x100006 Cancelled by the user

SB_ERROR_ASIC_UNSUPPORTED_LEVEL 0x01000001 Unsupported level

SB_ERROR_ASIC_UNSUPPORTED_SIGNATURE_FORM 0x01000002 Unsupported signature form

SB_ERROR_ASIC_UNSUPPORTED_SIGNATURE_TYPE 0x01000003 Unsupported signature type

SB_ERROR_ASIC_UNSUPPORTED_EXTRACTION_MODE 0x01000004 Unsupported extraction mode

SB_ERROR_ASIC_INPUTFILE_NOT_EXISTS 0x01000005 Input file does not exist

SB_ERROR_ASIC_OUTPUTFILE_ALREADY_EXISTS 0x01000006 Output file already exists

SB_ERROR_FTP_UNSUPPORTED_FILEOPERATION 0x01200001 Unsupported file operation

SB_ERROR_JADES_INPUTFILE_NOT_EXISTS 0x03300001 Input file does not exist

SB_ERROR_HTTP_UNSUPPORTED_KEEPALIVEPOLICY 0x01300001 Unsupported keep-alive policy

SB_ERROR_KMIP_REQUEST_FAILED 0x01400001 Request failed

SB_ERROR_KMIP_INPUTFILE_NOT_EXISTS 0x01400002 Input file does not exist

SB_ERROR_KMIP_UNSUPPORTED_KEY_ALGORITHM 0x01400003 Unsupported key algorithm

SB_ERROR_KMIP_INVALID_KEY 0x01400004 Unsupported extraction mode

SB_ERROR_MAIL_ASSEMBLY_FAILED 0x01500001 Failed to assemble a mail message

SB_ERROR_MAIL_PARSING_FAILED 0x01500002 Failed to parse a mail message

SB_ERROR_MAIL_NO_DECRYPTION_CERTIFICATE 0x01500003 Failed to decrypt a message because there is no decryption certificate provided

SB_ERROR_OFFICE_INPUTFILE_NOT_EXISTS 0x01700001 Input file does not exist

SB_ERROR_OFFICE_UNSUPPORTED_DOCUMENT_FORMAT 0x01700002 Unsupported document format

SB_ERROR_OFFICE_DOCUMENT_NOT_SIGNABLE 0x01700003 Document cannot be signed

SB_ERROR_OFFICE_DOCUMENT_NOT_SIGNED 0x01700004 Document is not signed

SB_ERROR_OFFICE_DOCUMENT_ENCRYPTED 0x01700005 Document is encrypted

SB_ERROR_OFFICE_DOCUMENT_NOT_ENCRYPTABLE 0x01700006 Document cannot be encrypted

SB_ERROR_OFFICE_DOCUMENT_NOT_ENCRYPTED 0x01700007 Document is not encrypted

SB_ERROR_OFFICE_DOCUMENT_UNKNOWN_ENCRYPTION 0x01700008 Unknown encryption algorithm

SB_ERROR_OFFICE_INVALID_PASSWORD 0x01700009 Invalid password

SB_ERROR_OFFICE_SIGNATURE_NOT_FOUND 0x0170000A Signature not found

SB_ERROR_OTP_USER_NOT_FOUND 0x01800001 User not found

SB_ERROR_PDF_INPUTFILE_NOT_EXISTS 0x01900001 Input file does not exist

SB_ERROR_PDF_ENCRYPTED 0x01900002 Document is encrypted

SB_ERROR_PDF_NOT_ENCRYPTED 0x01900003 Document not encrypted

SB_ERROR_PDF_UNKNOWN_ENCRYPTION_TYPE 0x01900004 Unknown certificate type

SB_ERROR_PDF_INVALID_PASSWORD 0x01900005 Invalid password

SB_ERROR_PDF_DECRYPTION_FAILED 0x01900006 Decryption failed

SB_ERROR_PDF_SIGNED 0x01900007 Document is signed

SB_ERROR_PDF_NOT_SIGNED 0x01900008 Document is not signed

SB_ERROR_PDF_INAPPROPRIATE_SIGNATURE 0x01900009 Inappropriate signature

SB_ERROR_PDF_NOT_SUPPORTED 0x0190000A Not supported

SB_ERROR_PGP_FILE_NOT_EXISTS 0x01A00001 File does not exist

SB_ERROR_PGP_INVALID_KEY 0x01A00002 Invalid key

SB_ERROR_PGP_NO_PUBLIC_KEY 0x01A00003 No public key

SB_ERROR_PGP_NO_SECRET_KEY 0x01A00004 No secret key

SB_ERROR_PGP_NOT_FOUND 0x01A00005 Not found

SB_ERROR_PGP_OPERATION_ON_SUBKEY 0x01A00006 Operation cannot be performed on a subkey

SB_ERROR_SAML_INVALID_BINDING_NAME 0x01D00001 Invalid binging name

SB_ERROR_SAML_INVALID_BINDING_TYPE 0x01D00002 Invalid binding type

SB_ERROR_SAML_SP_BASE_DIRECTORY_NOT_SET 0x01D00003 Base directory not set

SB_ERROR_SFTP_UNSUPPORTED_FILEOPERATION 0x01E00001 Unsupported file operation

SB_ERROR_SOAP_INPUTFILE_NOT_EXISTS 0x02000001 Input file does not exist

SB_ERROR_SOAP_INVALID_KEY_TYPE 0x02000002 Invalid key type

SB_ERROR_SOAP_SIGNATURE_NOT_FOUND 0x02000003 Signature not found

SB_ERROR_SOAP_UNSUPPORTED_SIGNATURE_TYPE 0x02000004 Unsupported signature type

SB_ERROR_SOAP_CLIENT_UNEXPECTED_HTTP_STATUS_CODE 0x02000101 Unexpected HTTP status code

SB_ERROR_SOAP_CLIENT_SERVICE_FAILED 0x02000102 SOAP service failed

SB_ERROR_SSH_INVALID_KEY 0x02100001 Invalid key

SB_ERROR_XML_INPUTFILE_NOT_EXISTS 0x02600001 Input file does not exist

SB_ERROR_XML_DATAFILE_NOT_EXISTS 0x02600002 Data file does not exist

SB_ERROR_XML_UNSUPPORTED_SIGNATURE_METHOD_TYPE 0x02600003 Unsupported signature method type

SB_ERROR_XML_UNSUPPORTED_HASH_ALGORITHM 0x02600004 Unsupported has algorithm

SB_ERROR_XML_UNSUPPORTED_KEY_TYPE 0x02600005 Unsupported key type

SB_ERROR_XML_INVALID_KEY_TYPE 0x02600006 Invalid key type

SB_ERROR_XML_INVALID_ENCRYPTION_METHOD 0x02600007 Invalid encryption method

SB_ERROR_XML_NOT_FOUND 0x02600008 Not found

SB_ERROR_XML_NO_ELEMENT_ID 0x02600009 No element ID

Archive File Types

aftUnknown 0 It was not possible to establish the type of the archive file.

aftZip 1 The archive contains data in ZIP format.

aftGzip 2 The archive file contains data in GZIP format.

aftBzip2 3 The archive contains BZIP2 data.

aftTar 4 The archive contains a .tar file.

aftTarGzip 5 The archive contains a .tar.gz file.

aftTarBzip2 6 The archive contains data in .tar.bz2 format.

ASiC Signature Levels

aslUnknown 0
aslBES 1 BES form

aslEPES 2 EPES form

aslT 3 T form

aslC 4 C form

aslXType1 5 X form (type 1)

aslXType2 6 X form (type 2)

aslXLType1 7 X-L form (type 1)

aslXLType2 8 X-L form (type 2)

aslBaselineB 9 Baseline B (B-B, basic)

aslBaselineT 10 Baseline T (B-T, timestamped)

aslBaselineLT 11 Baseline LT (B-LT, long-term)

aslBaselineLTA 12 Baseline LTA (B-LTA, long-term with archived timestamp)

aslExtendedBES 13 Extended BES form

aslExtendedEPES 14 Extended EPES form

aslExtendedT 15 Extended T form

aslExtendedC 16 Extended C form

aslExtendedXType1 17 Extended X form (type 1)

aslExtendedXType2 18 Extended X form (type 2)

aslExtendedXLType1 19 Extended X-L form (type 1)

aslExtendedXLType2 20 Extended X-L form (type 1)

aslA 21 A form

aslExtendedA 22 Extended A form

Authenticode Attribute Conflict Resolutions

acrInsert 0 Add one more unsigned attribute with the same OID

acrIgnore 1 Do nothing

acrReplace 2 Replace the existing unsigned attribute with the provided one

acrError 3 Throw an error

Authenticode Timestamp Conflict Resolutions

tcrIgnore 0 Do nothing

tcrReplace 1 Replace the existing timestamp with a new one

tcrError 2 Throw an error

CAdES Compatibility Errors

cerrUnknown 0x00001 Unknown validation error

cerrNoMessageDigest 0x00002 No message digest attribute included in the signature

cerrNoContentType 0x00004 No mandatory content-type attribute is included in the signature

cerrNoSigningCertificate 0x00008 No mandatory signing-certificate (-v2) attribute is included in the signature

cerrNoSignaturePolicy 0x00010 No signature policy information is included in the signature

cerrNoSignatureTimestamp 0x00020 The signature is not timestamped

cerrNoCertificateReferences 0x00040 No certificate-references attribute was found in the signature

cerrNoRevocationReferences 0x00080 No revocation-references attribute was found in the signature

cerrNoCertificateValues 0x00100 No certificate-values attribute was found in the signature

cerrNoRevocationValues 0x00200 No revocation-values attribute was found in the signature

cerrNoTimestampedValidationData 0x00400 No timestamped validation data was found in the signature

cerrNoArchivalTimestamp 0x00800 No archival timestamp was found in the signature

cerrUnexpectedValidationElements 0x01000 Unexpected validation elements were found in the signature

cerrMissingValidationElements 0x02000 Some mandatory validation elements are missing from the signature

cerrInvalidATSHashIndex 0x04000 ATS Hash Index attribute is invalid

cerrNoSigningTime 0x08000 No mandatory signing-time attribute was found in the signature

cerrMisplacedSigPolicyStore 0x10000 Signature policy store attribute is misplaced

CAdES Signature Levels

cslUnknown 0 Unknown signature level

cslBES 1 BES (Basic Electronic Signature)

cslEPES 2 EPES (Electronic Signature with an Explicit Policy)

cslT 3 T (Timestamped)

cslC 4 C (T with revocation references)

cslXType1 5 X Type 1 (C with an ES-C timestamp)

cslXType2 6 X Type 2 (C with a CertsAndCRLs timestamp)

cslXLType1 7 XL Type 1 (C with revocation values and an ES-C timestamp)

cslXLType2 8 XL Type 2 (C with revocation values and a CertsAndCRLs timestamp)

cslBaselineB 9 Baseline B (B-B, basic)

cslBaselineT 10 Baseline T (B-T, timestamped)

cslBaselineLT 11 Baseline LT (B-LT, long-term)

cslBaselineLTA 12 Baseline LTA (B-LTA, long-term with archived timestamp)

cslExtendedBES 13 Extended BES

cslExtendedEPES 14 Extended EPES

cslExtendedT 15 Extended T

cslExtendedC 16 Extended C

cslExtendedXType1 17 Extended X Type 1

cslExtendedXType2 18 Extended X Type 2

cslExtendedXLType1 19 Extended XL Type 1

cslExtendedXLType2 20 Extended XL Type 2

cslExtendedA 21 Extended A

cslA 22 A (archived)

Certificate File Formats

cfmUnknown 0 Unknown certificate format

cfmDER 1 DER file format. Applicable to certificates, certificate requests, private keys. Encryption not supported

cfmPEM 2 PEM file format. Applicable to certificates, certificate requests, private keys. Encryption supported for private keys.

cfmPFX 3 PFX/PKCS#12 file format. Applicable to certificates. Encryption supported.

cfmSPC 4 SPC file format. Applicable to certificates. Encryption not supported.

cfmPVK 5 PVK file format. Applicable to private keys. Encryption not supported.

cfmPKCS8 6 PKCS#8 file format. Applicable to private keys. Encryption supported.

cfmNET 7 NET file format. Applicable to private keys. Encryption not supported.

Certificate Key Usages

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

Certificate Pulbic Key Algorithms

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

DC Certificate Storage Locations

cslUnspecified unspecified
cslMemory memory in-memory storage

cslFile file file storage

cslSystem system OS-specific certificate storage (e.g. CryptoAPI)

cslPKCS11 pkcs11 PKCS#11 compatible device

cslKMIP kmip
cslApple apple Apple certificates storage (macOS and iOS only)

cslJava java java key storage

Cryptographic Key Formats

kffUnknown 0 The key format was not recognized as one of the known formats.

kffAuto 1 The default format in current circumstances. This depends on the key being loaded or saved.

kffDER 2 DER (binary) format

kffPEM 3 PEM format (base64-encoded with headers)

kffJSON 4 JSON key format

Cryptographic Key Types

ktAuto 0 The default key type in current circumstances. This depends on the operation, the file content, and the storage type.

ktPublic 1 The operation should be performed on a public key.

ktSecret 2 The operation should be performed on a private or secret key

Cryptographic Data Encoding Types

cetDefault 0 The default encoding type in current circumstances. This depends on the operation and the type of the key being used.

cetBinary 1 Raw binary encoding (no encoding)

cetBase64 2 Base64 encoding (armouring)

cetCompact 3 JSON compact encoding

cetJSON 4 JSON standard encoding

Chain Validation Results

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)

Chain Validity Details

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

EC Curve Names

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

File Operation Statuses

ostOk 1
ostNoSuchFile 2
ostAccessDenied 3
ostWriteProtect 4
ostUnsupported 5
ostInvalidParameter 6
ostEOF 7

File Request Actions

fraAuto 1 Handle the requested action automatically by the server

fraCustom 2 Override the action using the user code logic

fraAbort 3 Abort the requested action

FTP File Operations

cffoDownloadFile 0 Download file

cffoUploadFile 1 Upload file

cffoDeleteFile 2 Delete file

cffoMakeDir 3 Make directory

JAdES Signature Levels

jaslJWS 0 JSON Web Signature (JWS)

jaslBaselineB 1 Baseline B (B-B, basic)

jaslBaselineT 2 Baseline T (B-T, timestamped)

jaslBaselineLT 3 Baseline LT (B-LT, long-term)

jaslBaselineLTA 4 Baseline LTA (B-LTA, long-term with archived timestamp)

JAdES Versions

javUnknown 0 Unknown

jav111 1 JAdES v1.1.1

Hash Algorithms

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

HTTP Multipart Modes

hmmFormData 0 The multipart message contains form data.

hmmRelated 1 The multipart message contains related parts.

IMAP Message Flags

imapMessageAnswered 0x01 Message has been answered.

imapMessageDeleted 0x02 Message is 'deleted' for removal later.

imapMessageDraft 0x04 Message has not completed composition (marked as a draft).

imapMessageFlagged 0x08 Message is 'flagged' for urgent/special attention.

imapMessageRecent 0x10 Message is 'recently' arrived in this mailbox. This session is the first session to have been notified about this message.

imapMessageSeen 0x20 Message has been read.

KMIP Object Types

otUnknown 0x00
otCertificate 0x01
otSymmetricKey 0x02
otPublicKey 0x04
otPrivateKey 0x08

MAC Algorithms

SB_MAC_ALGORITHM_HMAC_SHA1 SHA1
SB_MAC_ALGORITHM_HMAC_SHA256 SHA256
SB_MAC_ALGORITHM_HMAC_SHA512 SHA512

PGP Compression Algorithms

SB_PGP_COMPRESSION_ALGORITHM_NONE Uncompressed
SB_PGP_COMPRESSION_ALGORITHM_ZIP ZIP
SB_PGP_COMPRESSION_ALGORITHM_ZLIB Zlib
SB_PGP_COMPRESSION_ALGORITHM_BZIP2 Bzip2

PGP Curve Names

SB_PGP_CURVE_P256 P256
SB_PGP_CURVE_P384 P384
SB_PGP_CURVE_P521 P521
SB_PGP_CURVE_ED25519 ED25519
SB_PGP_CURVE_CURVE25519 CURVE25519
SB_PGP_CURVE_BRAINPOOLP256R1 BRAINPOOLP256
SB_PGP_CURVE_BRAINPOOLP512R1 BRAINPOOLP512

PGP Key Validities

pkvStrictlyValid 0 Strictly valid

pkvValid 1 Valid

pkvInvalid 2 Invalid

pkvFailure 3 Generic validation failure

pkvUnknown 4 Validity unknown

PGP Public Key Algorithms

SB_PGP_PUBLIC_KEY_ALGORITHM_RSA RSA
SB_PGP_PUBLIC_KEY_ALGORITHM_RSA_ENCRYPT RSA-encrypt
SB_PGP_PUBLIC_KEY_ALGORITHM_RSA_SIGN RSA-sign
SB_PGP_PUBLIC_KEY_ALGORITHM_DSA DSA
SB_PGP_PUBLIC_KEY_ALGORITHM_ECDSA ECDSA
SB_PGP_PUBLIC_KEY_ALGORITHM_ECDH ECDH
SB_PGP_PUBLIC_KEY_ALGORITHM_ELGAMAL_ENCRYPT Elgamal-encrypt
SB_PGP_PUBLIC_KEY_ALGORITHM_ELGAMAL Elgamal
SB_PGP_PUBLIC_KEY_ALGORITHM_EDDSA EDDSA

PGP Signature Types

pstNormal 0 A traditional signature, compatible (algorithm permitting) with PGP 2.6.x

pstOnePass 1 A newer one-pass signature

pstDetached 2 A detached signature, i.e., a signature contained in a separate file from the data it covers

pstCleartext 3 A signature made over textual data and appended to it

PGP Symmetric Encryption Algorithms

SB_PGP_SYMMETRIC_ALGORITHM_PLAINTEXT Plaintext
SB_PGP_SYMMETRIC_ALGORITHM_IDEA Idea
SB_PGP_SYMMETRIC_ALGORITHM_3DES 3DES
SB_PGP_SYMMETRIC_ALGORITHM_CAST5 CAST5
SB_PGP_SYMMETRIC_ALGORITHM_BLOWFISH Blowfish
SB_PGP_SYMMETRIC_ALGORITHM_AES128 AES128
SB_PGP_SYMMETRIC_ALGORITHM_AES192 AES192
SB_PGP_SYMMETRIC_ALGORITHM_AES256 AES256
SB_PGP_SYMMETRIC_ALGORITHM_TWOFISH256 Twofish256

PKI Failure Information

pfiBadAlg 0 Unsupported or weak security algorithm

pfiBadMessageCheck 1 Message check failed

pfiBadRequest 2 Bad request

pfiBadTime 3 Bad timing

pfiBadCertId 4 Bad certificate ID

pfiBadDataFormat 5 Bad data format

pfiWrongAuthority 6 Wrong authority

pfiIncorrectData 7 Incorrect data

pfiMissingTimestamp 8 Missing timestamp

pfiBadPOP 9 Bad POP

PKI Results

psGranted 0 Request granted

psGrantedWithMods 1 Request granted with modifications

psRejection 2 Request rejected

psWaiting 3 Waiting (service busy)

psRevocationWarning 4 Revocation warning

psRevocationNotification 5 Revocation notification

psKeyUpdateWarning 6 Key update warning

Signature/Certificate Qualified Status

sqsUnknown 0 Qualified status unknown. Use config's QualifiedInfo setting to obtain service status URI.

sqsNone 1 None

sqsGranted 2 Granted

sqsWithdrawn 3 Withdrawn

sqsSetByNationalLaw 4 Set by national law

sqsDeprecatedByNationalLaw 5 Deprecated by national law

sqsRecognizedAtNationalLevel 6 Recognized at national level

sqsDeprecatedAtNationalLevel 7 Deprecated at national level

sqsUnderSupervision 8 Under supervision

sqsSupervisionInCessation 9 Supervision in cessation

sqsSupervisionCeased 10 Supervision ceased

sqsSupervisionRevoked 11 Supervision revoked

sqsAccredited 12 Accredited

sqsAccreditationCeased 13 Accreditation ceased

sqsAccreditationRevoked 14 Accreditation revoked

sqsInAccordance 15 Deprecated. The subject service is in accordance with the scheme's specific status determination criteria (only for use in positive approval schemes).

sqsExpired 16 Deprecated. The subject service is no longer overseen by the scheme, e.g. due to nonrenewal or withdrawal by the TSP, or cessation of the service or the scheme's operations.

sqsSuspended 17 Deprecated. The subject service's status is temporarily uncertain whilst checks are made by the scheme operator (typically e.g. while a revocation request is being investigated or if action is required to resolve a deficiency in the service fulfilling the scheme's criteria.

sqsRevoked 18 Deprecated. The subject service's approved status has been revoked because it is no longer in accordance with the scheme's specific status determination criteria (only for use in positive approval schemes).

sqsNotInAccordance 19 Deprecated. The subject service is not in accordance with the scheme's specific status determination criteria (only for use in negative approval schemes).

Revocation Reasons

rrUnknown 0x0000
rrUnspecified 0x0001
rrKeyCompromise 0x0002
rrCACompromise 0x0004
rrAffiliationChanged 0x0008
rrSuperseded 0x0010
rrCessationOfOperation 0x0020
rrCertificateHold 0x0040
rrRemoveFromCRL 0x0080
rrPrivilegeWithdrawn 0x0100
rrAACompromise 0x0200

SFTP File Operations

csfoDownloadFile 0 Download file

csfoUploadFile 1 Upload file

csfoDeleteFile 2 Delete file

csfoMakeDir 3 Make directory

Signature Validation Results

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

SSH Authentication Types

atRhosts 0x01 RHOSTS file authentication. Rarely used today.

atPublicKey 0x02 Public key (sometimes called private key) authentication

atPassword 0x04 Password-based authentication

atHostbased 0x08 Hostbased authentication

atKeyboard 0x10 Keyboard-interactive authentication. This is often used in place of generic password authentication.

atGssWithMic 0x20 GSS authentication

atGssKeyex 0x40 GSS authentication with key exchange

atPublicKeyAgent 0x80 Public key agent authentication

SSH Key Actions

catAcceptOnce 1 Accept the key for the current session only.

catAcceptPermanently 2 Accept the key for the current session and store the key to the trusted keys list.

catReject 3 Reject the key and close the connection.

SSH Key Types

cktPrivate 0 A private key

cktPublic 1 A public key

SSL Options

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

SSL Versions

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

Symmetric Encryption Algorithms

SB_SYMMETRIC_ALGORITHM_RC4 RC4
SB_SYMMETRIC_ALGORITHM_DES DES
SB_SYMMETRIC_ALGORITHM_3DES 3DES
SB_SYMMETRIC_ALGORITHM_RC2 RC2
SB_SYMMETRIC_ALGORITHM_AES128 AES128
SB_SYMMETRIC_ALGORITHM_AES192 AES192
SB_SYMMETRIC_ALGORITHM_AES256 AES256
SB_SYMMETRIC_ALGORITHM_IDENTITY Identity
SB_SYMMETRIC_ALGORITHM_BLOWFISH Blowfish
SB_SYMMETRIC_ALGORITHM_CAST128 CAST128
SB_SYMMETRIC_ALGORITHM_IDEA IDEA
SB_SYMMETRIC_ALGORITHM_TWOFISH Twofish
SB_SYMMETRIC_ALGORITHM_TWOFISH128 Twofish128
SB_SYMMETRIC_ALGORITHM_TWOFISH192 Twofish192
SB_SYMMETRIC_ALGORITHM_TWOFISH256 Twofish256
SB_SYMMETRIC_ALGORITHM_CAMELLIA Camellia
SB_SYMMETRIC_ALGORITHM_CAMELLIA128 Camellia128
SB_SYMMETRIC_ALGORITHM_CAMELLIA192 Camellia192
SB_SYMMETRIC_ALGORITHM_CAMELLIA256 Camellia256
SB_SYMMETRIC_ALGORITHM_SERPENT Serpent
SB_SYMMETRIC_ALGORITHM_SERPENT128 Serpent128
SB_SYMMETRIC_ALGORITHM_SERPENT192 Serpent192
SB_SYMMETRIC_ALGORITHM_SERPENT256 Serpent256
SB_SYMMETRIC_ALGORITHM_SEED SEED
SB_SYMMETRIC_ALGORITHM_RABBIT Rabbit
SB_SYMMETRIC_ALGORITHM_SYMMETRIC Generic
SB_SYMMETRIC_ALGORITHM_GOST_28147_1989 GOST-28147-1989
SB_SYMMETRIC_ALGORITHM_CHACHA20 ChaCha20

Symmetric Crypto Modes

scmDefault 0 The default mode in current circumstances.

scmECB 1 ECB (electronic code book) mode. This is insecure, unless you know how to use it right.

scmCBC 2 CBC (cipher block chaining mode)

scmCTR 3 Counter mode

scmCFB8 4 Cipher feedback mode

scmGCM 5 Galois counter mode

scmCCM 6 CCM mode

Symmetric Crypto Paddings

scpNone 0 No padding. You might need to adjust the length of the input data to align it by the encryption block boundary.

scpPKCS5 1 Standard PKCS5 (sometimes also referred to as PKCS7) padding

scpANSIX923 2 ANSI X.923 padding

Timestamp Types

tstUnknown 0
tstLegacy 1 Supported by: Authenticode components

tstTrusted 2 Supported by: Authenticode components

tstGeneric 3 Supported by: CAdES components

tstESC 4 Supported by: CAdES components

tstContent 5 Supported by: CAdES components

tstCertsAndCRLs 6 Supported by: CAdES components

tstArchive 7 Archive timestamp. Supported by: ASiC, CAdES, JAdES, Office, SOAP, XAdES components

tstArchive2 8 Archive v2 timestamp. Supported by: ASiC, CAdES components

tstArchive3 9 Archive v3 timestamp. Supported by: ASiC, CAdES components

tstIndividualDataObjects 10 Individual data objects timetamp. Supported by: ASiC, Office, SOAP, XAdES components

tstAllDataObjects 11 All data objects timestamp. Supported by: ASiC, Office, SOAP, XAdES components

tstSignature 12 Signature timestamp. Supported by: ASiC, JAdES, Office, SOAP, XAdES components

tstRefsOnly 13 RefsOnly timestamp. Supported by: ASiC, JAdES, Office, SOAP, XAdES components

tstSigAndRefs 14 SigAndRefs timestamp. Supported by: ASiC, JAdES, Office, SOAP, XAdES components

tstSignedData 15 SignedData timestamp. Supported by: JAdES components

tstArchive141 16 Archive timestamp v1.4.1. Supported by: ASiC, Office, SOAP, XAdES components

XAdES Forms

xafNone 0 None

xafBasic 1 XAdES form, supported by XAdES v1.1.1

xafBES 2 XAdES-BES form, supported starting from XAdES v1.2.2

xafEPES 3 XAdES-EPES form, supported starting from XAdES v1.2.2

xafT 4 XAdES-T form

xafC 5 XAdES-C form

xafX 6 XAdES-X form

xafXL 7 XAdES-X-L form

xafA 8 XAdES-A form

xafExtendedBES 9 XAdES-E-BES form

xafExtendedEPES 10 XAdES-E-EPES form

xafExtendedT 11 XAdES-E-T form

xafExtendedC 12 XAdES-E-C form

xafExtendedX 13 XAdES-E-X form

xafExtendedXLong 14 XAdES-E-X-Long form (type 1)

xafExtendedXL 15 XAdES-E-X-L form (type 2)

xafExtendedA 16 XAdES-E-A form

XAdES Versions

xavUnknown 0 Unknown

xav111 1 XAdES v1.1.1

xav122 2 XAdES v1.2.2

xav132 3 XAdES v1.3.2

xav141 4 XAdES v1.4.1 (aka v1.4.2)

XML Encryption Algorithms

SB_XML_ENCRYPTION_ALGORITHM_RC4 RC4
SB_XML_ENCRYPTION_ALGORITHM_DES DES
SB_XML_ENCRYPTION_ALGORITHM_3DES 3DEST
SB_XML_ENCRYPTION_ALGORITHM_AES128 AES128
SB_XML_ENCRYPTION_ALGORITHM_AES192 AES192
SB_XML_ENCRYPTION_ALGORITHM_AES256 AES256
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA128 Camellia128
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA192 Camellia192
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA256 Camellia256
SB_XML_ENCRYPTION_ALGORITHM_SEED SEED

XML Signature Validation Results

xsvValid 0
xsvUnknown 1
xsvCorrupted 2
xsvSignerNotFound 3
xsvFailure 4
xsvReferenceCorrupted 5

Storage Session Types

stUnauthenticated 0
stUser 1
stAdministrator 2

PDF encryption permissions

pepAnnotations 0x0001 Annotating is allowed

pepAssemble 0x0002 Assembling a new document on the basis of the processed one is allowed

pepExtract 0x0004 Extraction/copying of the pictures and text from the document is allowed

pepExtractAcc 0x0008 Content extraction is allowed for accessibility purposes only

pepFillInForms 0x0010 Filling forms in is allowed

pepHighQualityPrint 0x0020 High quality printing is allowed

pepLowQualityPrint 0x0040 Low quality printing is allowed

pepModify 0x0080 Modifications are allowed

Validation event actions

veaAuto 0 Handle the action automatically (the default behaviour)

veaContinue 1 Accept the request implied by the event (accept the certificate, allow the object retrieval)

veaReject 2 Reject the request implied by the event (reject the certificate, disallow the object retrieval)

veaAcceptNow 3 Accept the validated certificate immediately

veaAbortNow 4 Abort the validation, reject the certificate

Qualified Information Sources

qisUnknown 0 The source is unknown

qisCertificate 1 The information was taken from the certificate

qisTSL 2 The information was taken from an online TSL

qisBoth 3 The information was taken from both the certificate and an online TSL

SAML assertion origins

saoUnknown 0 Unknown origin

saoRequest 1 The assertion is part of a SAML request

saoResponse 2 The assertion is part of a SAML response

Certificate Extension States

cesNotIncluded 0 The extension is not included in the certificate

cesCritical 1 The extension is included and is marked critical

cesNonCritical 2 The extension is included and is not marked critical

PDF widget render options

wroUnknown 0x00000 Unknown, unsupported, or uninitialized set of options

wroNoRotate 0x00001 Enabling this option prevents the signature widget from being rotated when the containing document is rotated in a viewing app.

wroNoView 0x00002 Enabling this option prevents the widget from being displayed when the document is viewed in an app (the widget will still be printed, if configured).

wroNoZoom 0x00004 Keeps the widget at the same size when the document is zoomed in or out.

wroPrint 0x00008 Makes the widget printable.

wroReadOnly 0x00010 Controls the ReadOnly flag of the widget object.

wroToggleNoView 0x00020 If set, the signature widget will only be displayed when the viewer hovers a mouse pointer over it.

PDF signature unsign kinds

uskDefault 0x00000 The default unsign kind (currently maps to uskFull)

uskFull 0x00001 Full removal of the signature, its widget, and field

uskKeepField 0x00002 Remove the signature, but keep its field

uskKeepAppearance 0x00003 Remove the signature, but keeps the widget

Timestamp formats

mtfUnknown 0 Unknown or unspecified format

mtfRFC5544 1 RFC5544-compliant format, based on PKCS#7 TimeStampedData object

mtfCMS 2 A generic RFC3161 timestamp response object (TimeStampToken)

mtfTSPReply 3 Same as mtfCMS, but including the auxiliary TSA response wrapper (TimeStampResp)

CAdES signature scopes

cssUnknown 0 The scope of signature is unknown

cssData 1 The signature is a top-level signature over the data

cssSignature 2 The signature is a countersignature, and is made over another signature

cssTimestamp 3 The signature is made over a timestamp

Encryption types

metUnknown 0 Unknown or unsupported encryption type

metCertEncrypted 1 Certificate-based encryption

metKeyEncrypted 2 Symmetric key-based encryption

metCertEncryptedAndAuthenticated 3 Certificate-based encryption with authentication (AEAD)

Message Signature Types

stUnknown 0 Unknown or unsupported signature types

stPKCS1Detached 1 Detached PKCS#1 signature

stPKCS7Detached 2 Detached PKCS#7 signature

stPKCS7Enveloping 3 Enveloping PKCS#7 signature

stPKCS7MACDetached 4 Detached PKCS#7 MAC signature

stPKCS7MACEnveloping 5 Enveloping PKCS#7 MAC signature

Compression algorithms

acaStored 0 STORED

acaShrunk 1 SHRUNK

acaReduce1 2 REDUCE_1

acaReduce2 3 REDUCE_2

acaReduce3 4 REDUCE_3

acaReduce4 5 REDUCE_4

acaImplode 6 IMPLODE

acaTokenizing 7 Tokenizing

acaDeflate 8 Deflate

acaDeflate64 9 Deflate64

acaTerseOld 10 TERSE (old)

acaBzip2 12 Bzip2

acaLzma 14 LZMA

acaTerseNew 18 TERSE (new)

acaLz77 19 LZ77

acaWavPack 97 WAVPACK

acaPPMDv1 98 PPMD v1

acaWinzipAES 99 WinZIP AES

acaUnknown 65535 Unknown or unsupported algorithm

String value formats

svfText 0 The property contains text

svfBinary 1 The property contains binary data. The Value property contains a hex encoding of it.

FTP server security options

cfsoPlainLogin 1 Allow logins over insecure connections

cfsoEncryption 2 Enable encryption

cfsoAuth 4 Enable AUTH command (explicit TLS)

cfsoClearControlChannel 8 Allow clear control channel mode

cfsoClearDataChannel 16 Allow clear data channel TLS connections

cfsoEncryptedDataChannel 32 Allow encrypted data channel TLS connections

Async signing policies

aspAcceptUnsignedRequests 1 Allows the component to accept unauthenticated messages (those not signed with KeyID/KeySecret). Use with extreme care.

aspIgnorePKCS1Requests 2 Ignore requests of PKCS1 type.

aspIgnorePKCS7Requests 4 Ignore requests of PKCS7 type.

aspIgnoreRequestTSA 8 Ignore the TSA URL provided in the request, and either stick with the service provided via TimestampServer property, or not timestamp the message altogether.

aspIgnoreRequestSigningTime 16 Ignore the signing time included in the request.

aspIgnoreRequestPKCS7Settings 32 Ignore auxiliary PKCS7 settings (content type, attributes) included in the request.

aspAlwaysTimestampSigs 64 Timestamp created signatures (PKCS7 only), even if the client did not request it.