[#EVP_PBE_get]
= EVP&lowbar;PBE&lowbar;get
:mrdocs:

Return the PBE algorithm type and NID at index `num` in the registry&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PBE&lowbar;get(
    int* ptype,
    int* ppbe&lowbar;nid,
    size&lowbar;t num);
----

== Return Value

1 if `num` is valid, or 0 if out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptype*
| Optional destination for the PBE type (EVP&lowbar;PBE&lowbar;TYPE&lowbar;&ast;), or NULL&period;
| *ppbe&lowbar;nid*
| Optional destination for the PBE algorithm NID, or NULL&period;
| *num*
| Zero&hyphen;based index into the registered PBE table&period;
|===


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