CMS_EnvelopedData_decrypt function
- @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(
- Pointer<CMS_EnvelopedData_st> env,
- Pointer<bio_st> detached_data,
- Pointer<evp_pkey_st> pkey,
- Pointer<x509_st> cert,
- Pointer<asn1_string_st> secret,
- int flags,
- Pointer<ossl_lib_ctx_st> libctx,
- 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,
);