ASN1_GENERALIZEDTIME_set_string function
ASN1_GENERALIZEDTIME_set_string sets |s| to a GeneralizedTime whose contents are a copy of |str|. It returns one on success and zero on error or if |str| is not a valid GeneralizedTime.
If |s| is NULL, this function validates |str| without copying it.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(ffi.Pointer<ASN1_GENERALIZEDTIME>, ffi.Pointer<ffi.Char>)
>(symbol: 'bssl_dart_ASN1_GENERALIZEDTIME_set_string')
external int ASN1_GENERALIZEDTIME_set_string(
ffi.Pointer<ASN1_GENERALIZEDTIME> s,
ffi.Pointer<ffi.Char> str,
);