Class JGroupsCertificate

java.lang.Object
org.keycloak.infinispan.module.certificates.JGroupsCertificate

public class JGroupsCertificate extends Object
JPA entity to store the X509Certificate and KeyPair.
  • Constructor Details

    • JGroupsCertificate

      public JGroupsCertificate()
  • Method Details

    • getCertificatePem

      public String getCertificatePem()
    • setCertificatePem

      public void setCertificatePem(String certificatePem)
    • getPrivateKeyPem

      public String getPrivateKeyPem()
    • setPrivateKeyPem

      public void setPrivateKeyPem(String privateKeyPem)
    • getPublicKeyPem

      public String getPublicKeyPem()
    • setPublicKeyPem

      public void setPublicKeyPem(String publicKeyPem)
    • getAlias

      public String getAlias()
    • setAlias

      public void setAlias(String alias)
    • getGeneratedMillis

      public long getGeneratedMillis()
    • setGeneratedMillis

      public void setGeneratedMillis(long generatedMillis)
    • setCertificate

      public void setCertificate(X509Certificate certificate)
    • setKeyPair

      public void setKeyPair(KeyPair keyPair)
    • getCertificate

      public X509Certificate getCertificate()
    • getKeyPair

      public KeyPair getKeyPair()
    • getPrivateKey

      public PrivateKey getPrivateKey()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isSameAlias

      public boolean isSameAlias(String jsonCertificate)
    • toJson

      public static String toJson(JGroupsCertificate entity)
    • fromJson

      public static JGroupsCertificate fromJson(String json)