HomeSort by relevance Sort by last modified time
    Searched defs:lifetime (Results 1 - 25 of 29) sorted by null

1 2

  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
context_time.c 39 krb5_deltat lifetime; local
59 if ((lifetime = ctx->endtime - now) <= 0) {
64 *time_rec = lifetime;
add_cred.c 82 OM_uint32 major_status, lifetime; local
347 NULL, &lifetime,
359 *initiator_time_rec = lifetime;
361 *acceptor_time_rec = lifetime;
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;
    [all...]
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);
init_sec_context.c 1365 krb5_deltat lifetime = KRB5_DEFAULT_LIFE; \/* -l option *\/ local
    [all...]
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
cred.c 176 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 : 0
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/ssh-add/
ssh-add.c 74 /* 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"));
  /onnv/onnv-gate/usr/src/lib/libslp/javalib/com/sun/slp/
CDAAdvert.java 86 int lifetime = getDAURLLifetime(); local
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; local
255 (lifetime > ServiceURL.LIFETIME_MAXIMUM ?
256 ServiceURL.LIFETIME_MAXIMUM:lifetime);
AuthBlock.java 67 * @param lifetime The lifetime for this message, in seconds.
77 static Hashtable makeAuthBlocks(Object[] message, int lifetime)
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; local
180 lifetime = (lifetime < abLife) ? lifetime : abLife
    [all...]
ServiceURL.java 65 * 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;
SunDATable.java 371 int lifetime = url.getLifetime(); local
373 if (lifetime < shortTimer) {
374 shortTimer = lifetime;
SLPHeaderV1.java 679 // Parse in a service URL including lifetime if necessary.
687 int lifetime = 0; local
691 lifetime = getInt(dis);
700 url = new ServiceURLV1(buf.toString(), lifetime);
713 // Parse out a service URL including lifetime if required.
ServiceStoreFactory.java 218 // service-url ", " language ", " lifetime [ ", " type ]
268 int lifetime = Integer.parseInt(slifetime); local
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);
SLPHeaderV2.java 705 // Parse in a service URL including lifetime if necessary.
721 // Get URL lifetime.
723 int lifetime = getInt(dis); local
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)
1024 return AuthBlock.makeAuthBlocks(message, lifetime);
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-crypto/pktool/
signcsr.c 535 char *lifetime = NULL; local
556 "L:(lifetime)e:(eku)i:(issuer)"
642 if (lifetime != NULL)
644 lifetime = optarg_av;
688 if (lifetime != NULL) {
689 if (Str2Lifetime(lifetime, &ltime) != 0) {
691 gettext("Error parsing lifetime string\n"));
gencert.c 710 char *lifetime = NULL; local
736 "r:(trust)L:(lifetime)l:(label)c:(outcert)e:(eku)"
806 if (lifetime)
808 lifetime = optarg_av;
878 if (Str2Lifetime(lifetime, &ltime) != 0) {
880 gettext("Error parsing lifetime string\n"));
  /onnv/onnv-gate/usr/src/cmd/fmli/inc/
actrec.h 53 int lifetime; member in struct:actrec
  /onnv/onnv-gate/usr/src/lib/libslp/clib/
SLPFindSrvs.c 36 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,
SLPReg.c 101 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) - 60
794 unsigned short lifetime = 0; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/pam_modules/krb5/
krb5_authenticate.c 322 krb5_deltat lifetime; local
411 * set the values for lifetime and rlife to be the maximum
415 lifetime = krb5_max_duration;
445 code = krb5_string_to_deltat(life_timeval, &lifetime);
446 if (code != 0 || lifetime == 0 ||
447 lifetime > krb5_max_duration) {
449 "lifetime value '%s' in Kerberos config file",
457 my_creds->times.endtime = now + lifetime;
464 krb5_get_init_creds_opt_set_tkt_life(&opts, lifetime);
  /onnv/onnv-gate/usr/src/cmd/ctrun/
ctrun.c 78 typedef enum lifetime { enum
91 "Usage: %s [-i eventlist] [-f eventlist] [-l lifetime] \n" \
439 uu_warn(gettext("invalid lifetime '%s'\n"),
478 uu_warn(gettext("cannot use option '%s' with lifetime '%s'\n"),
484 uu_warn(gettext("cannot restart with lifetime '%s'\n"),
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
snoop_mip.h 97 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
222 * Registration Lifetime
223 * The longest lifetime (measured in seconds) that this
226 * relation to the "Lifetime" field within the ICMP Router
snoop_slp.c 491 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...]
  /onnv/onnv-gate/usr/src/uts/common/inet/sctp/
sctp_cookie.c 425 * cookie lifetime (uint32_t) +
449 sizeof (uint32_t) + /* cookie lifetime */ \
483 uint32_t *lifetime; local
722 * 2. The cookie lifetime (uint32_t) in tick
742 /* cookie lifetime -- need configuration */
743 lifetime = (uint32_t *)(now + 1);
744 *lifetime = sctp->sctp_cookie_lifetime;
747 ttag = (uint32_t *)(lifetime + 1);
790 * older than the new secret lifetime parameter permits,
    [all...]
  /onnv/onnv-gate/usr/src/cmd/krb5/kinit/
kinit.c 140 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);
395 /* Lifetime */
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 = 0, rlife = 0, krb5_max_duration; local
    [all...]

Completed in 3266 milliseconds

1 2