106 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 value is between

VALID_NOT_BEFORE.

the time1, time2 arguments. Both the time1, time2

BETWEEN(time1, time2)

arguments must be fully specified.

 

Following are examples:

 

• GMT 1995 Jan is fully specified.

 

• GMT Jan is not fully specified.

 

• GMT 1995 20 is not fully specified.

 

• GMT Jan Mon_2 is not fully specified.

 

The time1, time2 arguments must be both GMT or both

 

LOCAL, and time2 must be bigger than time1.

 

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

 

. . .between(GMT 2004, GMT 2006)

 

 

(TRUE)

 

. . .between(GMT 2004 Jan, GMT 2006

 

 

Nov) (TRUE)

 

. . .between(GMT 2004 Jan, GMT

 

 

2006) (TRUE)

 

. . .between(GMT 2005 May Sun_1,

 

 

GMT 2005 May Sun_3) (TRUE)

 

. . .between(GMT 2005 May 1, GMT

 

 

May 2005 1) (TRUE)

 

. . .between(LOCAL 2005 May 1,

 

 

LOCAL May 2005 1) (TRUE or FALSE,

 

 

depending on the NetScaler system time zone.)

certificate.

Extracts the last day of the month that the certificate is

VALID_NOT_BEFORE.DAY

valid and returns that value as a number from 1 through

 

31 representing that day.

certificate.

Returns a Boolean TRUE if the time is equal to the time

VALID_NOT_BEFORE.

argument.

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

 

. . .eq(GMT 2005) (TRUE)

 

. . .eq(GMT 2005 Dec) (FALSE)

 

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

 

 

FALSE, depending on the current time zone.)

 

. . .eq(GMT 10h) (TRUE)

 

. . .eq(GMT 10h 30s) (TRUE)

 

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

 

. . .eq(GMT Sun) (TRUE)

 

. . .eq(GMT May Sun_1) (TRUE)

Page 120
Image 120
Citrix Systems 9.2 Returns a Boolean True if the time value is between, Time1, time2 arguments. Both the time1, time2