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.java89 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
117 .setKeyValidityStart(keyValidityStart) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
132 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyPairGeneratorTest.java314 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper() local
334 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizationsHelper()
361 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizationsHelper()
864 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
878 .setKeyValidityStart(keyValidityStart) in testGenerate_EC_ModernSpec_AsCustomAsPossible()
907 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
933 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() local
947 .setKeyValidityStart(keyValidityStart) in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
977 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
996 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
[all …]
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()
DKeyGeneratorTest.java675 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper() local
704 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizationsHelper()
720 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizationsHelper()