Searched refs:lifetime (Results 1 - 25 of 49) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcontext_time.c40 krb5_deltat lifetime; local
61 if ((lifetime = ctx->endtime - now) <= 0) {
66 *time_rec = lifetime;
H A Dinq_cred.c90 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;
[all...]
H A Dinq_context.c104 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 Dadd_cred.c86 OM_uint32 major_status, lifetime; local
374 NULL, &lifetime,
386 *initiator_time_rec = lifetime;
388 *acceptor_time_rec = lifetime;
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcred.c176 OM_uint32 *lifetime, /* return the time remainning */
199 if (lifetime)
200 *lifetime = GSS_C_INDEFINITE;
209 if (lifetime) {
211 *lifetime = GSS_C_INDEFINITE;
215 *lifetime = t;
256 OM_uint32 lifetime; local
268 &lifetime, &use, NULL);
275 use == GSS_C_INITIATE) ? lifetime : 0;
279 use == GSS_C_ACCEPT) ? lifetime
172 __dh_gss_inquire_cred(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_name_t *name, OM_uint32 *lifetime, gss_cred_usage_t *usage, gss_OID_set *mechs ) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DCDAAdvert.java86 int lifetime = getDAURLLifetime();
143 lifetime = AuthBlock.getShortestLifetime(authBlock);
151 URL = new ServiceURL(surl, lifetime);
229 // Calcualte DA URL lifetime, based on active discovery interval and
234 // Calculate lifetime based on maximum length of time between
252 int lifetime = disInt + granInt;
255 (lifetime > ServiceURL.LIFETIME_MAXIMUM ?
256 ServiceURL.LIFETIME_MAXIMUM:lifetime);
H A DAuthBlock.java67 * @param lifetime The lifetime for this message, in seconds.
77 static Hashtable makeAuthBlocks(Object[] message, int lifetime) argument
92 blocks.put(spi, new AuthBlock(message, spi, bsd, lifetime));
162 * A convenience method which finds the shortest lifetime in a
166 * @return The shortest lifetime found.
175 int lifetime = Integer.MAX_VALUE;
180 lifetime = (lifetime < abLife) ? lifetime
450 AuthBlock(Object[] message, String spi, int bsd, int lifetime) argument
1119 int lifetime; // need both: lifetime is for optimization, field in class:AuthBlock
[all...]
H A DServiceURL.java65 * Default lifetime, 3 hours.
71 * Maximum lifetime, approximately 18 hours.
97 private int lifetime = LIFETIME_DEFAULT; field in class:ServiceURL
105 * @param iLifetime The service advertisement lifetime.
133 lifetime = iLifetime;
195 * @return The service advertisement lifetime.
199 return lifetime;
H A DServiceStoreFactory.java218 // service-url ", " language ", " lifetime [ ", " type ]
268 int lifetime = Integer.parseInt(slifetime);
270 // If lifetime is maximum, then set to LIFETIME_PERMANENT.
272 if (lifetime == ServiceURL.LIFETIME_MAXIMUM) {
273 lifetime = ServiceURL.LIFETIME_PERMANENT;
277 url = new ServiceURL(surl, lifetime);
H A DSunDATable.java371 int lifetime = url.getLifetime();
373 if (lifetime < shortTimer) {
374 shortTimer = lifetime;
H A DSLPHeaderV2.java705 // Parse in a service URL including lifetime if necessary.
721 // Get URL lifetime.
723 int lifetime = getInt(dis);
753 lifetime = AuthBlock.getShortestLifetime(auth);
762 url = new ServiceURL(ssurl, lifetime);
812 // Parse out the lifetime.
935 int lifetime,
973 auth = getCheckedAuthBlockList(message, lifetime);
1013 Hashtable getCheckedAuthBlockList(Object[] message, int lifetime) argument
1024 return AuthBlock.makeAuthBlocks(message, lifetime);
934 parseAttributeVectorOut(Vector v, int lifetime, boolean attrAuth, Hashtable auth, ByteArrayOutputStream baos, boolean writeAuthCount) argument
[all...]
H A DSLPHeaderV1.java679 // Parse in a service URL including lifetime if necessary.
687 int lifetime = 0;
691 lifetime = getInt(dis);
700 url = new ServiceURLV1(buf.toString(), lifetime);
713 // Parse out a service URL including lifetime if required.
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkadm5_create.c56 char *name, char *realm, int attrs, int lifetime);
59 char *sname, int attrs, int lifetime);
62 krb5_principal principal, int attrs, int lifetime);
248 * lifetime (r) principal's max life, or 0
264 * attributes attrs and max life of lifetime (if not zero).
268 krb5_principal principal, int attrs, int lifetime)
280 ent.max_life = lifetime;
381 char *name, char *realm, int attrs, int lifetime)
393 return (add_admin_princ(handle, context, principal, attrs, lifetime));
398 char *sname, int attrs, int lifetime)
267 add_admin_princ(void *handle, krb5_context context, krb5_principal principal, int attrs, int lifetime) argument
380 add_admin_old_princ(void *handle, krb5_context context, char *name, char *realm, int attrs, int lifetime) argument
397 add_admin_sname_princ(void *handle, krb5_context context, char *sname, int attrs, int lifetime) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mip.h97 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_request_str
119 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_request_str
135 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_reply_str
223 * The longest lifetime (measured in seconds) that this
H A Dsnoop_mip.c350 "FA denial: lifetime":"FA denial: code 69";
547 if (ntohs(rreq->lifetime) == 0xffff) {
549 (char *)&rreq->lifetime - dlc_header, 1),
551 } else if (ntohs(rreq->lifetime) == 0) {
553 (char *)&rreq->lifetime - dlc_header, 1),
558 (char *)&rreq->lifetime - dlc_header, 1),
560 ntohs(rreq->lifetime));
592 if (ntohs(rrep->lifetime) == 0xffff) {
594 (char *)&rrep->lifetime - dlc_header, 1),
596 } else if (ntohs(rrep->lifetime)
[all...]
H A Dsnoop_slp.c491 int lifetime, length, n; local
498 /* lifetime */
500 if ((lifetime = netval) < 0)
509 exp = time(0) + lifetime;
512 "URL: length = %u, lifetime = %d (%24.24s)",
513 length, lifetime, ctime(&exp));
517 "URL %d: length = %u, lifetime = %d (%24.24s)",
518 cnt, length, lifetime, ctime(&exp));
1030 case INVALID_LIFETIME: return "invalid lifetime";
1154 SKIPSHORT; /* lifetime */
1729 int lifetime, length; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c140 krb5_deltat lifetime; member in struct:k_opts
197 krb5_deltat lifetime; member in struct:k4_data
263 "[-l lifetime] [-s start_time] "
311 ULINE("\t", gettext("-l lifetime"), OPTTYPE_EITHER);
313 ULINE("\t", gettext("-r renewable lifetime"), OPTTYPE_KRB5);
396 code = krb5_string_to_deltat(optarg, &opts->lifetime);
397 if (code != 0 || opts->lifetime == 0) {
398 fprintf(stderr, gettext("Bad lifetime value %s\n"), optarg);
406 fprintf(stderr, gettext("Bad lifetime value %s\n"), optarg);
866 krb5_deltat lifetime local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libslp/clib/
H A DSLPReg.c101 unsigned short lifetime; member in struct:rereg_entry
192 unsigned short lifetime, const char *type,
203 ts = tp->tv_sec + lifetime;
256 if ((err = slp_add_sht(m, msgLen, lifetime, &len)) != SLP_OK)
688 * so we only allow reg's with lifetime == SLP_LIFETIME_PERMANENT into
692 unsigned short lifetime) {
696 if (lifetime != SLP_LIFETIME_MAXIMUM) {
716 reg->lifetime = lifetime;
717 reg->wake_time = (time(NULL) + lifetime)
191 packSrvReg(slp_handle_impl_t *hp, const char *url, unsigned short lifetime, const char *type, const char *scope, const char *attrs, SLPBoolean fresh, struct reg_msg **msg) argument
691 add_rereg(const char *url, struct reg_msg *msg, unsigned short lifetime) argument
794 unsigned short lifetime = 0; local
[all...]
H A DSLPFindSrvs.c36 unsigned short lifetime; member in struct:surl_node
150 /* lifetime */
470 if (s1->lifetime != s2->lifetime)
471 return (s1->lifetime - s2->lifetime);
491 n->lifetime = life;
534 n->lifetime,
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-add/
H A Dssh-add.c74 /* Default lifetime (0 == forever) */
75 static int lifetime = 0; variable
175 if (ssh_add_identity_constrained(ac, private, comment, lifetime)) {
179 if (lifetime != 0)
181 gettext("Lifetime set to %d seconds\n"), lifetime);
293 " -t life Set lifetime (seconds) when adding identities.\n"
344 if ((lifetime = convtime(optarg)) == -1) {
345 fprintf(stderr, gettext("Invalid lifetime\n"));
/opensolaris-onvv-gate/usr/src/lib/libgss/
H A Dg_inquire_cred.c40 lifetime,
47 OM_uint32 *lifetime;
91 lifetime, cred_usage,
132 if (lifetime != NULL) {
134 *lifetime = union_cred->auxinfo.time_rec < elapsed_time ? 0 :
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dradix.c65 creds->lifetime));
139 creds->lifetime = krb_time_to_life(creds->issue_date, endTime);
/opensolaris-onvv-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_authenticate.c513 krb5_deltat lifetime; local
600 * set the values for lifetime and rlife to be the maximum
604 lifetime = krb5_max_duration;
634 code = krb5_string_to_deltat(life_timeval, &lifetime);
635 if (code != 0 || lifetime == 0 ||
636 lifetime > krb5_max_duration) {
638 "lifetime value '%s' in Kerberos config file",
646 my_creds->times.endtime = now + lifetime;
662 krb5_get_init_creds_opt_set_tkt_life(opts, lifetime);
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dsigncsr.c539 char *lifetime = NULL; local
560 "L:(lifetime)e:(eku)i:(issuer)"
646 if (lifetime != NULL)
648 lifetime = optarg_av;
692 if (lifetime != NULL) {
693 if (Str2Lifetime(lifetime, &ltime) != 0) {
695 gettext("Error parsing lifetime string\n"));
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/
H A DExpire.pm132 LIFETIME => $lifetime, # In seconds
155 up afresh, its lifetime is reset.
190 LIFETIME => $lifetime, # In seconds
338 with a lifetime of ten seconds, and you store it at 12:00:00.998 on a

Completed in 265 milliseconds

12