summaryrefslogtreecommitdiffstats
path: root/base/server/cmsbundle
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-12-02 17:25:55 -0500
committerEndi S. Dewata <edewata@redhat.com>2014-12-15 11:57:07 -0500
commit5d82ad42001875e28a48ba374d4a467c9ec91f5c (patch)
tree2c32fd69b42077d8fa424ffa8194f4bcddc3f6d6 /base/server/cmsbundle
parentaab703ab457ff02d8623933a15574a556dae5e99 (diff)
downloadpki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.tar.gz
pki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.tar.xz
pki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.zip
Added rangeUnit property to certificate profiles.
A new optional property has been added to certificate profiles to specify the range unit. The default range unit is 'day'. The code has been modified to use the Calendar API to calculate the end of validity range based on the range unit. https://fedorahosted.org/pki/ticket/1226
Diffstat (limited to 'base/server/cmsbundle')
-rw-r--r--base/server/cmsbundle/src/UserMessages.properties6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/server/cmsbundle/src/UserMessages.properties b/base/server/cmsbundle/src/UserMessages.properties
index fe43094e6..2dc1f268c 100644
--- a/base/server/cmsbundle/src/UserMessages.properties
+++ b/base/server/cmsbundle/src/UserMessages.properties
@@ -833,12 +833,14 @@ CMS_PROFILE_GENERAL_NAMES=General Names
CMS_PROFILE_VALIDITY_CHECK_NOT_BEFORE=Check Not Before against current time
CMS_PROFILE_VALIDITY_CHECK_NOT_AFTER=Check Not After against Not Before
CMS_PROFILE_VALIDITY_NOT_BEFORE_GRACE_PERIOD=Grace period for Not Before being set in the future (in seconds).
-CMS_PROFILE_VALIDITY_RANGE=Validity Range (in days)
+CMS_PROFILE_VALIDITY_RANGE=Validity Range
+CMS_PROFILE_VALIDITY_RANGE_UNIT=Validity Range Unit (default: day)
CMS_PROFILE_VALIDITY_START_TIME=Relative Start Time (in seconds)
CMS_PROFILE_NOT_BEFORE_RANDOM_BITS=Not Before Random Bits
CMS_PROFILE_NOT_AFTER_RANDOM_BITS=Not After Random Bits
CMS_PROFILE_BYPASS_CA_NOTAFTER=Bypass CA notAfter constraint
-CMS_PROFILE_VALIDITY_OUT_OF_RANGE=Validity Out of Range {0} days
+CMS_PROFILE_VALIDITY_INVALID_RANGE_UNIT=Invalid Range Unit: {0}
+CMS_PROFILE_VALIDITY_OUT_OF_RANGE=Validity Out of Range: {0} is after {1}
CMS_PROFILE_RENEW_GRACE_BEFORE=Renewal Grace Period Before
CMS_PROFILE_RENEW_GRACE_AFTER=Renewal Grace Period After
CMS_PROFILE_RENEW_OUTSIDE_GRACE_PERIOD=Outside of Renewal Grace Period: {0}