write

open override fun write(keyId: Long, data: ByteArray): String

Writes secret key ring bytes for keyId, replacing any existing file at the target path.

Return

Absolute filesystem path of the written encrypted file.

Parameters

keyId

Master key identifier used to derive the filename.

data

Armored secret key ring bytes.