X509_EXTENSION_set_object function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509_EXTENSION>, Pointer<ASN1_OBJECT>)>(ffi.Pointer<X509_EXTENSION>, ffi.Pointer<ASN1_OBJECT>)>(symbol: 'bssl_dart_X509_EXTENSION_set_object')
int X509_EXTENSION_set_object(
  1. Pointer<X509_EXTENSION> ex,
  2. Pointer<ASN1_OBJECT> obj
)

X509_EXTENSION_set_object sets |ex|'s extension type to |obj|. It returns one on success and zero on error.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(ffi.Pointer<X509_EXTENSION>, ffi.Pointer<ASN1_OBJECT>)
>(symbol: 'bssl_dart_X509_EXTENSION_set_object')
external int X509_EXTENSION_set_object(
  ffi.Pointer<X509_EXTENSION> ex,
  ffi.Pointer<ASN1_OBJECT> obj,
);