Condividi tramite


PKIXParameters.Date Property

Definition

Returns the time for which the validity of the certification path should be determined. -or- Sets the time for which the validity of the certification path should be determined.

public virtual Java.Util.Date? Date { [Android.Runtime.Register("getDate", "()Ljava/util/Date;", "GetGetDateHandler")] get; [Android.Runtime.Register("setDate", "(Ljava/util/Date;)V", "GetSetDate_Ljava_util_Date_Handler")] set; }
[<get: Android.Runtime.Register("getDate", "()Ljava/util/Date;", "GetGetDateHandler")>]
[<set: Android.Runtime.Register("setDate", "(Ljava/util/Date;)V", "GetSetDate_Ljava_util_Date_Handler")>]
member this.Date : Java.Util.Date with get, set

Property Value

the Date, or null if not set

Attributes

Remarks

Property getter documentation:

Returns the time for which the validity of the certification path should be determined. If null, the current time is used.

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

Java documentation for java.security.cert.PKIXParameters.getDate().

Property setter documentation:

Sets the time for which the validity of the certification path should be determined. If null, the current time is used.

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

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