public class SSLContextCustomBitDive extends Object
| Constructor and Description |
|---|
SSLContextCustomBitDive() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureValidCertificate()
Ensures that the certificate is valid.
|
static PrivateKey |
loadPrivateKey(String pem)
Loads a private key from a PEM-formatted string.
|
public static void ensureValidCertificate()
throws Exception
Exceptionpublic static PrivateKey loadPrivateKey(String pem) throws IOException, org.bouncycastle.operator.OperatorCreationException
pem - the PEM-formatted private keyIOExceptionorg.bouncycastle.operator.OperatorCreationExceptionCopyright © 2025. All rights reserved.