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.java311 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper() local
331 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizationsHelper()
358 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizationsHelper()
861 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
875 .setKeyValidityStart(keyValidityStart) in testGenerate_EC_ModernSpec_AsCustomAsPossible()
905 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
931 Date keyValidityStart = new Date(System.currentTimeMillis()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() local
945 .setKeyValidityStart(keyValidityStart) in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
976 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
995 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.java670 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper() local
699 .setKeyValidityStart(keyValidityStart) in testGenerateHonorsRequestedAuthorizationsHelper()
715 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); in testGenerateHonorsRequestedAuthorizationsHelper()