[#EVP_PKEY_asn1_add_alias]
= EVP&lowbar;PKEY&lowbar;asn1&lowbar;add&lowbar;alias
:mrdocs:

Alias ASN&period;1 method NID `from` so it is treated as NID `to&period;`

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;asn1&lowbar;add&lowbar;alias(
    int to,
    int from);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *to*
| Destination algorithm NID that already has an ASN&period;1 method&period;
| *from*
| Alias NID to map onto `to&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
