/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_cred.c | 90 krb5_deltat lifetime; local 141 if ((lifetime = cred->tgt_expire - now) < 0) 142 lifetime = 0; 145 lifetime = GSS_C_INDEFINITE; 196 *lifetime_ret = lifetime; 210 return((lifetime == 0)?GSS_S_CREDENTIALS_EXPIRED:GSS_S_COMPLETE); 235 OM_uint32 lifetime; local 252 &lifetime, 260 *initiator_lifetime = lifetime; 265 *acceptor_lifetime = lifetime;
|
H A D | context_time.c | 40 krb5_deltat lifetime; local 61 if ((lifetime = ctx->endtime - now) <= 0) { 66 *time_rec = lifetime;
|
H A D | inq_context.c | 104 krb5_deltat lifetime; local 136 if ((lifetime = ctx->endtime - now) < 0) 137 lifetime = 0; 181 *lifetime_rec = lifetime; 197 return((lifetime == 0)?GSS_S_CONTEXT_EXPIRED:GSS_S_COMPLETE);
|
H A D | add_cred.c | 86 OM_uint32 major_status, lifetime; local 374 NULL, &lifetime, 386 *initiator_time_rec = lifetime; 388 *acceptor_time_rec = lifetime;
|
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | cred.c | 176 OM_uint32 *lifetime, /* return the time remainning */ in __dh_gss_inquire_cred() argument 199 if (lifetime) in __dh_gss_inquire_cred() 200 *lifetime = GSS_C_INDEFINITE; in __dh_gss_inquire_cred() 209 if (lifetime) { in __dh_gss_inquire_cred() 211 *lifetime = GSS_C_INDEFINITE; in __dh_gss_inquire_cred() 215 *lifetime = t; in __dh_gss_inquire_cred() 256 OM_uint32 lifetime; in __dh_gss_inquire_cred_by_mech() local 268 &lifetime, &use, NULL); in __dh_gss_inquire_cred_by_mech() 275 use == GSS_C_INITIATE) ? lifetime : 0; in __dh_gss_inquire_cred_by_mech() 279 use == GSS_C_ACCEPT) ? lifetime : 0; in __dh_gss_inquire_cred_by_mech()
|
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kadm5_create.c | 56 char *name, char *realm, int attrs, int lifetime); 59 char *sname, int attrs, int lifetime); 62 krb5_principal principal, int attrs, int lifetime); 268 krb5_principal principal, int attrs, int lifetime) in add_admin_princ() argument 280 ent.max_life = lifetime; in add_admin_princ() 381 char *name, char *realm, int attrs, int lifetime) in add_admin_old_princ() argument 393 return (add_admin_princ(handle, context, principal, attrs, lifetime)); in add_admin_old_princ() 398 char *sname, int attrs, int lifetime) in add_admin_sname_princ() argument 410 return (add_admin_princ(handle, context, principal, attrs, lifetime)); in add_admin_sname_princ()
|
/titanic_41/usr/src/lib/libslp/clib/ |
H A D | SLPReg.c | 101 unsigned short lifetime; member 192 unsigned short lifetime, const char *type, in packSrvReg() argument 203 ts = tp->tv_sec + lifetime; in packSrvReg() 256 if ((err = slp_add_sht(m, msgLen, lifetime, &len)) != SLP_OK) in packSrvReg() 692 unsigned short lifetime) { in add_rereg() argument 696 if (lifetime != SLP_LIFETIME_MAXIMUM) { in add_rereg() 716 reg->lifetime = lifetime; in add_rereg() 717 reg->wake_time = (time(NULL) + lifetime) - 60; in add_rereg() 759 shortest_wait = now + reregs->lifetime; in check_reregs() 766 (void) slp_sign(&(p->msg->urlbytes), 1, now + p->lifetime, in check_reregs() [all …]
|
H A D | SLPFindSrvs.c | 36 unsigned short lifetime; member 470 if (s1->lifetime != s2->lifetime) in compare_surls() 471 return (s1->lifetime - s2->lifetime); in compare_surls() 491 n->lifetime = life; in collate_surls() 534 n->lifetime, in process_surl_node()
|
/titanic_41/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 140 krb5_deltat lifetime; member 197 krb5_deltat lifetime; member 396 code = krb5_string_to_deltat(optarg, &opts->lifetime); 397 if (code != 0 || opts->lifetime == 0) { 866 krb5_deltat lifetime = 0, rlife = 0, krb5_max_duration; local 894 if (opts->lifetime == 0 || opts->rlife == 0) { 904 if (opts->lifetime == 0 && life_timeval != NULL) { 905 code = krb5_string_to_deltat(life_timeval, &lifetime); 906 if (code != 0 || lifetime == 0 || lifetime > krb5_max_duration) { 912 opts->lifetime = lifetime; [all …]
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AuthBlock.java | 77 static Hashtable makeAuthBlocks(Object[] message, int lifetime) in makeAuthBlocks() argument 92 blocks.put(spi, new AuthBlock(message, spi, bsd, lifetime)); in makeAuthBlocks() 175 int lifetime = Integer.MAX_VALUE; in getShortestLifetime() local 180 lifetime = (lifetime < abLife) ? lifetime : abLife; in getShortestLifetime() 183 return lifetime; in getShortestLifetime() 450 AuthBlock(Object[] message, String spi, int bsd, int lifetime) in AuthBlock() argument 462 this.lifetime = lifetime; in AuthBlock() 463 this.timeStamp = SLPConfig.currentSLPTime() + lifetime; in AuthBlock() 561 lifetime = (int) time; in AuthBlock() 562 lifetime = lifetime < 0 ? 0 : lifetime; in AuthBlock() [all …]
|
H A D | CDAAdvert.java | 86 int lifetime = getDAURLLifetime(); in initialize() local 143 lifetime = AuthBlock.getShortestLifetime(authBlock); in initialize() 151 URL = new ServiceURL(surl, lifetime); in initialize() 252 int lifetime = disInt + granInt; in getDAURLLifetime() local 255 (lifetime > ServiceURL.LIFETIME_MAXIMUM ? in getDAURLLifetime() 256 ServiceURL.LIFETIME_MAXIMUM:lifetime); in getDAURLLifetime()
|
H A D | ServiceURL.java | 97 private int lifetime = LIFETIME_DEFAULT; field in ServiceURL 133 lifetime = iLifetime; in ServiceURL() 199 return lifetime; in getLifetime()
|
H A D | ServiceStoreFactory.java | 268 int lifetime = Integer.parseInt(slifetime); in deserialize() local 272 if (lifetime == ServiceURL.LIFETIME_MAXIMUM) { in deserialize() 273 lifetime = ServiceURL.LIFETIME_PERMANENT; in deserialize() 277 url = new ServiceURL(surl, lifetime); in deserialize()
|
H A D | SLPHeaderV2.java | 723 int lifetime = getInt(dis); in parseServiceURLIn() local 753 lifetime = AuthBlock.getShortestLifetime(auth); in parseServiceURLIn() 762 url = new ServiceURL(ssurl, lifetime); in parseServiceURLIn() 935 int lifetime, in parseAttributeVectorOut() argument 973 auth = getCheckedAuthBlockList(message, lifetime); in parseAttributeVectorOut() 1013 Hashtable getCheckedAuthBlockList(Object[] message, int lifetime) in getCheckedAuthBlockList() argument 1024 return AuthBlock.makeAuthBlocks(message, lifetime); in getCheckedAuthBlockList()
|
H A D | SunDATable.java | 371 int lifetime = url.getLifetime(); in processReply() local 373 if (lifetime < shortTimer) { in processReply() 374 shortTimer = lifetime; in processReply()
|
H A D | SLPHeaderV1.java | 687 int lifetime = 0; in parseServiceURLIn() local 691 lifetime = getInt(dis); in parseServiceURLIn() 700 url = new ServiceURLV1(buf.toString(), lifetime); in parseServiceURLIn()
|
/titanic_41/usr/src/lib/libgss/ |
H A D | g_inquire_cred.c | 40 lifetime, in gss_inquire_cred() argument 47 OM_uint32 *lifetime; 91 lifetime, cred_usage, 132 if (lifetime != NULL) { 134 *lifetime = union_cred->auxinfo.time_rec < elapsed_time ? 0 :
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mip.c | 547 if (ntohs(rreq->lifetime) == 0xffff) { in interpret_mip_cntrlmsg() 549 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg() 551 } else if (ntohs(rreq->lifetime) == 0) { in interpret_mip_cntrlmsg() 553 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg() 558 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg() 560 ntohs(rreq->lifetime)); in interpret_mip_cntrlmsg() 592 if (ntohs(rrep->lifetime) == 0xffff) { in interpret_mip_cntrlmsg() 594 (char *)&rrep->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg() 596 } else if (ntohs(rrep->lifetime) == 0) { in interpret_mip_cntrlmsg() 598 (char *)&rrep->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg() [all …]
|
H A D | snoop_mip.h | 97 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member 119 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member 135 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member
|
H A D | snoop_slp.c | 491 int lifetime, length, n; in slpv2_url() local 500 if ((lifetime = netval) < 0) in slpv2_url() 509 exp = time(0) + lifetime; in slpv2_url() 513 length, lifetime, ctime(&exp)); in slpv2_url() 518 cnt, length, lifetime, ctime(&exp)); in slpv2_url() 1729 int lifetime, length; in slpv1_url() local 1732 if ((lifetime = netval) < 0) in slpv1_url() 1738 exp = time(0) + lifetime; in slpv1_url() 1740 length, lifetime, ctime(&exp)); in slpv1_url()
|
/titanic_41/usr/src/cmd/ssh/ssh-add/ |
H A D | ssh-add.c | 75 static int lifetime = 0; variable 175 if (ssh_add_identity_constrained(ac, private, comment, lifetime)) { in add_file() 179 if (lifetime != 0) in add_file() 181 gettext("Lifetime set to %d seconds\n"), lifetime); in add_file() 344 if ((lifetime = convtime(optarg)) == -1) { in main()
|
/titanic_41/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_authenticate.c | 513 krb5_deltat lifetime; in attempt_krb5_auth() local 604 lifetime = krb5_max_duration; in attempt_krb5_auth() 634 code = krb5_string_to_deltat(life_timeval, &lifetime); in attempt_krb5_auth() 635 if (code != 0 || lifetime == 0 || in attempt_krb5_auth() 636 lifetime > krb5_max_duration) { in attempt_krb5_auth() 646 my_creds->times.endtime = now + lifetime; in attempt_krb5_auth() 662 krb5_get_init_creds_opt_set_tkt_life(opts, lifetime); in attempt_krb5_auth()
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | radix.c | 65 creds->lifetime)); in creds_to_radix() 139 creds->lifetime = krb_time_to_life(creds->issue_date, endTime); in radix_to_creds()
|
/titanic_41/usr/src/cmd/cmd-crypto/pktool/ |
H A D | signcsr.c | 539 char *lifetime = NULL; in pk_signcsr() local 646 if (lifetime != NULL) in pk_signcsr() 648 lifetime = optarg_av; in pk_signcsr() 692 if (lifetime != NULL) { in pk_signcsr() 693 if (Str2Lifetime(lifetime, <ime) != 0) { in pk_signcsr()
|
H A D | gencert.c | 582 char *lifetime = NULL; in pk_gencert() local 684 if (lifetime) in pk_gencert() 686 lifetime = optarg_av; in pk_gencert() 788 if (Str2Lifetime(lifetime, <ime) != 0) { in pk_gencert()
|