X509_PURPOSE_get_id function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509_PURPOSE>)>(ffi.Pointer<X509_PURPOSE>)>(symbol: 'bssl_dart_X509_PURPOSE_get_id')
int X509_PURPOSE_get_id(
  1. Pointer<X509_PURPOSE> purpose
)

X509_PURPOSE_get_id returns |purpose|'s ID. This will be one of the |X509_PURPOSE_*| constants.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509_PURPOSE>)>(
  symbol: 'bssl_dart_X509_PURPOSE_get_id',
)
external int X509_PURPOSE_get_id(
  ffi.Pointer<X509_PURPOSE> purpose,
);