The KMS Cloud HSM JCE Provider supports the algorithms listed on this page. Use this reference to confirm algorithm support and find the exact JCA names for getInstance() calls.
Supported secure random algorithms
| Algorithm |
Limit |
| AES-CTR-DRBG (FIPS compliant) |
Up to 8,000 bytes of random data per API call, generated within the HSM |
Supported key types
| Algorithm |
Supported size (bits) |
Notes |
| AES |
128, 192, 256 (default) |
|
| RSA key pairs |
2048–4096, in 256-bit increments (default: 4096) |
Supported values: 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840, 4096 |
| Triple DES (DESede) |
192 |
|
| EC key pairs |
NIST P256, NIST P384 |
No default. Construct the key using a standard curve name. |
| XDH key pairs |
X25519 |
|
| ECC curve |
secp256k1 |
|
| HMAC |
HmacSHA1, HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512 |
|
Supported message digests
| Digest |
| AES-CMAC |
| SHA-1 |
| SHA-224 |
| SHA-256 |
| SHA-384 |
| SHA-512 |
Supported MAC/HMAC algorithms
| Algorithm |
JCA name |
| HmacSHA1 |
HmacSHA1, Hmac128SHA1 |
| HmacSHA224 |
HmacSHA224, Hmac128SHA224 |
| HmacSHA256 |
HmacSHA256, Hmac128SHA256 |
| HmacSHA384 |
HmacSHA384, Hmac256SHA384 |
| HmacSHA512 |
HmacSHA512, Hmac256SHA512 |
| AESCMAC |
AESCMAC |
Supported encryption and decryption lengths
| Algorithm |
Max encryption length |
Max decryption length |
| AES-CBC |
No limit |
No limit |
| AES-CCM |
16,000 bytes |
16,000 bytes |
| AES-CTR |
No limit |
No limit |
| AES-ECB |
No limit |
No limit |
| AES-GCM |
16,000 bytes |
16,000 bytes |
| DESede-CBC |
No limit |
No limit |
| DESede-ECB |
No limit |
No limit |
Supported signatures
| Algorithm |
Signature |
JCA name |
| EC |
NONE with ECDSA |
NONEwithECDSA |
| SHA1 with ECDSA |
SHA1withECDSA |
| SHA224 with ECDSA |
SHA224withECDSA |
| SHA256 with ECDSA |
SHA256withECDSA |
| SHA384 with ECDSA |
SHA384withECDSA |
| SHA512 with ECDSA |
SHA512withECDSA |
| RSA/PKCS1.5 |
NONE with RSA |
NONEwithRSA |
| SHA1 with RSA |
SHA1withRSA |
| SHA224 with RSA |
SHA224withRSA |
| SHA256 with RSA |
SHA256withRSA |
| SHA384 with RSA |
SHA384withRSA |
| SHA512 with RSA |
SHA512withRSA |
| PSS |
PSS SHA1 with RSA |
SHA1withRSA/PSS, SHA1withRSAandMGF1 |
| PSS SHA224 with RSA |
SHA224withRSA/PSS, SHA224withRSAandMGF1 |
| PSS SHA256 with RSA |
SHA256withRSA/PSS, SHA256withRSAandMGF1 |
| PSS SHA384 with RSA |
SHA384withRSA/PSS, SHA384withRSAandMGF1 |
| PSS SHA512 with RSA |
SHA512withRSA/PSS, SHA512withRSAandMGF1 |