Set an ASN.1 time from an ASN.1 time string (UTCTime or GeneralizedTime form).
1 on success, or 0 if the string is not a valid ASN.1 time.
| Name | Description |
|---|---|
| s | Destination time, or NULL to only validate str. |
| str | NUL-terminated time string such as YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ. |