Language

KeyNotYetValidException Constructors

Definition

Overloads

Name Description
KeyNotYetValidException()

Constructs a new KeyNotYetValidException without detail message and cause.

KeyNotYetValidException(String)

Constructs a new KeyNotYetValidException with the provided detail message and no cause.

KeyNotYetValidException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

KeyNotYetValidException(String, Throwable)

Constructs a new KeyNotYetValidException with the provided detail message and cause.

KeyNotYetValidException()

Constructs a new KeyNotYetValidException without detail message and cause.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=23)]
public KeyNotYetValidException();
Attributes

Remarks

Constructs a new KeyNotYetValidException without detail message and cause.

Java documentation for android.security.keystore.KeyNotYetValidException.KeyNotYetValidException().

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

KeyNotYetValidException(String)

Constructs a new KeyNotYetValidException with the provided detail message and no cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)]
public KeyNotYetValidException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Security.Keystore.KeyNotYetValidException : string -> Android.Security.Keystore.KeyNotYetValidException

Parameters

message
String

The detail message stored in the exception.

Attributes

Remarks

Constructs a new KeyNotYetValidException with the provided detail message and no cause.

Java documentation for android.security.keystore.KeyNotYetValidException.KeyNotYetValidException(java.lang.String).

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

KeyNotYetValidException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

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

KeyNotYetValidException(String, Throwable)

Constructs a new KeyNotYetValidException with the provided detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=23)]
public KeyNotYetValidException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=23)>]
new Android.Security.Keystore.KeyNotYetValidException : string * Java.Lang.Throwable -> Android.Security.Keystore.KeyNotYetValidException

Parameters

message
String

The detail message stored in the exception.

cause
Throwable

The exception that caused this failure, or null if no cause is supplied.

Attributes

Remarks

Constructs a new KeyNotYetValidException with the provided detail message and cause.

Java documentation for android.security.keystore.KeyNotYetValidException.KeyNotYetValidException(java.lang.String, java.lang.Throwable).

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