Set an ASN1_UTCTIME from an ASN.1 UTCTime string (or only validate when s is NULL).
Declared in <openssl/asn1.h>
int
ASN1_UTCTIME_set_string(
ASN1_UTCTIME* s,
char const* str);
1 on success, or 0 if the string is not a valid UTCTime.
| Name | Description |
|---|---|
| s | Destination UTCTIME, or NULL to format-check str only. |
| str | NUL-terminated UTCTime string such as YYMMDDHHMMSSZ. |