Chapter 5 Advanced Expressions: Working with Dates, Times, and Numbers 107
certificate.
VALID_NOT_BEFORE.
GE(time)
Returns a Boolean TRUE if the time is greater than
(after) or equal to the time argument.
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.
VALID_NOT_BEFORE.
GT(time)
Returns a Boolean TRUE if the time occurs after the
time argument.
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.
VALID_NOT_BEFORE.HOURS Extracts the last hour that the certificate is valid and
returns that value as an integer from 0 to 23.
Operations on Certificate (client.ssl.client_cert) Dates and Times
SSL Certificate Operation Description