RSAPrivateKey_dup function

  1. @RecordUse.new()
  2. @Native<Pointer<RSA> Function(Pointer<RSA> rsa)>(ffi.Pointer<RSA>)>(symbol: 'bssl_dart_RSAPrivateKey_dup')
Pointer<RSA> RSAPrivateKey_dup(
  1. Pointer<RSA> rsa
)

RSAPrivateKey_dup allocates a fresh |RSA| and copies the private key from |rsa| into it. It returns the fresh |RSA| object, or NULL on error.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<RSA> Function(ffi.Pointer<RSA>)>(
  symbol: 'bssl_dart_RSAPrivateKey_dup',
)
external ffi.Pointer<RSA> RSAPrivateKey_dup(
  ffi.Pointer<RSA> rsa,
);