PemReader

cc.otavia.handler.ssl.PemReader
object PemReader

Reads a PEM file and converts it into a list of DERs so that they are imported into a KeyStore easily.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PemReader.type

Members list

Value members

Concrete methods

def readCertificates(file: File): Array[Array[Byte]]
def readCertificates(in: InputStream): Array[Array[Byte]]
def readPrivateKey(file: File): Array[Byte]
def readPrivateKey(in: InputStream): Array[Byte]