RSA_marshal_private_key function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<CBB>, Pointer<RSA>)>(ffi.Pointer<CBB>, ffi.Pointer<RSA>)>(symbol: 'bssl_dart_RSA_marshal_private_key')
int RSA_marshal_private_key(
  1. Pointer<CBB> cbb,
  2. Pointer<RSA> rsa
)

RSA_marshal_private_key marshals |rsa| as a DER-encoded RSAPrivateKey structure (RFC 8017) and appends the result to |cbb|. It returns one on success and zero on failure.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBB>, ffi.Pointer<RSA>)>(
  symbol: 'bssl_dart_RSA_marshal_private_key',
)
external int RSA_marshal_private_key(
  ffi.Pointer<CBB> cbb,
  ffi.Pointer<RSA> rsa,
);