SecureBlackbox Knowledge Base

Recent PKI Articles


Can I detect insertion and removal of the hardware device (token or cryptocard)?

How to detect insertion and removal of the hardware device (token or cryptocard).

How can I extract the certificate from the CRL (Certificate Revocation List)?

How to extract the certificate from the CRL (Certificate Revocation List)?

The certificate could not be validated with TElX509CertificateValidator, while the browser validates it. Why?

Why the certificate could not be validated with TElX509CertificateValidator, while the browser validates it.

After I export a certificate to a PFX file, Windows (or CryptoAPI) cannot import this file. What happens?

Please check what algorithms you specify in a call to the SaveTo*PFX() method. The Windows CryptoAPI understands only SB_ALGORITHM_PBE_SHA1_3DES and SB_ALGORITHM…

Why am I getting an "Input too long" error when trying to encrypt or decrypt the data?

Asymmetric (public-key) algorithms operate with relatively small chunks of data. The exact size depends on the key length and other factors. For example, with an…

How do I sign / encrypt the text data (and not a file)?

How to sign / encrypt the text data (and not a file)?

I can't add the private key to my PKCS#11 device. Why?

Please check that your device supports the certificates and keys that you are trying to put there. Most devices don't support DSA certificates and private keys. …

How do I create my own X.509 certificate?

There are several options available. The SecureBlackbox installation includes a precreated certificate in the PEM and PFX formats, which include both private and…

Does SecureBlackbox support cryptocards?

SecureBlackbox can access, use, and manage X.509 certificates and the associated private keys stored on CryptoCards and USB CryptoTokens. The device should be ac…

The certificate on a USB token is not visible from a service. How do I use such a certificate?

The certificate on a USB token is not visible from a service. How to use such a certificate?

Why does the signing or decryption operation fail when my code is run as a Windows service?

If you use certificates using the Windows CryptoAPI interface (the TElWinCertStorage class), you can face a problem in which your code works fine in the regular …

How do I use timestamping with PDFBlackbox, XMLBlackbox, or PKIBlackbox?

How to use timestamping with PDFBlackbox, XMLBlackbox, or PKIBlackbox.

How do I provide a password to a USB-based token to retrieve a certificate?

How do I provide a password to a USB Based Token to retrieve a certificate?

How Do I Use Timestamping with PDFBlackbox, XMLBlackbox, or PKIBlackbox?

How to use timestamping with PDFBlackbox, XMLBlackbox, or PKIBlackbox.

Can I sign a .NET assembly?

There are several ways to sign assemblies in .NET: You can use .NET signing (using an RSA KeyPair) to create strong-named assemblies, and you can use Authenticod…

Can I Sign Code with SecureBlackbox?

How do I sign code in SecureBlackbox?