EVP_PKEY_from_rsa_public_key function
- Pointer<
EVP_PKEY_ALG> alg, - Pointer<
Uint8> in$, - int len
EVP_PKEY_from_rsa_public_key decodes len bytes from in as a DER-encoded
RSAPublicKey structure (RFC 8017) of algorithm alg. It returns a
newly-allocated EVP_PKEY on success or NULL on error. alg must be an
RSA-based algorithm, i.e. EVP_pkey_rsa or one of EVP_pkey_rsa_pss_*. If
unsure, use EVP_pkey_rsa.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<EVP_PKEY> Function(
ffi.Pointer<EVP_PKEY_ALG>,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
)
>(symbol: 'bssl_dart_EVP_PKEY_from_rsa_public_key')
external ffi.Pointer<EVP_PKEY> EVP_PKEY_from_rsa_public_key(
ffi.Pointer<EVP_PKEY_ALG> alg,
ffi.Pointer<ffi.Uint8> in$,
int len,
);