summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-13 23:50:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-13 23:50:13 +0100
commit25ba25448b55c2fd5ea9b1aeed82e02d59816a07 (patch)
treeb0c452f6c205f5788f02cddbc2fc947014701e52 /doc
parent812a604525eef4993d6ed165d455c8309ae72c36 (diff)
Extractors for certificate time fields support integer output modifier
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt34
1 files changed, 19 insertions, 15 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index e85ba6629..ce4d0ba1d 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -8899,8 +8899,8 @@ the certificate. Supported fields are:
&`serial_number `&
&`subject `& RFC4514 DN
&`issuer `& RFC4514 DN
-&`notbefore `&
-&`notafter `&
+&`notbefore `& time
+&`notafter `& time
&`sig_algorithm `&
&`signature `&
&`subj_altname `& tagged list
@@ -8919,18 +8919,6 @@ extracted is used.
Some field names take optional modifiers, appended and separated by commas.
-The field selectors marked as "list" above return a list,
-newline-separated by default,
-(embedded separator characters in elements are doubled).
-The separator may be changed by a modifier of
-a right angle-bracket followed immediately by the new separator.
-
-The field selectors marked as "tagged" above
-prefix each list element with a type string and an equals sign.
-Elements of only one type may be selected by a modifier
-which is one of "dns", "uri" or "mail";
-if so the elenment tags are omitted.
-
The field selectors marked as "RFC4514" above
output a Distinguished Name string which is
not quite
@@ -8943,7 +8931,23 @@ The separator may be changed by another modifer of
a right angle-bracket followed immediately by the new separator.
Recognised RDN type labels include "CN", "O", "OU" and "DC".
-Field values are generally presented in human-readable form.
+The field selectors marked as "time" above
+may output a number of seconds since epoch
+if the modifier "int" is used.
+
+The field selectors marked as "list" above return a list,
+newline-separated by default,
+(embedded separator characters in elements are doubled).
+The separator may be changed by a modifier of
+a right angle-bracket followed immediately by the new separator.
+
+The field selectors marked as "tagged" above
+prefix each list element with a type string and an equals sign.
+Elements of only one type may be selected by a modifier
+which is one of "dns", "uri" or "mail";
+if so the elenment tags are omitted.
+
+If not otherwise noted field values are presented in human-readable form.
.wen
.vitem "&*${dlfunc{*&<&'file'&>&*}{*&<&'function'&>&*}{*&<&'arg'&>&*}&&&