108 Citrix NetScaler Policy Configuration and Reference Guide

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

SSL Certificate Operation

Description

 

 

certificate.

Returns a Boolean TRUE if the time precedes or is

VALID_NOT_BEFORE.

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_BEFORE.

argument.

LT(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):

 

. . .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.

VALID_NOT_BEFORE.

Returns the current minute as an integer from 0 to 59.

MINUTES

 

 

 

certificate.

Extracts the last month that the certificate is valid.

VALID_NOT_BEFORE.MONTH

Returns the current month as an integer from 1

 

(January) to 12 (December).

certificate.

Calculates the number of seconds to the closest

VALID_NOT_BEFORE.

previous or scheduled NetScaler reboot and returns an

RELATIVE_BOOT

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

 

is negative; if it is in the future, the integer is positive.

certificate.

Returns the number of seconds between the current

VALID_NOT_BEFORE.

NetScaler system time and the specified time as an

RELATIVE_NOW

integer. If the designated time is in the past, the integer

 

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

Page 122
Image 122
Citrix Systems 9.2 Extracts the last minute that the certificate is valid, Returns the current month as an integer from