Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 25 of 172) sorted by relevance

1234567

/cts/tests/tests/keystore/
DTEST_MAPPING10 "exclude-filter": "android.keystore.cts.SignatureTest"
13 "exclude-filter": "android.keystore.cts.MacTest#testLargeMsgKat"
16 "exclude-filter": "android.keystore.cts.KeyPairGeneratorTest"
19 "exclude-filter": "android.keystore.cts.KeyGeneratorTest#testHmacKeySupportedSizes"
22 "exclude-filter": "android.keystore.cts.CipherTest"
25 "exclude-filter": "android.keystore.cts.AndroidKeyStoreTest"
28 "exclude-filter": "android.keystore.cts.AESCipherNistCavpKatTest"
31 "exclude-filter": "android.keystore.cts.DESedeECBPKCS7PaddingCipherTest"
34 "exclude-filter": "android.keystore.cts.DESedeECBNoPaddingCipherTest"
37 "exclude-filter": "android.keystore.cts.DESedeECBPKCS7PaddingCipherTest"
DAndroid.bp20 name: "cts-keystore-user-auth-helper-library",
36 name: "cts-keystore-test-util",
38 srcs: ["src/android/keystore/cts/util/**/*.java"],
74 "cts-keystore-test-util",
75 "cts-keystore-user-auth-helper-library",
86 srcs: ["src/android/keystore/cts/*.java"],
117 "cts-keystore-test-util",
123 "src/android/keystore/cts/performance/**/*.java",
149 "wycheproof-keystore",
151 "cts-keystore-test-util",
/cts/tests/tests/keystore/src/android/keystore/cts/
DNoAttestKeyTest.java17 package android.keystore.cts;
19 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
20 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_RSA;
21 import static android.security.keystore.KeyProperties.PURPOSE_ATTEST_KEY;
22 import static android.security.keystore.KeyProperties.PURPOSE_SIGN;
30 import android.keystore.cts.util.TestUtils;
31 import android.security.keystore.KeyGenParameterSpec;
DPutOverflowTest.java17 package android.keystore.cts;
37 Object keystore = getInstance.invoke(null); in testCrash() local
39 Boolean result = (Boolean)put.invoke(keystore, "crashFile", buffer, -1, 0); in testCrash()
DAttestKeyTest.java17 package android.keystore.cts;
19 import static android.keystore.cts.KeyAttestationTest.verifyCertificateChain;
20 import static android.security.keystore.KeyProperties.DIGEST_SHA256;
21 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
22 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_RSA;
23 import static android.security.keystore.KeyProperties.PURPOSE_ATTEST_KEY;
24 import static android.security.keystore.KeyProperties.PURPOSE_SIGN;
25 import static android.security.keystore.KeyProperties.SIGNATURE_PADDING_RSA_PSS;
34 import android.keystore.cts.util.TestUtils;
35 import android.security.keystore.KeyGenParameterSpec;
DKeyInfoTest.java17 package android.keystore.cts;
21 import android.keystore.cts.util.ImportedKey;
22 import android.keystore.cts.util.TestUtils;
26 import android.security.keystore.KeyGenParameterSpec;
27 import android.security.keystore.KeyInfo;
28 import android.security.keystore.KeyProperties;
29 import android.security.keystore.KeyProtection;
DRSASignatureTest.java15 package android.keystore.cts;
37 import android.keystore.cts.R;
38 import android.keystore.cts.util.ImportedKey;
39 import android.keystore.cts.util.TestUtils;
40 import android.security.keystore.KeyProperties;
41 import android.security.keystore.KeyProtection;
DKeyAgreementTest.java17 package android.keystore.cts;
25 import android.keystore.cts.util.ImportedKey;
26 import android.keystore.cts.util.TestUtils;
27 import android.security.keystore.KeyGenParameterSpec;
28 import android.security.keystore.KeyInfo;
29 import android.security.keystore.KeyProperties;
30 import android.security.keystore.KeyProtection;
DDeviceOwnerKeyManagementTest.java17 package android.keystore.cts;
23 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_SOFTWARE;
24 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_STRONG_BOX;
25 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT;
26 import static android.keystore.cts.KeyAttestationTest.verifyCertificateChain;
27 import static android.keystore.cts.RootOfTrust.KM_VERIFIED_BOOT_VERIFIED;
28 import static android.security.keystore.KeyProperties.DIGEST_NONE;
29 import static android.security.keystore.KeyProperties.DIGEST_SHA256;
30 import static android.security.keystore.KeyProperties.DIGEST_SHA512;
31 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/performance/
DDesKeyGenPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.keystore.cts.util.TestUtils;
20 import android.security.keystore.KeyProperties;
DAttestationPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.keystore.cts.performance.PerformanceTestBase.AndroidKeystoreKeyGenerator;
20 import android.keystore.cts.util.TestUtils;
21 import android.security.keystore.KeyProperties;
DHmacKeyGenPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.security.keystore.KeyProperties;
DAesKeyGenPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.security.keystore.KeyProperties;
DRsaCipherPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.keystore.cts.util.EmptyArray;
20 import android.keystore.cts.util.TestUtils;
21 import android.security.keystore.KeyProperties;
DEcKeyGenPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.security.keystore.KeyProperties;
DRsaKeyGenPerformanceTest.java17 package android.keystore.cts.performance;
19 import android.security.keystore.KeyProperties;
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DKeystoreAttestationDeviceInfo.java18 import static android.security.keystore.KeyProperties.DIGEST_SHA256;
19 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
20 import static android.security.keystore.KeyProperties.PURPOSE_SIGN;
21 import static android.security.keystore.KeyProperties.PURPOSE_VERIFY;
32 import android.security.keystore.DeviceIdAttestationException;
33 import android.security.keystore.KeyGenParameterSpec;
115 KeyStore keystore, in loadCertAndCollectAttestation() argument
120 Objects.requireNonNull(keystore); in loadCertAndCollectAttestation()
135 Certificate[] certificates = keystore.getCertificateChain(testAlias); in loadCertAndCollectAttestation()
/cts/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java67 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); in getTrustManager() local
68 keystore.load(null); in getTrustManager()
71 keystore.setEntry("root", new KeyStore.TrustedCertificateEntry(root), null); in getTrustManager()
73 tmf.init(keystore); in getTrustManager()
DPutOverflowTest.java39 Object keystore = getInstance.invoke(null); in testCrash() local
41 Boolean result = (Boolean)put.invoke(keystore, "crashFile", buffer, -1, 0); in testCrash()
/cts/tests/security/src/android/keystore/cts/
DKeyGenerationUtils.java17 package android.keystore.cts;
27 import android.security.keystore.KeyGenParameterSpec;
28 import android.security.keystore.KeyProperties;
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DUtils.java29 import android.security.keystore.KeyGenParameterSpec;
30 import android.security.keystore.KeyProperties;
243 final KeyStore keystore = KeyStore.getInstance(KEYSTORE_PROVIDER); in generateBiometricBoundKey() local
244 keystore.load(null); in generateBiometricBoundKey()
266 final KeyStore keystore = KeyStore.getInstance(KEYSTORE_PROVIDER); in initializeCryptoObject() local
267 keystore.load(null); in initializeCryptoObject()
268 final SecretKey secretKey = (SecretKey) keystore.getKey( in initializeCryptoObject()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractUserAuthenticationMacTest.java20 import android.security.keystore.KeyGenParameterSpec;
21 import android.security.keystore.KeyProperties;
DAbstractUserAuthenticationAeadCipherTest.java20 import android.security.keystore.KeyGenParameterSpec;
21 import android.security.keystore.KeyProperties;
DAbstractUserAuthenticationSignatureTest.java20 import android.security.keystore.KeyGenParameterSpec;
21 import android.security.keystore.KeyProperties;
DAbstractUserAuthenticationCipherTest.java20 import android.security.keystore.KeyGenParameterSpec;
21 import android.security.keystore.KeyProperties;

1234567