Chapter 5 Advanced Expressions: Working with Dates, Times, and Numbers 107

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

SSL Certificate Operation

Description

 

 

certificate.

Returns a Boolean TRUE if the time is greater than

VALID_NOT_BEFORE.

(after) or equal to the time argument.

GE(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 are in parentheses):

 

. . .ge(GMT 2004) (TRUE)

 

. . .ge(GMT 2005 Jan) (TRUE)

 

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

 

 

FALSE, depending on the current time zone.)

 

. . .ge(GMT 8h) (TRUE)

 

. . .ge(GMT 30m) (FALSE)

 

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

 

. . .ge(GMT May 10h 0m) (TRUE)

 

. . .ge(GMT Sun) (TRUE)

 

. . .ge(GMT May Sun_1) (TRUE)

certificate.

Returns a Boolean TRUE if the time occurs after the

VALID_NOT_BEFORE.

time argument.

GT(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 are in parentheses):

 

. . .gt(GMT 2004) (TRUE)

 

. . .gt(GMT 2005 Jan) (TRUE)

 

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

 

 

FALSE, depending on the current time zone.)

 

. . .gt(GMT 8h) (TRUE)

 

. . .gt(GMT 30m) (FALSE)

 

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

 

. . .gt(GMT May 10h 0m) (TRUE)

 

. . .gt(GMT Sun) (FALSE)

 

. . .gt(GMT May Sun_1) (FALSE)

certificate.

Extracts the last hour that the certificate is valid and

VALID_NOT_BEFORE.HOURS

returns that value as an integer from 0 to 23.

Page 121
Image 121
Citrix Systems 9.2 manual Returns a Boolean True if the time is greater than, After or equal to the time argument