EC_KEY_parse_private_key function
EC_KEY_parse_private_key parses a DER-encoded ECPrivateKey structure (RFC 5915) from |cbs| and advances |cbs|. It returns a newly-allocated |EC_KEY| or NULL on error. If |group| is non-null, the parameters field of the ECPrivateKey may be omitted (but must match |group| if present). Otherwise, the parameters field is required.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<EC_KEY> Function(ffi.Pointer<CBS>, ffi.Pointer<EC_GROUP>)
>(symbol: 'bssl_dart_EC_KEY_parse_private_key')
external ffi.Pointer<EC_KEY> EC_KEY_parse_private_key(
ffi.Pointer<CBS> cbs,
ffi.Pointer<EC_GROUP> group,
);