BN_to_ASN1_INTEGER function
- @RecordUse.new()
- @Native<Pointer<
ASN1_OCTET_STRING> Function(Pointer<BIGNUM> bn, Pointer<ASN1_OCTET_STRING> ai)>(ffi.Pointer<BIGNUM>, ffi.Pointer<ASN1_INTEGER>)>(symbol: 'bssl_dart_BN_to_ASN1_INTEGER')
- Pointer<
BIGNUM> bn, - Pointer<
ASN1_OCTET_STRING> ai
BN_to_ASN1_INTEGER sets |ai| to an INTEGER with value |bn| and returns |ai| on success or NULL or error. If |ai| is NULL, it returns a newly-allocated |ASN1_INTEGER| on success instead, which the caller must release with |ASN1_INTEGER_free|.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ASN1_INTEGER> Function(
ffi.Pointer<BIGNUM>,
ffi.Pointer<ASN1_INTEGER>,
)
>(symbol: 'bssl_dart_BN_to_ASN1_INTEGER')
external ffi.Pointer<ASN1_INTEGER> BN_to_ASN1_INTEGER(
ffi.Pointer<BIGNUM> bn,
ffi.Pointer<ASN1_INTEGER> ai,
);