CMS_EnvelopedData_decrypt function

  1. @Native<Pointer<bio_st> Function(Pointer<CMS_EnvelopedData_st>, Pointer<bio_st>, Pointer<evp_pkey_st>, Pointer<x509_st>, Pointer<asn1_string_st>, UnsignedInt, Pointer<ossl_lib_ctx_st>, Pointer<Char>)>(ffi.Pointer<CMS_EnvelopedData_st>, ffi.Pointer<bio_st>, ffi.Pointer<evp_pkey_st>, ffi.Pointer<x509_st>, ffi.Pointer<asn1_string_st>, ffi.UnsignedInt, ffi.Pointer<ossl_lib_ctx_st>, ffi.Pointer<ffi.Char>)>()
Pointer<bio_st> CMS_EnvelopedData_decrypt(
  1. Pointer<CMS_EnvelopedData_st> env,
  2. Pointer<bio_st> detached_data,
  3. Pointer<evp_pkey_st> pkey,
  4. Pointer<x509_st> cert,
  5. Pointer<asn1_string_st> secret,
  6. int flags,
  7. Pointer<ossl_lib_ctx_st> libctx,
  8. Pointer<Char> propq,
)

Implementation

@ffi.Native<
  ffi.Pointer<bio_st> Function(
    ffi.Pointer<CMS_EnvelopedData_st>,
    ffi.Pointer<bio_st>,
    ffi.Pointer<evp_pkey_st>,
    ffi.Pointer<x509_st>,
    ffi.Pointer<asn1_string_st>,
    ffi.UnsignedInt,
    ffi.Pointer<ossl_lib_ctx_st>,
    ffi.Pointer<ffi.Char>,
  )
>()
external ffi.Pointer<bio_st> CMS_EnvelopedData_decrypt(
  ffi.Pointer<CMS_EnvelopedData_st> env,
  ffi.Pointer<bio_st> detached_data,
  ffi.Pointer<evp_pkey_st> pkey,
  ffi.Pointer<x509_st> cert,
  ffi.Pointer<asn1_string_st> secret,
  int flags,
  ffi.Pointer<ossl_lib_ctx_st> libctx,
  ffi.Pointer<ffi.Char> propq,
);