Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java57 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() local
67 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testSettersReflectedInGetters()
86 assertEquals(keyValidityEndDateForConsumption, spec.getKeyValidityForConsumptionEnd()); in testSettersReflectedInGetters()
143 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testImmutabilityViaSetterParams() local
145 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
162 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testImmutabilityViaSetterParams()
192 keyValidityEndDateForConsumption.setTime(1234567890L); in testImmutabilityViaSetterParams()
DKeyGenParameterSpecTest.java78 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() local
95 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testSettersReflectedInGetters()
121 assertEquals(keyValidityEndDateForConsumption, spec.getKeyValidityForConsumptionEnd()); in testSettersReflectedInGetters()
196 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testImmutabilityViaSetterParams() local
198 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
217 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testImmutabilityViaSetterParams()
255 keyValidityEndDateForConsumption.setTime(1234567890L); in testImmutabilityViaSetterParams()
DKeyInfoTest.java40 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testImmutabilityViaGetterReturnValues() local
49 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testImmutabilityViaGetterReturnValues()
DKeyPairGeneratorTest.java762 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 10000000); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
776 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testGenerate_EC_ModernSpec_AsCustomAsPossible()
805 assertEquals(keyValidityEndDateForConsumption, keyInfo.getKeyValidityForConsumptionEnd()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
824 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 10000000); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
845 .setKeyValidityForConsumptionEnd(keyValidityEndDateForConsumption) in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
874 assertEquals(keyValidityEndDateForConsumption, keyInfo.getKeyValidityForConsumptionEnd()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()