Class HSMCredentials
java.lang.Object
com.adobe.internal.pdftoolkit.core.credentials.impl.RSACredentials
com.adobe.internal.pdftoolkit.core.credentials.impl.HSMCredentials
- All Implemented Interfaces:
Credentials
HSMCredentials contains the key handle, session spec and certificates required for signing on an hardware device.
-
Constructor Summary
ConstructorsConstructorDescriptionHSMCredentials(HSMPrivateKey privateKey, com.rsa.certj.cert.X509Certificate cert, com.rsa.certj.cert.Certificate[] certChain) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis may later be changed to accept a Custom DB provider implementation.voidThe CustomDB provider implementation will be used during HSM signing if this method is called.booleancom.rsa.jsafe.JSAFE_Session[]voidsetSession(com.rsa.jsafe.JSAFE_Session[] session) Methods inherited from class com.adobe.internal.pdftoolkit.core.credentials.impl.RSACredentials
buildRSACertChain, getJSAFEPrivateKey, getRSACert, getRSAX509Cert, getRSAX509CertChain, isHSM, newInstance, newInstance
-
Constructor Details
-
HSMCredentials
public HSMCredentials(HSMPrivateKey privateKey, com.rsa.certj.cert.X509Certificate cert, com.rsa.certj.cert.Certificate[] certChain)
-
-
Method Details
-
getSession
public com.rsa.jsafe.JSAFE_Session[] getSession() -
setSession
public void setSession(com.rsa.jsafe.JSAFE_Session[] session) -
enableCustomDB
public void enableCustomDB()The CustomDB provider implementation will be used during HSM signing if this method is called. -
disableCustomDB
public void disableCustomDB()This may later be changed to accept a Custom DB provider implementation. For now this is a way for our clients to see if using our own custom db provides performance improvements during HSM signing. -
getCustomDBPref
public boolean getCustomDBPref()
-