static fun openDecryptionStream(key: Key!, header: ByteArray!): SecretDecryptionStream!
(source)
Open an decryption stream.
key
- Key!: The key to use for decryption.
header
- ByteArray!: The header for the stream.
UnsupportedOperationException
- If XChaCha20Poly1305 secret stream support is not available.
Return
SecretDecryptionStream!: The input stream.