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 CertificateRepresentation
static void
updateClientModelCertificateInfo
(ClientModel client, CertificateRepresentation rep, String attributePrefix) static void
updateClientModelJwksString
(ClientModel client, String attributePrefix, String jwks) 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) -
jwksStringToSigCertificateRepresentation
-
updateClientModelCertificateInfo
public static void updateClientModelCertificateInfo(ClientModel client, CertificateRepresentation rep, String attributePrefix) -
updateClientModelJwksString
public static void updateClientModelJwksString(ClientModel client, String attributePrefix, String jwks) -
updateClientRepresentationCertificateInfo
public static void updateClientRepresentationCertificateInfo(ClientRepresentation client, CertificateRepresentation rep, String attributePrefix)
-