Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I integrate HSM encryption with JAVA?

How do i integrate Hardware Security Module encryption with a java application? I'm looking for code samples to connect to HSMs, generate keys(asymmetric, symmetric), encrypt and decrypt data (asymmetric, symmetric) and store keys.

like image 492
Armin Avatar asked Oct 19 '12 20:10

Armin


People also ask

What is HSM programming?

The hardware security module (HSM) is a special “trusted” network computer performing a variety of cryptographic operations: key management, key exchange, encryption etc. It seems to be obvious that cryptographic operations must be performed in a trusted environment.

What is an HSM encryption?

A hardware security module (HSM) is a physical device that provides extra security for sensitive data. This type of device is used to provision cryptographic keys for critical functions such as encryption, decryption and authentication for the use of applications, identities and databases.


1 Answers

In JAVA you can just use JCE/JCA. Ask your provider for the implementation, you will need some jar files, and you're ready.

like image 121
Frank Avatar answered Nov 03 '22 23:11

Frank