Android Guides | Samples

Javax.Crypto.CipherOutputStream Class

This class wraps an output stream and a cipher so that write methods send the data through the cipher before writing them to the underlying output stream.

See Also: CipherOutputStream

Syntax

[Android.Runtime.Register("javax/crypto/CipherOutputStream", DoNotGenerateAcw=true)]
public class CipherOutputStream : FilterOutputStream

Remarks

This class wraps an output stream and a cipher so that write methods send the data through the cipher before writing them to the underlying output stream.

The cipher must be initialized for the requested operation before being used by a CipherOutputStream. For example, if a cipher initialized for encryption is used with a CipherOutputStream, the CipherOutputStream tries to encrypt the data writing it out.

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Javax.Crypto.CipherOutputStream are listed below.

See Also: FilterOutputStream

Public Constructors

Creates a new CipherOutputStream instance for an OutputStream and a Cipher.

Protected Constructors

Creates a new CipherOutputStream instance for an OutputStream without a cipher.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.