RSA_marshal_private_key function
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,
);