CipherInputStream Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CipherInputStream(Stream) |
Constructs a CipherInputStream from an InputStream without specifying a Cipher. |
CipherInputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
CipherInputStream(Stream, Cipher) |
Constructs a CipherInputStream from an InputStream and a Cipher. |
CipherInputStream(Stream)
Constructs a CipherInputStream from an InputStream without specifying a Cipher.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
protected CipherInputStream (System.IO.Stream? is);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Javax.Crypto.CipherInputStream : System.IO.Stream -> Javax.Crypto.CipherInputStream
Parameters
- is
- Stream
the to-be-processed input stream
- Attributes
Remarks
Constructs a CipherInputStream from an InputStream without specifying a Cipher. This has the effect of constructing a CipherInputStream using a NullCipher. <br>Note: if the specified input stream is null, a NullPointerException may be thrown later when it is used.
Java documentation for javax.crypto.CipherInputStream.CipherInputStream(java.io.InputStream)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CipherInputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected CipherInputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.CipherInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.CipherInputStream
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CipherInputStream(Stream, Cipher)
Constructs a CipherInputStream from an InputStream and a Cipher.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljavax/crypto/Cipher;)V", "")]
public CipherInputStream (System.IO.Stream? is, Javax.Crypto.Cipher? c);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljavax/crypto/Cipher;)V", "")>]
new Javax.Crypto.CipherInputStream : System.IO.Stream * Javax.Crypto.Cipher -> Javax.Crypto.CipherInputStream
Parameters
- is
- Stream
the to-be-processed input stream
- c
- Cipher
an initialized Cipher object
- Attributes
Remarks
Constructs a CipherInputStream from an InputStream and a Cipher. <br>Note: if the specified input stream or cipher is null, a NullPointerException may be thrown later when they are used.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.