X509CertSelector.PrivateKeyValid Property

Definition

Returns the privateKeyValid criterion. -or- Sets the privateKeyValid criterion.

public virtual Java.Util.Date? PrivateKeyValid { [Android.Runtime.Register("getPrivateKeyValid", "()Ljava/util/Date;", "GetGetPrivateKeyValidHandler")] get; [Android.Runtime.Register("setPrivateKeyValid", "(Ljava/util/Date;)V", "GetSetPrivateKeyValid_Ljava_util_Date_Handler")] set; }
[<get: Android.Runtime.Register("getPrivateKeyValid", "()Ljava/util/Date;", "GetGetPrivateKeyValidHandler")>]
[<set: Android.Runtime.Register("setPrivateKeyValid", "(Ljava/util/Date;)V", "GetSetPrivateKeyValid_Ljava_util_Date_Handler")>]
member this.PrivateKeyValid : Java.Util.Date with get, set

Property Value

the Date to check (or null)

Attributes

Remarks

Property getter documentation:

Returns the privateKeyValid criterion. The specified date must fall within the private key validity period for the X509Certificate. If null, no privateKeyValid check will be done.

Note that the Date returned is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.X509CertSelector.getPrivateKeyValid().

Property setter documentation:

Sets the privateKeyValid criterion. The specified date must fall within the private key validity period for the X509Certificate. If null, no privateKeyValid check will be done.

Note that the Date supplied here is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.X509CertSelector.setPrivateKeyValid(java.util.Date).

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