SSLCertificateUtils

General SSL utilities used for certificate and keystore operations related to secured db connections.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun convertPKCS1ToPKCS8(pkcs1KeyPath: Path, pkcs8KeyPath: Path, keyStorePassword: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isDsaKey(keyBytes: ByteArray): Boolean
Link copied to clipboard
fun isEcKey(keyBytes: ByteArray): Boolean
Link copied to clipboard
fun isRsaKey(keyBytes: ByteArray): Boolean
Link copied to clipboard
fun keyStoreFromCertificate(certString: String, keyStorePassword: String): URI
fun keyStoreFromCertificate(certString: String, keyStorePassword: String, directory: String): URI
fun keyStoreFromCertificate(cert: Certificate, keyStorePassword: String, filesystem: FileSystem, directory: String): URI
fun keyStoreFromCertificate(certString: String, keyStorePassword: String, filesystem: FileSystem, directory: String): URI
Link copied to clipboard
fun keyStoreFromClientCertificate(certString: String, keyString: String, keyStorePassword: String, directory: String): URI
fun keyStoreFromClientCertificate(cert: Certificate, key: PrivateKey, keyStorePassword: String, filesystem: FileSystem, directory: String): URI
fun keyStoreFromClientCertificate(certString: String, keyString: String, keyStorePassword: String, filesystem: FileSystem, directory: String): URI