Partager via


MessageDigestSpi.EngineGetDigestLength Method

Definition

Returns the digest length in bytes.

[Android.Runtime.Register("engineGetDigestLength", "()I", "GetEngineGetDigestLengthHandler")]
protected virtual int EngineGetDigestLength ();
[<Android.Runtime.Register("engineGetDigestLength", "()I", "GetEngineGetDigestLengthHandler")>]
abstract member EngineGetDigestLength : unit -> int
override this.EngineGetDigestLength : unit -> int

Returns

the digest length in bytes.

Attributes

Remarks

Returns the digest length in bytes.

This concrete method has been added to this previously-defined abstract class. (For backwards compatibility, it cannot be abstract.)

The default behavior is to return 0.

This method may be overridden by a provider to return the digest length.

Added in 1.2.

Java documentation for java.security.MessageDigestSpi.engineGetDigestLength().

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