Algorithm Support


This Crypto Token relies on support for different algorithms in Java and the SunPKCS11 provider/wrapper as well as support in the PKCS#11 standard, the used PKCS#11 driver from the HSM vendor, and the supported algorithms in the HSM. A complete list of supported algorithms can thus not be compiled here and the following lists algorithms that are tested and known to work with an HSM supporting it. Also, see the specific SignServer Signer for algorithms that signers can work with and review signer-specific algorithm support pages.

Signature Algorithms


Algorithm Name

Also Known As

Comment

check mark

SHA1withRSA

RSASSA-PKCS_v1.5 using SHA1


check mark

SHA224withRSA

RSASSA-PKCS_v1.5 using SHA224


check mark

SHA256withRSA

RSASSA-PKCS_v1.5 using SHA256


check mark

SHA384withRSA

RSASSA-PKCS_v1.5 using SHA384


check mark

SHA512withRSA

RSASSA-PKCS_v1.5 using SHA512


check mark

NONEwithRSA

RSASSA-PKCS_v1.5

Depending on the Signer. Generally only supported by

Plain Signer

.

check mark

SHA1withRSAandMGF1

RSASSA-PSS using SHA1


check mark

SHA224withRSAandMGF1

RSASSA-PSS using SHA224


check mark

SHA256withRSAandMGF1

RSASSA-PSS using SHA256


check mark

SHA384withRSAandMGF1

RSASSA-PSS using SHA384


check mark

SHA512withRSAandMGF1

RSASSA-PSS using SHA512


cross mark

NONEwithRSAandMGF1

RSASSA-PSS

Not supported by Java/SunPKCS11.

check mark

SHA1withECDSA

ECDSA using SHA1


check mark

SHA224withECDSA

ECDSA using SHA224


check mark

SHA256withECDSA

ECDSA using SHA256


check mark

SHA384withECDSA

ECDSA using SHA384


check mark

SHA512withECDSA

ECDSA using SHA512


check mark

NONEwithECDSA

ECDSA

Depending on the Signer. Generally only supported by

Plain Signer

.

Key Algorithms


Algorithm Name

Key Specification

Comment

check mark

RSA

1024
2048
4096

Other key lengths are likely also working.

check mark

ECDSA

Named curves:

  • secp256r1 / prime256v1 / P-256

  • secp384r1

  • secp521r1

More named curves are likely working.

cross mark

ECDSA

Explicit Parameters

A signer can be configured using the EXPLICTECC parameter (see Other Properties) to encode the EC parameters explicitly in the request. This goes for the supported named curves but a named curve is still needed when generating the key-pair.

But certificates with explicit EC parameters can no be read from the token.

warning If the token contains certificates with explicit parameters the token can not be used by this crypto token until those certificates has been removed!

Instead store the certificates in the worker configuration and certificates with explicit EC parameters can be used that way.

check mark

AES

128
256