d2i_ASN1_UTCTIME function
- @RecordUse.new()
- @Native<Pointer<
ASN1_OCTET_STRING> Function(Pointer<Pointer< , Pointer<ASN1_OCTET_STRING> >Pointer< , Long)>(ffi.Pointer<ffi.Pointer<ASN1_UTCTIME>>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>, ffi.Long)>(symbol: 'bssl_dart_d2i_ASN1_UTCTIME')Uint8> >
d2i_ASN1_UTCTIME parses up to |len| bytes from |*inp| as a DER-encoded ASN.1 UTCTime, as described in |d2i_SAMPLE|.
TODO(https://crbug.com/boringssl/354): This function currently also accepts BER, but this will be removed in the future.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ASN1_UTCTIME> Function(
ffi.Pointer<ffi.Pointer<ASN1_UTCTIME>>,
ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
ffi.Long,
)
>(symbol: 'bssl_dart_d2i_ASN1_UTCTIME')
external ffi.Pointer<ASN1_UTCTIME> d2i_ASN1_UTCTIME(
ffi.Pointer<ffi.Pointer<ASN1_UTCTIME>> out,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> inp,
int len,
);