X509_NAME_ENTRY_create_by_OBJ function
- @RecordUse.new()
- @Native<Pointer<
X509_NAME_ENTRY> Function(Pointer<Pointer< , Pointer<X509_NAME_ENTRY> >ASN1_OBJECT> , Int, Pointer<Uint8> , ossl_ssize_t)>(ffi.Pointer<ffi.Pointer<X509_NAME_ENTRY>>, ffi.Pointer<ASN1_OBJECT>, ffi.Int, ffi.Pointer<ffi.Uint8>, ossl_ssize_t)>(symbol: 'bssl_dart_X509_NAME_ENTRY_create_by_OBJ')
- Pointer<
Pointer< out,X509_NAME_ENTRY> > - Pointer<
ASN1_OBJECT> obj, - int type,
- Pointer<
Uint8> bytes, - int len,
X509_NAME_ENTRY_create_by_OBJ creates a new |X509_NAME_ENTRY| with attribute type |obj|. The attribute value is determined from |type|, |bytes|, and |len| as in |X509_NAME_ENTRY_set_data|. It returns the |X509_NAME_ENTRY| on success and NULL on error.
If |out| is non-NULL and |*out| is NULL, it additionally sets |*out| to the result on success. If both |out| and |*out| are non-NULL, it updates the object at |*out| instead of allocating a new one.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<X509_NAME_ENTRY> Function(
ffi.Pointer<ffi.Pointer<X509_NAME_ENTRY>>,
ffi.Pointer<ASN1_OBJECT>,
ffi.Int,
ffi.Pointer<ffi.Uint8>,
ossl_ssize_t,
)
>(symbol: 'bssl_dart_X509_NAME_ENTRY_create_by_OBJ')
external ffi.Pointer<X509_NAME_ENTRY> X509_NAME_ENTRY_create_by_OBJ(
ffi.Pointer<ffi.Pointer<X509_NAME_ENTRY>> out,
ffi.Pointer<ASN1_OBJECT> obj,
int type,
ffi.Pointer<ffi.Uint8> bytes,
int len,
);