tuweni / org.apache.tuweni.net.tls / TLS / readPemFile

readPemFile

static fun readPemFile(certificate: Path!): ByteArray! (source)

Read a PEM-encoded file.

Parameters

certificate - Path!: The path to a PEM-encoded file.

Exceptions

IOException - If an IO error occurs.

Return
ByteArray!: The bytes for the PEM content.