Searched refs:principals (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.3-release/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c58 struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts; local
75 principals = sshbuf_new();
76 ASSERT_PTR_NE(principals, NULL);
77 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gsamsa"), 0);
78 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gregor"), 0);
95 ASSERT_INT_EQ(sshbuf_put_stringb(b, principals), 0); /* principals */
110 sshbuf_free(principals);
437 k1->cert->principals = calloc(4, sizeof(*k1->cert->principals));
[all...]
/freebsd-10.3-release/crypto/openssh/
H A Dsshkey.c428 free(cert->principals[i]);
429 free(cert->principals);
449 cert->principals = NULL;
1739 if ((to->principals = calloc(from->nprincipals,
1740 sizeof(*to->principals))) == NULL)
1743 to->principals[i] = strdup(from->principals[i]);
1744 if (to->principals[i] == NULL) {
1833 struct sshbuf *principals = NULL, *crit = NULL; local
1847 (ret = sshbuf_froms(b, &principals)) !
2372 struct sshbuf *principals = NULL; local
[all...]
H A Dsshkey.h91 char **principals; member in struct:sshkey_cert
H A Dauth2-pubkey.c550 if ((result = match_list(cert->principals[i],
595 if (strcmp(cp, cert->principals[i]) == 0) {
598 linenum, cert->principals[i]);
616 debug("trying authorized principals file %s", file);
781 * If the user has specified a list of principals as
783 * their username in the certificate principals list.
858 * principals against the names in that file rather than matching
868 /* If principals file or command is specified, then require a match */
H A Dsshconnect.c1274 host_key->cert->principals[i]);
H A Dssh-keygen.c1603 /* Split list of principals */
1633 public->cert->principals = plist;
1895 key->cert->principals[i]);
2227 " ssh-keygen -s ca_key -I certificate_identity [-h] [-n principals]\n"
/freebsd-10.3-release/crypto/heimdal/appl/gssmask/
H A Dgssmaestro.c721 static getarg_strings principals; variable
725 { "principals", 0, arg_strings, &principals, "Test principal",
775 if (principals.num_strings == 0)
776 errx(1, "no principals");
778 user = estrdup(principals.strings[0]);
785 errx(1, "no principals");
/freebsd-10.3-release/crypto/openssh/regress/
H A DMakefile77 principals-command \
/freebsd-10.3-release/crypto/heimdal/kdc/
H A Dkrb5tgs.c109 krb5_principals principals,
118 if (server && principals) {
119 ret = add_Principals(principals, server);
129 spd.delegated = principals;
156 sp.delegated = principals;
520 * of the principals here, while "target" is the principal
103 _kdc_add_KRB5SignedPath(krb5_context context, krb5_kdc_configuration *config, hdb_entry_ex *krbtgt, krb5_enctype enctype, krb5_principal client, krb5_const_principal server, krb5_principals principals, EncTicketPart *tkt) argument
/freebsd-10.3-release/crypto/heimdal/lib/kadm5/
H A Dad.c1020 char ***principals,
1018 kadm5_ad_get_principals(void *server_handle, const char *expression, char ***principals, int *count) argument

Completed in 200 milliseconds