語言

KeyRep 建構函式

定義

多載

名稱 Description
KeyRep(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

KeyRep(KeyRep+Type, String, String, Byte[])

建構替代的鑰匙類別。

KeyRep(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected KeyRep(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.KeyRep : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.KeyRep

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

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

適用於

KeyRep(KeyRep+Type, String, String, Byte[])

建構替代的鑰匙類別。

[Android.Runtime.Register(".ctor", "(Ljava/security/KeyRep$Type;Ljava/lang/String;Ljava/lang/String;[B)V", "")]
public KeyRep(Java.Security.KeyRep.Type? type, string? algorithm, string? format, byte[]? encoded);
[<Android.Runtime.Register(".ctor", "(Ljava/security/KeyRep$Type;Ljava/lang/String;Ljava/lang/String;[B)V", "")>]
new Java.Security.KeyRep : Java.Security.KeyRep.Type * string * string * byte[] -> Java.Security.KeyRep

參數

type
KeyRep.Type

可能是 Type.SECRET、Type.PUBLIC 或 Type.PRIVATE 之一

algorithm
String

演算法返回於 Key.getAlgorithm()

format
String

編碼格式回歸自 Key.getFormat()

encoded
Byte[]

Key.getEncoded()

屬性

例外狀況

type, algorithm, format or encodednull

備註

Java 文件 java.security.KeyRep.KeyRep(java.security.Type, java.lang.String, java.lang.String, byte[])

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

適用於