X509_time_adj_ex function

  1. @RecordUse.new()
  2. @Native<Pointer<ASN1_OCTET_STRING> Function(Pointer<ASN1_OCTET_STRING>, Int, Long, Pointer<Long>)>(ffi.Pointer<ASN1_TIME>, ffi.Int, ffi.Long, ffi.Pointer<time_t>)>(symbol: 'bssl_dart_X509_time_adj_ex')
Pointer<ASN1_OCTET_STRING> X509_time_adj_ex(
  1. Pointer<ASN1_OCTET_STRING> s,
  2. int offset_day,
  3. int offset_sec,
  4. Pointer<Long> t,
)

X509_time_adj_ex behaves like |ASN1_TIME_adj|, but adds an offset to |*t|. If |t| is NULL, it uses the current time instead of |*t|.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Pointer<ASN1_TIME> Function(
    ffi.Pointer<ASN1_TIME>,
    ffi.Int,
    ffi.Long,
    ffi.Pointer<time_t>,
  )
>(symbol: 'bssl_dart_X509_time_adj_ex')
external ffi.Pointer<ASN1_TIME> X509_time_adj_ex(
  ffi.Pointer<ASN1_TIME> s,
  int offset_day,
  int offset_sec,
  ffi.Pointer<time_t> t,
);