Class Utils
java.lang.Object
org.keycloak.jgroups.certificates.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509ExtendedKeyManagercreateKeyManager(JGroupsCertificate certificate) static X509ExtendedTrustManagercreateTrustManager(JGroupsCertificate certificate) static JGroupsCertificategenerateSelfSignedCertificate(Duration validity)
-
Method Details
-
generateSelfSignedCertificate
-
createKeyManager
public static X509ExtendedKeyManager createKeyManager(JGroupsCertificate certificate) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
createTrustManager
public static X509ExtendedTrustManager createTrustManager(JGroupsCertificate certificate) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-