ASN1_TIME_set_string_X509 function
ASN1_TIME_set_string_X509 behaves like |ASN1_TIME_set_string| except it additionally converts GeneralizedTime to UTCTime if it is in the range where UTCTime is used. See RFC 5280, section 4.1.2.5.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<ASN1_TIME>, ffi.Pointer<ffi.Char>)>(
symbol: 'bssl_dart_ASN1_TIME_set_string_X509',
)
external int ASN1_TIME_set_string_X509(
ffi.Pointer<ASN1_TIME> s,
ffi.Pointer<ffi.Char> str,
);