X509_gmtime_adj function

  1. @RecordUse.new()
  2. @Native<Pointer<ASN1_OCTET_STRING> Function(Pointer<ASN1_OCTET_STRING>, time_t)>(ffi.Pointer<ASN1_TIME>, ffi.Long)>(symbol: 'bssl_dart_X509_gmtime_adj')
Pointer<ASN1_OCTET_STRING> X509_gmtime_adj(
  1. Pointer<ASN1_OCTET_STRING> s,
  2. int offset_sec
)

X509_gmtime_adj behaves like |X509_time_adj_ex| but adds |offset_sec| to the current time.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<ASN1_TIME> Function(ffi.Pointer<ASN1_TIME>, ffi.Long)>(
  symbol: 'bssl_dart_X509_gmtime_adj',
)
external ffi.Pointer<ASN1_TIME> X509_gmtime_adj(
  ffi.Pointer<ASN1_TIME> s,
  int offset_sec,
);