104 Citrix NetScaler Policy Configuration and Reference Guide

Operations on Certificate (client.ssl.client_cert) Dates and Times

SSL Certificate Operation

Description

 

 

certificate.

Extracts the last hour that the certificate is valid and

VALID_NOT_AFTER.HOURS

returns that value as an integer from 0 to 23.

certificate.

Returns a Boolean TRUE if the time precedes or is

VALID_NOT_AFTER.

equal to the time argument.

LE(time)

For example, if the time value is GMT 2005 May 1 10h

 

15m

30s, and it is the first Sunday of the month of May

 

in 2005, you can specify the following (evaluation

 

results for this example are in parentheses):

 

. . .le(GMT 2006) (TRUE)

 

. . .le(GMT 2005 Dec) (TRUE)

 

. . .le(LOCAL 2005 May) (TRUE or

 

 

FALSE, depending on the current time zone.)

 

. . .le(GMT 8h) (FALSE)

 

. . .le(GMT 30m) (TRUE)

 

. . .le(GMT May 10h) (TRUE)

 

. . .le(GMT Jun 11h) (TRUE)

 

. . .le(GMT Wed) (TRUE)

 

. . .le(GMT May Sun_1) (TRUE)

certificate.

Returns a Boolean TRUE if the time precedes the time

VALID_NOT_AFTER.

argument.

LT(time)

For example, if the current time is GMT 2005 May 1

 

10h 15m 30s, and it is the first Sunday of the month,

 

you can specify the following:

 

. . .lt(GMT 2006) (TRUE)

 

. . .lt(GMT 2005 Dec) (TRUE)

 

. . .lt(LOCAL 2005 May) (TRUE or

 

 

FALSE, depending on the current time zone.)

 

. . .lt(GMT 8h) (FALSE)

 

. . .lt(GMT 30m) (TRUE)

 

. . .lt(GMT May 10h) (FALSE)

 

. . .lt(GMT Jun 11h) (TRUE)

 

. . .lt(GMT Wed) (TRUE)

 

. . .lt(GMT May Sun_1) (FALSE)

certificate.

Extracts the last minute that the certificate is valid and

VALID_NOT_AFTER.MINUTES

returns that value as an integer from 0 to 59.

certificate.

Extracts the last month that the certificate is valid and

VALID_NOT_AFTER.MONTH

returns that value as an integer from 1 (January) to 12

 

(December).

certificate.

Calculates the number of seconds to the closest

VALID_NOT_AFTER.

previous or scheduled reboot and returns an integer. If

RELATIVE_BOOT

the closest boot time is in the past, the integer is

 

negative. If it is in the future, the integer is positive.

Page 118
Image 118
Citrix Systems 9.2 Extracts the last hour that the certificate is valid, Returns a Boolean True if the time precedes or is