Dil

X509Certificate.NotBefore Property

Definition

Returns the notBefore date from the validity period of the certificate.

public abstract Java.Util.Date? NotBefore { [Android.Runtime.Register("getNotBefore", "()Ljava/util/Date;", "GetGetNotBeforeHandler")] get; }
[<get: Android.Runtime.Register("getNotBefore", "()Ljava/util/Date;", "GetGetNotBeforeHandler")>]
member this.NotBefore : Java.Util.Date

Property Value

the start date of the validity period.

Attributes

Remarks

Gets the notBefore date from the validity period of the certificate.

validity             Validity

Validity ::= SEQUENCE {
    notBefore      CertificateValidityDate,
    notAfter       CertificateValidityDate }

CertificateValidityDate ::= CHOICE {
    utcTime        UTCTime,
    generalTime    GeneralizedTime }

Java reference for java.security.cert.X509Certificate.getNotBefore.

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