notAfter property

DateTime? notAfter

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

Implementation

DateTime? get notAfter {
  var data =
      block1?.atIndex(X509BlockPosition.dateValidity)?.subAtIndex(1)?.value;
  return data is DateTime ? data : null;
}