CipherOutputStream 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
CipherOutputStream(Stream) |
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher. |
CipherOutputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
CipherOutputStream(Stream, Cipher) |
Constructs a CipherOutputStream from an OutputStream and a Cipher. |
CipherOutputStream(Stream)
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher.
[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")]
protected CipherOutputStream (System.IO.Stream? os);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")>]
new Javax.Crypto.CipherOutputStream : System.IO.Stream -> Javax.Crypto.CipherOutputStream
Parameters
- os
- Stream
the OutputStream object
- Attributes
Remarks
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher. This has the effect of constructing a CipherOutputStream using a NullCipher. <br>Note: if the specified output stream is null, a NullPointerException may be thrown later when it is used.
Java documentation for javax.crypto.CipherOutputStream.CipherOutputStream(java.io.OutputStream)
.
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
CipherOutputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected CipherOutputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.CipherOutputStream : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.CipherOutputStream
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
CipherOutputStream(Stream, Cipher)
Constructs a CipherOutputStream from an OutputStream and a Cipher.
[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljavax/crypto/Cipher;)V", "")]
public CipherOutputStream (System.IO.Stream? os, Javax.Crypto.Cipher? c);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljavax/crypto/Cipher;)V", "")>]
new Javax.Crypto.CipherOutputStream : System.IO.Stream * Javax.Crypto.Cipher -> Javax.Crypto.CipherOutputStream
Parameters
- os
- Stream
the OutputStream object
- c
- Cipher
an initialized Cipher object
- Attributes
Remarks
Constructs a CipherOutputStream from an OutputStream and a Cipher. <br>Note: if the specified output 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.