Class DockerCertFileUtils
- java.lang.Object
-
- org.keycloak.protocol.docker.installation.compose.DockerCertFileUtils
-
public final class DockerCertFileUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEGIN_CERT
static String
BEGIN_PRIVATE_KEY
static String
END_CERT
static String
END_PRIVATE_KEY
static String
LINE_SEPERATOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatCrtFileContents(Certificate certificate)
static String
formatPrivateKeyContents(PrivateKey privateKey)
static String
formatPublicKeyContents(PublicKey publicKey)
-
-
-
Field Detail
-
BEGIN_CERT
public static final String BEGIN_CERT
- See Also:
- Constant Field Values
-
END_CERT
public static final String END_CERT
- See Also:
- Constant Field Values
-
BEGIN_PRIVATE_KEY
public static final String BEGIN_PRIVATE_KEY
- See Also:
- Constant Field Values
-
END_PRIVATE_KEY
public static final String END_PRIVATE_KEY
- See Also:
- Constant Field Values
-
LINE_SEPERATOR
public static final String LINE_SEPERATOR
-
-
Method Detail
-
formatCrtFileContents
public static String formatCrtFileContents(Certificate certificate) throws CertificateEncodingException
- Throws:
CertificateEncodingException
-
formatPrivateKeyContents
public static String formatPrivateKeyContents(PrivateKey privateKey)
-
-