[#PEM_read_bio_ECPrivateKey] = PEM_read_bio_ECPrivateKey :mrdocs: Read an EC private key from a PEM‐encoded BIO (deprecated). == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EC_KEY.adoc[EC_KEY]* PEM_read_bio_ECPrivateKey( xref:BIO.adoc[BIO]* bp, xref:EC_KEY.adoc[EC_KEY]** x, xref:pem_password_cb.adoc[pem_password_cb]* cb, void* u); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value EC_KEY on success, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *bp* | BIO to read from. | *x* | Optional address of an EC_KEY pointer to reuse, or NULL. | *cb* | Password callback for encrypted PEM, or NULL. | *u* | Application data passed to `cb.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#