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.java104 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); field in KeyPairGeneratorTest
165 .setEndDate(NOW_PLUS_10_YEARS) in testInitialize_LegacySpec()
390 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
400 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
436 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
447 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
482 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_EC_LegacySpec()
493 NOW_PLUS_10_YEARS); in testGenerate_EC_LegacySpec()
529 .setEndDate(NOW_PLUS_10_YEARS) in testGenerate_RSA_LegacySpec()
540 NOW_PLUS_10_YEARS); in testGenerate_RSA_LegacySpec()
[all …]