Compartir a través de


X509CertSelector.CertificateValid Property

Definition

Returns the certificateValid criterion. -or- Sets the certificateValid criterion.

public virtual Java.Util.Date? CertificateValid { [Android.Runtime.Register("getCertificateValid", "()Ljava/util/Date;", "GetGetCertificateValidHandler")] get; [Android.Runtime.Register("setCertificateValid", "(Ljava/util/Date;)V", "GetSetCertificateValid_Ljava_util_Date_Handler")] set; }
[<get: Android.Runtime.Register("getCertificateValid", "()Ljava/util/Date;", "GetGetCertificateValidHandler")>]
[<set: Android.Runtime.Register("setCertificateValid", "(Ljava/util/Date;)V", "GetSetCertificateValid_Ljava_util_Date_Handler")>]
member this.CertificateValid : Java.Util.Date with get, set

Property Value

the Date to check (or null)

Attributes

Remarks

Property getter documentation:

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

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

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

Property setter documentation:

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

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

Java documentation for java.security.cert.X509CertSelector.setCertificateValid(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