public class ExtendedSignerProvider extends ApacheSantuarioSignerProviderImpl
ApacheSantuarioSignerProviderImpl). Therefore, the
ExtendedSignerProvider overrides ApacheSantuarioSignerProviderImpl with functionality that performs
the PSS padding in software and only the raw RSA encryption operation is done in the HSM. This enables RSA-PSS
signing with RSA keys in HSM even when RSA-PSS is not supported by the PKCS#11 API.ApacheSantuarioSignerProviderImpl| Constructor and Description |
|---|
ExtendedSignerProvider()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
signObject(Signature signature)
Tests if the signing key is a SUN PKCS#11 key and the signing algorithm is RSA-PSS.
|
public void signObject(Signature signature) throws SignatureException
signObject in interface SignerProvidersignObject in class ApacheSantuarioSignerProviderImplSignatureExceptionCopyright © 2020 Sweden Connect. All rights reserved.