Home
last modified time | relevance | path

Searched refs:NOW_PLUS_10_YEARS (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorSpecTest.java40 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); field in KeyPairGeneratorSpecTest
48 .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()
70 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_Encrypted_Success()
82 assertEquals("endDate should be the one specified", NOW_PLUS_10_YEARS, spec.getEndDate()); in testBuilder_Encrypted_Success()
101 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingAlias_Failure()
114 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingSubjectDN_Failure()
127 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingSerialNumber_Failure()
140 .setEndDate(NOW_PLUS_10_YEARS) in testBuilder_MissingStartDate_Failure()
166 .setStartDate(NOW_PLUS_10_YEARS) in testBuilder_EndBeforeStart_Failure()
DKeyPairGeneratorTest.java101 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); field in KeyPairGeneratorTest
162 .setEndDate(NOW_PLUS_10_YEARS) in testInitialize_LegacySpec()
378 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
388 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
424 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
435 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
470 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
481 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
517 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_RSA_LegacySpec()
528 NOW_PLUS_10_YEARS); in testGenerate_RSA_LegacySpec()
[all …]