Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java56 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() local
66 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testSettersReflectedInGetters()
85 assertEquals(keyValidityEndDateForOrigination, spec.getKeyValidityForOriginationEnd()); in testSettersReflectedInGetters()
140 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() local
142 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams()
161 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testImmutabilityViaSetterParams()
186 keyValidityEndDateForOrigination.setTime(1234567890L); in testImmutabilityViaSetterParams()
DKeyGenParameterSpecTest.java77 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() local
94 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testSettersReflectedInGetters()
120 assertEquals(keyValidityEndDateForOrigination, spec.getKeyValidityForOriginationEnd()); in testSettersReflectedInGetters()
193 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() local
195 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams()
216 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testImmutabilityViaSetterParams()
249 keyValidityEndDateForOrigination.setTime(1234567890L); in testImmutabilityViaSetterParams()
DKeyInfoTest.java39 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaGetterReturnValues() local
48 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testImmutabilityViaGetterReturnValues()
DKeyPairGeneratorTest.java761 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 1000000); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
775 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testGenerate_EC_ModernSpec_AsCustomAsPossible()
804 assertEquals(keyValidityEndDateForOrigination, keyInfo.getKeyValidityForOriginationEnd()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
823 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 1000000); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
844 .setKeyValidityForOriginationEnd(keyValidityEndDateForOrigination) in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
873 assertEquals(keyValidityEndDateForOrigination, keyInfo.getKeyValidityForOriginationEnd()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()