Udostępnij za pośrednictwem


MediaDrm.CryptoSession.Verify(Byte[], Byte[], Byte[]) Method

Definition

Verify a signature using the CryptoSessions's mac algorithm.

[Android.Runtime.Register("verify", "([B[B[B)Z", "")]
public bool Verify (byte[] keyid, byte[] message, byte[] signature);
[<Android.Runtime.Register("verify", "([B[B[B)Z", "")>]
member this.Verify : byte[] * byte[] * byte[] -> bool

Parameters

keyid
Byte[]

specifies which key to use

message
Byte[]

the data to verify

signature
Byte[]

the reference signature which will be compared with the computed signature

Returns

Attributes

Remarks

Verify a signature using the CryptoSessions's mac algorithm. Return true if the signatures match, false if they do no.

Java documentation for android.media.MediaDrm.CryptoSession.verify(byte[], byte[], byte[]).

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