Udostępnij za pośrednictwem


CertificateRevokedException.InvalidityDate Property

Definition

Returns the invalidity date, as specified in the Invalidity Date extension of this CertificateRevokedException.

public virtual Java.Util.Date? InvalidityDate { [Android.Runtime.Register("getInvalidityDate", "()Ljava/util/Date;", "GetGetInvalidityDateHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getInvalidityDate", "()Ljava/util/Date;", "GetGetInvalidityDateHandler", ApiSince=24)>]
member this.InvalidityDate : Java.Util.Date

Property Value

the invalidity date, or null if not specified

Attributes

Remarks

Returns the invalidity date, as specified in the Invalidity Date extension of this CertificateRevokedException. The invalidity date is the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid. This implementation calls getExtensions() and checks the returned map for an entry for the Invalidity Date extension OID ("2.5.29.24"). If found, it returns the invalidity date in the extension; otherwise null. A new Date object is returned each time the method is invoked to protect against subsequent modification.

Java documentation for java.security.cert.CertificateRevokedException.getInvalidityDate().

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