Searched refs:NOW_PLUS_10_YEARS (Results 1 – 2 of 2) sorted by relevance
40 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); field in KeyPairGeneratorSpecTest48 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_Unencrypted_Success()59 assertEquals("endDate should be the one specified", NOW_PLUS_10_YEARS, spec.getEndDate()); in testBuilder_Unencrypted_Success()78 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingAlias_Failure()91 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingSubjectDN_Failure()104 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingSerialNumber_Failure()117 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingStartDate_Failure()143 .setStartDate(NOW_PLUS_10_YEARS) in testBuilder_EndBeforeStart_Failure()
107 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); field in KeyPairGeneratorTest168 .setEndDate(NOW_PLUS_10_YEARS) in testInitialize_LegacySpec()393 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()403 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()439 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()450 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()485 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()496 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()532 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_RSA_LegacySpec()543 NOW_PLUS_10_YEARS); in testGenerate_RSA_LegacySpec()[all …]