Uses of Interface
io.github.stevenjdh.simple.ssl.PEMContext.Builder
-
Uses of PEMContext.Builder in io.github.stevenjdh.simple.ssl
Modifier and TypeMethodDescriptionPEMContext.Builder.keyStoreType
(SimpleSSLContext.KeyStoreType type) Optionally sets the keystore type being built with PKCS12 being the default.PEMContextBuilderImpl.keyStoreType
(SimpleSSLContext.KeyStoreType type) static PEMContext.Builder
SimpleSSLContext.newPEMContextBuilder()
Create newPEMContext
builder to configure a customSSLContext
instance using PEM files.PEMContext.Builder.saveKeyStore
(Path keyMaterialPath, char[] password) Optionally saves the built keystore to the provided path, and protects its integrity with a password.PEMContextBuilderImpl.saveKeyStore
(Path keyMaterialPath, char[] password) PEMContext.Builder.saveTrustStore
(Path trustMaterialPath, char[] password) Optionally saves the built truststore to the provided path, and protects its integrity with a password.PEMContextBuilderImpl.saveTrustStore
(Path trustMaterialPath, char[] password) PEMContext.Builder.trustStoreType
(SimpleSSLContext.KeyStoreType type) Optionally sets the truststore type being built with PKCS12 being the default.PEMContextBuilderImpl.trustStoreType
(SimpleSSLContext.KeyStoreType type) PEMContext.Builder.withPrivateKey
(Path keyPath, Path certPath) Optionally sets the keystore configuration using a Base64 encoded private key for building anSSLContext
.PEMContextBuilderImpl.withPrivateKey
(Path keyPath, Path certPath) PEMContext.Builder.withPrivateKeyPassword
(char[] password) Optionally sets the password for the encrypted private key material.PEMContextBuilderImpl.withPrivateKeyPassword
(char[] password) PEMContext.Builder.withPublicKey
(Path certPath) Optionally sets the truststore configuration using a Base64 encoded certificate or certificate chain for building anSSLContext
.PEMContextBuilderImpl.withPublicKey
(Path certPath)