CC_CRED_V5
if (io_cred_union->cred_type == CC_CRED_V5) {
compat_cred_union->cred_type = CC_CRED_V5;
if (in_cred_union->cred_type == CC_CRED_V5) {
if (in_cred_union_compat->cred_type == CC_CRED_V5 &&
*out_version = CC_CRED_V5;
if (in_v2_version == CC_CRED_V5) {
err = cc_create(context, "TEST_CC_STORE", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_open(context, name, CC_CRED_V5, 0, &dup_ccache);
creds_union->cred_type = CC_CRED_V5;
err = cc_create(context, "TEST_CC_REMOVE_CRED", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_open(context, name, CC_CRED_V5, 0, &dup_ccache);
err = cc_create(context, "TEST_CC_SEQ_FETCH_NCS_BEGIN", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, "TEST_CC_SEQ_FETCH_NCS_NEXT", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, "TEST_CC_GET_NC_INFO", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
check_once_cc_get_NC_info(context, "TEST_CC_GET_NC_INFO", "foo@BAR.ORG", CC_CRED_V5, 1, CC_NOERROR, "iterating over a collection of 1 ccache");
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
check_once_cc_get_NC_info(context, "TEST_CC_GET_NC_INFO", "foo@BAR.ORG", CC_CRED_V5, 1000, CC_NOERROR, "iterating over a collection of 1000 ccache");
err = cc_create(context, "TEST_CC_SEQ_FETCH_CREDS_BEGIN", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_open(context, name, CC_CRED_V5, 0, &dup_ccache);
err = cc_create(context, "TEST_CC_SEQ_FETCH_CREDS_NEXT", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, "TEST_CC_SEQ_FETCH_CREDS_NEXT", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, "TEST_CC_SEQ_FETCH_CREDS_NEXT", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, "TEST_CCACHE", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_set_principal(context, ccache, CC_CRED_V5, "foo@BAR.ORG");
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = check_once_cc_open(context, name, CC_CRED_V5, &ccache, CC_NOERROR, NULL);
err = check_once_cc_open(context, NULL, CC_CRED_V5, &ccache, CC_BAD_PARM, NULL);
err = check_once_cc_open(context, name, CC_CRED_V5, NULL, CC_BAD_PARM, NULL);
if (a->cred_type == CC_CRED_V5) {
err = cc_open(context, name, CC_CRED_V5, 0, &ccache);
err = check_once_cc_create(context, name, CC_CRED_V5, "foo@BAR.ORG", &ccache, CC_NOERROR, NULL);
err = check_once_cc_create(context, name, CC_CRED_V5, "foo/baz@BAR.ORG", &ccache, CC_NOERROR, NULL);
err = check_once_cc_create(context, NULL, CC_CRED_V5, "foo@BAR.ORG", &ccache, CC_BAD_PARM, "NULL name"); // NULL name
err = check_once_cc_create(context, "name", CC_CRED_V5, NULL, &ccache, CC_BAD_PARM, "NULL principal"); // NULL principal
err = check_once_cc_create(context, "name", CC_CRED_V5, "foo@BAR.ORG", NULL, CC_BAD_PARM, "NULL ccache"); // NULL ccache
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_open(context, name, CC_CRED_V5, 0, &ccache);
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_open(context, name, CC_CRED_V5, 0, &ccache);
err = cc_create(context, name, "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
check_once_cc_get_cred_version(context, ccache, CC_CRED_V5, CC_NOERROR, "v5 creds");
err = cc_create(context, "0", "foo@BAR.ORG", CC_CRED_V5, 0, &ccache);
err = cc_context_create_ccache(context, "1", CC_CRED_V5, "foo@BAR.ORG", &ccache);
err = cc_create(context, name_v5, "foo/BAR@BAZ.ORG", CC_CRED_V5, 0, &ccache);
err = cc_create(context, name_v5, "foo@BAZ.ORG", CC_CRED_V5, 0, &ccache);
check_once_cc_set_principal(context, ccache, CC_CRED_V5, NULL, CC_BAD_PARM, "NULL principal");