共用方式為


DigestInputStream.On(Boolean) Method

Definition

Turns the digest function on or off.

[Android.Runtime.Register("on", "(Z)V", "GetOn_ZHandler")]
public virtual void On (bool on);
[<Android.Runtime.Register("on", "(Z)V", "GetOn_ZHandler")>]
abstract member On : bool -> unit
override this.On : bool -> unit

Parameters

on
Boolean

true to turn the digest function on, false to turn it off.

Attributes

Remarks

Turns the digest function on or off. The default is on. When it is on, a call to one of the read methods results in an update on the message digest. But when it is off, the message digest is not updated.

Java documentation for java.security.DigestInputStream.on(boolean).

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

See also