SecureBlackbox 16: Plugging SecureBlackbox Java Cryptography Extensions into Your Java Project
Note: This article applies only to SecureBlackbox Legacy. For future development please consider using the latest version.
The Java Cryptography Extension (JCE) provides a framework and implementations for encryption, key generation, key agreement, and Message Authentication Code (MAC) algorithms. The JCE uses a provider-based architecture and contains a set of APIs for various purposes. These APIs provide easy ways for developers to integrate security into application code.
SecureBlackbox includes its own JCE crypto provider. It simplifies access to SecureBlackbox cryptographic algorithms without a need to switch from a familiar Java API.
Supported Features and Algorithms
- RSA (PKCS#1, OAEP, PSS), DSA, ECDSA, ElGamal, EC, GOST-3410-1994, GOST-3410-2001
- AES, Blowfish, Twofish, Serpent, Camellia, DES, 3DES, RC2, CAST5, IDEA, Seed, Rabbit, GOST-28147, RC4
- MD5, MD2, SHA-1, SHA-2, GOST-3411, RIPEMD, CRC32
- HMAC-MD5, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512
- SHA1PRNG
- X.509 certificates management and validation.
Registering the SecureBlackbox Crypto Provider
You can use the following code to register the SecureBlackbox crypto provider:
Provider provider = new SecureBlackboxProvider("SecureBlackbox license key"); Security.addProvider(provider);
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.