X509_set1_notAfter function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509>, Pointer<ASN1_OCTET_STRING>)>(ffi.Pointer<X509>, ffi.Pointer<ASN1_TIME>)>(symbol: 'bssl_dart_X509_set1_notAfter')
int X509_set1_notAfter(
  1. Pointer<X509> x509,
  2. Pointer<ASN1_OCTET_STRING> tm$1
)

X509_set1_notAfter sets x509's notAfter time to tm. it returns one on success and zero on error.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509>, ffi.Pointer<ASN1_TIME>)>(
  symbol: 'bssl_dart_X509_set1_notAfter',
)
external int X509_set1_notAfter(
  ffi.Pointer<X509> x509,
  ffi.Pointer<ASN1_TIME> tm$1,
);