Lines Matching refs:selection

216 static int dh_to_text(BIO *out, const void *key, int selection)
230 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
232 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0)
234 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0)
237 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
244 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
251 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) {
292 static int dsa_to_text(BIO *out, const void *key, int selection)
305 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
307 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0)
309 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0)
312 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
319 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
326 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) {
491 static int ec_to_text(BIO *out, const void *key, int selection)
510 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
512 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0)
514 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0)
517 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
528 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
550 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0)
568 static int ecx_to_text(BIO *out, const void *key, int selection)
578 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
598 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
623 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0
626 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0
641 static int rsa_to_text(BIO *out, const void *key, int selection)
669 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
673 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
683 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
697 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
736 if ((selection & OSSL_KEYMGMT_SELECT_OTHER_PARAMETERS) != 0) {
807 static int key2text_encode(void *vctx, const void *key, int selection,
810 int selection),
819 ret = key2text(out, key, selection);
832 static void *impl##2text_import_object(void *ctx, int selection, \
836 ctx, selection, params); \
845 int selection, \
854 return key2text_encode(vctx, key, selection, cout, \