decryptingSource

open override fun decryptingSource(ciphertext: RawSource): RawSource(source)

Returns a RawSource that decrypts data as it is read from the given ciphertext source without associated data.

Use decryptingSink to wrap a sink instead.


abstract fun decryptingSource(ciphertext: RawSource, associatedData: ByteArray?): RawSource(source)
open fun decryptingSource(ciphertext: RawSource, associatedData: ByteString?): RawSource(source)

Returns a RawSource that decrypts data as it is read from the given ciphertext source with optional associatedData.

Use decryptingSink to wrap a sink instead.