read

open override fun read(path: String): ByteArray

Reads and decrypts key ring bytes from path.

Return

Decrypted armored key ring bytes, size-limited via PgpIo.readLimited.

Parameters

path

Absolute path previously returned by write or writePublic.

Throws

if path does not refer to an existing file.