다음을 통해 공유


MessageDigest Constructors

Definition

Overloads

MessageDigest(String)

Creates a message digest with the specified algorithm name.

MessageDigest(IntPtr, JniHandleOwnership)

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

MessageDigest(String)

Creates a message digest with the specified algorithm name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
protected MessageDigest (string algorithm);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.MessageDigest : string -> Java.Security.MessageDigest

Parameters

algorithm
String

the standard name of the digest algorithm. See the MessageDigest section in the Java Security Standard Algorithm Names Specification for information about standard algorithm names.

Attributes

Remarks

Creates a message digest with the specified algorithm name.

Java documentation for java.security.MessageDigest.MessageDigest(java.lang.String).

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

MessageDigest(IntPtr, JniHandleOwnership)

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

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

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