ASN1_INTEGER_to_BN function

  1. @RecordUse.new()
  2. @Native<Pointer<BIGNUM> Function(Pointer<ASN1_OCTET_STRING> ai, Pointer<BIGNUM> bn)>(ffi.Pointer<ASN1_INTEGER>, ffi.Pointer<BIGNUM>)>(symbol: 'bssl_dart_ASN1_INTEGER_to_BN')
Pointer<BIGNUM> ASN1_INTEGER_to_BN(
  1. Pointer<ASN1_OCTET_STRING> ai,
  2. Pointer<BIGNUM> bn
)

ASN1_INTEGER_to_BN sets |bn| to the value of |ai| and returns |bn| on success or NULL or error. If |bn| is NULL, it returns a newly-allocated |BIGNUM| on success instead, which the caller must release with |BN_free|.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Pointer<BIGNUM> Function(ffi.Pointer<ASN1_INTEGER>, ffi.Pointer<BIGNUM>)
>(symbol: 'bssl_dart_ASN1_INTEGER_to_BN')
external ffi.Pointer<BIGNUM> ASN1_INTEGER_to_BN(
  ffi.Pointer<ASN1_INTEGER> ai,
  ffi.Pointer<BIGNUM> bn,
);