Javax.Security.Cert.X509Certificate.CheckValidity Method
Checks whether the certificate is valid at the specified date.

Syntax

[Android.Runtime.Register("checkValidity", "(Ljava/util/Date;)V", "GetCheckValidity_Ljava_util_Date_Handler")]
public abstract void CheckValidity (Java.Util.Date date)

See Also

X509Certificate.CheckValidity

Parameters

date
the date to check the validity against.

Exceptions

TypeReason
Javax.Security.Cert.CertificateExpiredExceptionif the certificate has expired.
Javax.Security.Cert.CertificateNotYetValidExceptionif the certificate is not yet valid.

Remarks

Checks whether the certificate is valid at the specified date.

[Android Documentation]

Requirements

Namespace: Javax.Security.Cert
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1