EVP_PKEY_id function
EVP_PKEY_id returns the type of pkey, which is one of the EVP_PKEY_*
values above. These type values generally correspond to the algorithm OID,
but not the parameters, of a SubjectPublicKeyInfo (RFC 5280) or
PrivateKeyInfo (RFC 5208) AlgorithmIdentifier. Algorithm parameters can be
inspected with algorithm-specific accessors, e.g.
EVP_PKEY_get_ec_curve_nid.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<EVP_PKEY>)>(
symbol: 'bssl_dart_EVP_PKEY_id',
)
external int EVP_PKEY_id(
ffi.Pointer<EVP_PKEY> pkey,
);