Package org.keycloak.services.util
Class CertificateInfoHelper
java.lang.Object
org.keycloak.services.util.CertificateInfoHelper
- Author:
- Marek Posolda
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateRepresentation
getCertificateFromClient
(ClientModel client, String attributePrefix) static void
updateClientModelCertificateInfo
(ClientModel client, CertificateRepresentation rep, String attributePrefix) static void
updateClientRepresentationCertificateInfo
(ClientRepresentation client, CertificateRepresentation rep, String attributePrefix)
-
Field Details
-
PRIVATE_KEY
- See Also:
-
X509CERTIFICATE
- See Also:
-
PUBLIC_KEY
- See Also:
-
KID
- See Also:
-
-
Constructor Details
-
CertificateInfoHelper
public CertificateInfoHelper()
-
-
Method Details
-
getCertificateFromClient
public static CertificateRepresentation getCertificateFromClient(ClientModel client, String attributePrefix) -
updateClientModelCertificateInfo
public static void updateClientModelCertificateInfo(ClientModel client, CertificateRepresentation rep, String attributePrefix) -
updateClientRepresentationCertificateInfo
public static void updateClientRepresentationCertificateInfo(ClientRepresentation client, CertificateRepresentation rep, String attributePrefix)
-