PemComboFile

data class PemComboFile(certificates: List<ByteString>, privateRsaKeys: List<ByteString>, privateKeys: List<ByteString>, passphrase: String)

A file containing a mix of PEM-encoded certificates and PEM-encoded private keys. Can be used both for trust stores (which certificate authorities a TLS client trusts) and also for TLS servers (which certificate chain a TLS server serves).

Constructors

Link copied to clipboard
fun PemComboFile(certificates: List<ByteString>, privateRsaKeys: List<ByteString>, privateKeys: List<ByteString>, passphrase: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun decodeCertificates(): List<Certificate>
Link copied to clipboard
fun newEmptyKeyStore(): KeyStore

Properties

Link copied to clipboard
val certificates: List<ByteString>
Link copied to clipboard
val passphrase: String
Link copied to clipboard
val privateKeys: List<ByteString>
Link copied to clipboard
val privateRsaKeys: List<ByteString>