Home
last modified time | relevance | path

Searched refs:keyValidityStart (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DSecretKeyFactoryTest.java81 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
109 .setKeyValidityStart(keyValidityStart) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
124 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyGeneratorTest.java460 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations() local
488 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizations()
503 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizations()
DKeyFactoryTest.java93 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local
115 .setKeyValidityStart(keyValidityStart) in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
141 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyPairGeneratorTest.java302 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations() local
322 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizations()
348 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizations()
760 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
774 .setKeyValidityStart(keyValidityStart) in testGenerate_EC_ModernSpec_AsCustomAsPossible()
803 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
822 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
843 .setKeyValidityStart(keyValidityStart) in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
872 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()