Package org.keycloak.services.util
Class CertificateInfoHelper
- java.lang.Object
-
- org.keycloak.services.util.CertificateInfoHelper
-
public class CertificateInfoHelper extends Object
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static String
KID
static String
PRIVATE_KEY
static String
PUBLIC_KEY
static String
X509CERTIFICATE
-
Constructor Summary
Constructors Constructor Description CertificateInfoHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
PRIVATE_KEY
public static final String PRIVATE_KEY
- See Also:
- Constant Field Values
-
X509CERTIFICATE
public static final String X509CERTIFICATE
- See Also:
- Constant Field Values
-
PUBLIC_KEY
public static final String PUBLIC_KEY
- See Also:
- Constant Field Values
-
KID
public static final String KID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
-