GENERAL_NAME_get0_otherName function
- @RecordUse.new()
- @Native<Int Function(Pointer<
GENERAL_NAME> , Pointer<Pointer< , Pointer<ASN1_OBJECT> >Pointer< )>(ffi.Pointer<GENERAL_NAME>, ffi.Pointer<ffi.Pointer<ASN1_OBJECT>>, ffi.Pointer<ffi.Pointer<ASN1_TYPE>>)>(symbol: 'bssl_dart_GENERAL_NAME_get0_otherName')ASN1_TYPE> >
- Pointer<
GENERAL_NAME> gen, - Pointer<
Pointer< out_oid,ASN1_OBJECT> > - Pointer<
Pointer< out_valueASN1_TYPE> >
GENERAL_NAME_get0_otherName, if |gen| is an OtherName, sets |*out_oid| and |*out_value| to the OtherName's type-id and value, respectively, and returns one. If |gen| is not an OtherName, it returns zero and leaves |*out_oid| and |*out_value| unmodified. Either of |out_oid| or |out_value| may be NULL to ignore the value.
WARNING: This function is not const-correct. |out_oid| and |out_value| are not const, but callers should not mutate the resulting objects.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<GENERAL_NAME>,
ffi.Pointer<ffi.Pointer<ASN1_OBJECT>>,
ffi.Pointer<ffi.Pointer<ASN1_TYPE>>,
)
>(symbol: 'bssl_dart_GENERAL_NAME_get0_otherName')
external int GENERAL_NAME_get0_otherName(
ffi.Pointer<GENERAL_NAME> gen,
ffi.Pointer<ffi.Pointer<ASN1_OBJECT>> out_oid,
ffi.Pointer<ffi.Pointer<ASN1_TYPE>> out_value,
);