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.java154 int[] purposes = { in testEcAttestation() local
251 int[] purposes = { in testRsaAttestation() local
396 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation()
443 private void checkKeyUsage(X509Certificate attestationCert, int purposes) { in checkKeyUsage()
458 int keySize, int purposes) throws Exception { in testEcAttestation()
516 private void checkKeyIndependentAttestationInfo(byte[] challenge, int purposes, Date startTime, in checkKeyIndependentAttestationInfo()
702 private Set<Integer> checkPurposes(Attestation attestation, int purposes) { in checkPurposes()
776 private void checkRsaKeyDetails(Attestation attestation, int keySize, int purposes, in checkRsaKeyDetails()
845 private boolean isEncryptionPurpose(int purposes) { in isEncryptionPurpose()
849 private boolean isSignaturePurpose(int purposes) { in isSignaturePurpose()
[all …]
DKeyGeneratorTest.java482 int purposes; in testGenerateHonorsRequestedAuthorizations() local
529 private static KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec()
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()
DCipherTest.java1717 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importDefaultKatKey()
1725 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importKatKeys()
1731 String transformation, int purposes, boolean ivProvidedWhenEncrypting, in importKatKeys()
DKeyFactoryTest.java108 int purposes = KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local
DKeyPairGeneratorTest.java316 int purposes = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT; in testGenerateHonorsRequestedAuthorizations() local
1539 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java164 private Set<Integer> purposes; field in AuthorizationList
339 public static String purposesToString(Set<Integer> purposes) { in purposesToString()