Freigeben über


TvInteractiveAppService.Session.RequestSigning Method

Definition

Requests signing of the given data.

[Android.Runtime.Register("requestSigning", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)V", "GetRequestSigning_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_arrayBHandler", ApiSince=33)]
public virtual void RequestSigning (string signingId, string algorithm, string alias, byte[] data);
[<Android.Runtime.Register("requestSigning", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)V", "GetRequestSigning_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_arrayBHandler", ApiSince=33)>]
abstract member RequestSigning : string * string * string * byte[] -> unit
override this.RequestSigning : string * string * string * byte[] -> unit

Parameters

signingId
String

the ID to identify the request. When a result is received, this ID can be used to correlate the result with the request.

algorithm
String

the standard name of the signature algorithm requested, such as MD5withRSA, SHA256withDSA, etc. The name is from standards like FIPS PUB 186-4 and PKCS #1.

alias
String

the alias of the corresponding java.security.KeyStore.

data
Byte[]

the original bytes to be signed.

Attributes

Remarks

Requests signing of the given data.

This is used when the corresponding server of the broadcast-independent interactive app requires signing during handshaking, and the interactive app service doesn't have the built-in private key. The private key is provided by the content providers and pre-built in the related app, such as TV app.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.requestSigning(java.lang.String, java.lang.String, java.lang.String, 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