Lenguaje

KeyRep Constructores

Definición

Sobrecargas

Nombre Description
KeyRep(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

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

Construya la clase Key alternativa.

KeyRep(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

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

Parámetros

javaReference
IntPtr

nativeint

que IntPtrcontiene una referencia de objeto de Java Native Interface (JNI).

transfer
JniHandleOwnership

un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

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

Construya la clase Key alternativa.

[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

Parámetros

type
KeyRep.Type

ya sea uno de Type.SECRET, Type.PUBLIC o Type.PRIVATE

algorithm
String

el algoritmo devuelto desde Key.getAlgorithm()

format
String

el formato de codificación devuelto desde Key.getFormat()

encoded
Byte[]

los bytes codificados devueltos desde Key.getEncoded()

Atributos

Excepciones

si type, algorithm, format or encoded es null .

Comentarios

Java documentación para java.security.KeyRep.KeyRep(java.security.Type, java.lang.String, java.lang.String, byte[]).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a