語言

PresentationSession.SetSessionTranscript(Byte[]) 方法

定義

設定會議逐字稿。

[Android.Runtime.Register("setSessionTranscript", "([B)V", "GetSetSessionTranscript_arrayBHandler", ApiSince=33)]
public abstract void SetSessionTranscript(byte[] sessionTranscript);
[<Android.Runtime.Register("setSessionTranscript", "([B)V", "GetSetSessionTranscript_arrayBHandler", ApiSince=33)>]
abstract member SetSessionTranscript : byte[] -> unit

參數

sessionTranscript
Byte[]

會議記錄。

屬性

備註

設定會議逐字稿。

若被調用,必須先呼叫此符文,再呼喚任何對 #getCredentialData(String, CredentialDataRequest)的呼叫。

若使用 mdoc 會話加密(例如 #getEphemeralKeyPair() 已被呼叫),則由 回 #getEphemeralKeyPair() 傳的金鑰對公開部分的 X 與 Y 座標必須出現在傳遞的 CBOR 的位元組中。 這些座標必須先以最高有效位元編碼,並使用短暫金鑰大小所指示的精確位元數。 例如,若臨時金鑰使用 P-256 曲線,則 X 座標的 32 位元組以最高位元編碼,Y 座標的 32 位元組也必須出現在某處。

此方法每個實例只能呼叫一次 PresentationSession

Java 文件 android.security.identity.PresentationSession.setSessionTranscript(byte[])

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於