Share via


DigestInputStream Constructors

Definition

Overloads

DigestInputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DigestInputStream(Stream, MessageDigest)

Creates a digest input stream, using the specified input stream and message digest.

DigestInputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DigestInputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.DigestInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.DigestInputStream

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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

DigestInputStream(Stream, MessageDigest)

Creates a digest input stream, using the specified input stream and message digest.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/security/MessageDigest;)V", "")]
public DigestInputStream (System.IO.Stream? stream, Java.Security.MessageDigest? digest);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/security/MessageDigest;)V", "")>]
new Java.Security.DigestInputStream : System.IO.Stream * Java.Security.MessageDigest -> Java.Security.DigestInputStream

Parameters

stream
Stream

the input stream.

digest
MessageDigest

the message digest to associate with this stream.

Attributes

Remarks

Creates a digest input stream, using the specified input stream and message digest.

Java documentation for java.security.DigestInputStream.DigestInputStream(java.io.InputStream, java.security.MessageDigest).

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