Compartilhar via


WrappedKeyEntry Constructors

Definition

Overloads

WrappedKeyEntry(IntPtr, JniHandleOwnership)
WrappedKeyEntry(Byte[], String, String, IAlgorithmParameterSpec)

Constructs a WrappedKeyEntry with a binary wrapped key.

WrappedKeyEntry(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

Applies to

WrappedKeyEntry(Byte[], String, String, IAlgorithmParameterSpec)

Constructs a WrappedKeyEntry with a binary wrapped key.

[Android.Runtime.Register(".ctor", "([BLjava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=28)]
public WrappedKeyEntry (byte[]? wrappedKeyBytes, string? wrappingKeyAlias, string? transformation, Java.Security.Spec.IAlgorithmParameterSpec? algorithmParameterSpec);
[<Android.Runtime.Register(".ctor", "([BLjava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=28)>]
new Android.Security.Keystore.WrappedKeyEntry : byte[] * string * string * Java.Security.Spec.IAlgorithmParameterSpec -> Android.Security.Keystore.WrappedKeyEntry

Parameters

wrappedKeyBytes
Byte[]

ASN.1 DER encoded wrapped key

wrappingKeyAlias
String

identifies the private key that can unwrap the wrapped key

transformation
String

used to unwrap the key. ex: "RSA/ECB/OAEPPadding"

algorithmParameterSpec
IAlgorithmParameterSpec

spec for the private key used to unwrap the wrapped key

Attributes

Remarks

Constructs a WrappedKeyEntry with a binary wrapped key.

Java documentation for android.security.keystore.WrappedKeyEntry.WrappedKeyEntry(byte[], java.lang.String, java.lang.String, java.security.spec.AlgorithmParameterSpec).

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