Class JGroupsCertificateHolder
java.lang.Object
org.keycloak.infinispan.module.certificates.JGroupsCertificateHolder
Holds the JGroups certificate and updates the
X509ExtendedKeyManager
and X509ExtendedTrustManager
used by the TLS/SSL sockets.-
Method Summary
Modifier and TypeMethodDescriptionstatic JGroupsCertificateHolder
create
(JGroupsCertificate certificate) void
setExceptionHandler
(Runnable runnable) void
useCertificate
(JGroupsCertificate certificate)
-
Method Details
-
create
public static JGroupsCertificateHolder create(JGroupsCertificate certificate) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
getCertificateInUse
-
useCertificate
public void useCertificate(JGroupsCertificate certificate) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
keyManager
-
trustManager
-
setExceptionHandler
-