Android Guides | Samples

Javax.Crypto.CipherInputStream Class

This class wraps an InputStream and a cipher so that read() methods return data that are read from the underlying InputStream and processed by the cipher.

See Also: CipherInputStream

Syntax

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

Remarks

This class wraps an InputStream and a cipher so that read() methods return data that are read from the underlying InputStream and processed by the cipher.

The cipher must be initialized for the requested operation before being used by a CipherInputStream. For example, if a cipher initialized for decryption is used with a CipherInputStream, the CipherInputStream tries to read the data an decrypt them before returning.

[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.CipherInputStream are listed below.

See Also: FilterInputStream

Public Constructors

Creates a new CipherInputStream instance for an InputStream and a cipher.

Protected Constructors

Creates a new CipherInputStream instance for an InputStream 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.