Home
last modified time | relevance | path

Searched defs:purposes (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java158 int[] purposes = { in testEcAttestation() local
256 int[] purposes = { in testRsaAttestation() local
401 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation()
448 private void checkKeyUsage(X509Certificate attestationCert, int purposes) { in checkKeyUsage()
463 int keySize, int purposes) throws Exception { in testEcAttestation()
521 private void checkKeyIndependentAttestationInfo(byte[] challenge, int purposes, Date startTime, in checkKeyIndependentAttestationInfo()
708 private Set<Integer> checkPurposes(Attestation attestation, int purposes) { in checkPurposes()
787 private void checkRsaKeyDetails(Attestation attestation, int keySize, int purposes, in checkRsaKeyDetails()
856 private boolean isEncryptionPurpose(int purposes) { in isEncryptionPurpose()
860 private boolean isSignaturePurpose(int purposes) { in isSignaturePurpose()
[all …]
DSecretKeyFactoryTest.java102 int purposes; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
DTestUtils.java506 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local
545 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local
886 String transformation, int purposes) { in getMinimalWorkingImportParametersForCipheringWith()
891 String transformation, int purposes, boolean ivProvidedWhenEncrypting) { in getMinimalWorkingImportParametersForCipheringWith()
897 String transformation, int purposes, boolean ivProvidedWhenEncrypting, in getMinimalWorkingImportParametersForCipheringWith()
DKeyGeneratorTest.java686 int purposes; in testGenerateHonorsRequestedAuthorizationsHelper() local
734 private static KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec()
DCipherTest.java1744 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importDefaultKatKey()
1752 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importKatKeys()
1758 String transformation, int purposes, boolean ivProvidedWhenEncrypting, in importKatKeys()
DKeyFactoryTest.java108 int purposes = KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local
DKeyPairGeneratorTest.java323 int purposes = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT; in testGenerateHonorsRequestedAuthorizationsHelper() local
1829 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java169 private Set<Integer> purposes; field in AuthorizationList
361 public static String purposesToString(Set<Integer> purposes) { in purposesToString()