EVP_PBE_get
int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num);
for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) {