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

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcontext_time.c39 krb5_deltat lifetime; local
60 if ((lifetime = ctx->krb_times.endtime - now) <= 0) {
65 *time_rec = lifetime;
H A Dinq_cred.c91 krb5_deltat lifetime; local
142 if ((lifetime = cred->tgt_expire - now) < 0)
143 lifetime = 0;
146 lifetime = GSS_C_INDEFINITE;
194 *lifetime_ret = lifetime;
208 return((lifetime == 0)?GSS_S_CREDENTIALS_EXPIRED:GSS_S_COMPLETE);
233 OM_uint32 lifetime; local
250 &lifetime,
258 *initiator_lifetime = lifetime;
263 *acceptor_lifetime = lifetime;
[all...]
H A Dinq_context.c104 krb5_deltat lifetime; local
134 if ((lifetime = ctx->krb_times.endtime - now) < 0)
135 lifetime = 0;
169 *lifetime_rec = lifetime;
184 return((lifetime == 0)?GSS_S_CONTEXT_EXPIRED:GSS_S_COMPLETE);
H A Dadd_cred.c87 OM_uint32 major_status, lifetime; local
389 NULL, &lifetime,
401 *initiator_time_rec = lifetime;
403 *acceptor_time_rec = lifetime;
H A Dinit_sec_context.c1173 krb5_deltat lifetime = KRB5_DEFAULT_LIFE; /* -l option */ local
1262 my_creds.times.endtime = now + lifetime;
1267 krb5_get_init_creds_opt_set_tkt_life(&opt, lifetime);
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcred.c167 OM_uint32 *lifetime, /* return the time remainning */
186 if (lifetime)
187 *lifetime = GSS_C_INDEFINITE;
196 if (lifetime) {
198 *lifetime = GSS_C_INDEFINITE;
202 *lifetime = t;
241 OM_uint32 lifetime; local
253 &lifetime, &use, NULL);
260 use == GSS_C_INITIATE) ? lifetime : 0;
264 use == GSS_C_ACCEPT) ? lifetime
163 __dh_gss_inquire_cred( 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...]
/osnet-11/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.
H A DServiceStoreInMemory.java96 // Need to adjust lifetime to reflect the time to live. Don't
97 // set the lifetime if it has already expired.
99 long lifetime =
103 if (lifetime > 0) {
105 new ServiceURL(surl.toString(), (int)lifetime);
1126 int lifetime = serviceURL.getLifetime();
1128 timeToDie = lifetime * 1000 + System.currentTimeMillis();
1653 * attributes and updating the service URL's lifetime.
/osnet-11/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 :
/osnet-11/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,
H A DSLPUtils.c350 unsigned short lifetime,
349 collate_scopes(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
H A Dslp_targets.c470 unsigned short lifetime,
469 collect_DAs(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
/osnet-11/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);
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_gss.c239 * Sets errno to ETIME, if the lifetime of the credentials expired.
242 * we will return ETIME within 5 minutes of the reported lifetime. This will
249 OM_uint32 lifetime; local
253 maj_stat = gss_inquire_cred(&min_stat, *cred, &name, &lifetime,
266 DPRINT("Cred=\"%.*s\", lifetime %d\n",
267 (int)tname.length, (char *)tname.value, lifetime);
270 if (lifetime <= 300) {
339 * Sets errno to ETIME, if the lifetime of the credentials expired.
/osnet-11/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
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c161 * byte lifetime counters. Returns pointer to the user supplied buffer.
233 * the lifetime counters. Returns pointer to the user supplied buffer.
1869 * Print the SA lifetime information. (An SADB_EXT_LIFETIME_* extension.)
1881 char byte_str[BYTE_STR_SIZE]; /* byte lifetime string representation */
1887 "WARNING: CURRENT lifetime extension length (%u) is bad."),
1894 "WARNING: HARD lifetime extension length (%u) is bad."),
1901 "WARNING: SOFT lifetime extension length (%u) is bad."),
1908 "WARNING: IDLE lifetime extension length (%u) is bad."),
1916 "%sCurrent lifetime information:\n"),
1941 "%sSoft lifetime informatio
2804 save_lifetime(struct sadb_lifetime *lifetime, FILE *ofile) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/DynaLoader/
H A DDynaLoader_pm.PL769 interpreter is created and destroyed several times within the lifetime of the
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/Peek/
H A DPeek.pm307 address may change during lifetime of an SV.

Completed in 68 milliseconds