Share via


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

Definition

Decrypt data using the CryptoSessions's cipher algorithm

[Android.Runtime.Register("decrypt", "([B[B[B)[B", "")]
public byte[] Decrypt (byte[] keyid, byte[] input, byte[] iv);
[<Android.Runtime.Register("decrypt", "([B[B[B)[B", "")>]
member this.Decrypt : byte[] * byte[] * byte[] -> byte[]

Parameters

keyid
Byte[]

specifies which key to use

input
Byte[]

the data to encrypt

iv
Byte[]

the initialization vector to use for the cipher

Returns

Byte[]
Attributes

Remarks

Decrypt data using the CryptoSessions's cipher algorithm

Java documentation for android.media.MediaDrm.CryptoSession.decrypt(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