Home
last modified time | relevance | path

Searched refs:security (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/cts/tests/libcore/wycheproof-bc/src/android/libcore/cts/wycheproof/
DBouncyCastleTest.java20 import com.google.security.wycheproof.AesGcmTest;
21 import com.google.security.wycheproof.BasicTest;
22 import com.google.security.wycheproof.CipherInputStreamTest;
23 import com.google.security.wycheproof.CipherOutputStreamTest;
24 import com.google.security.wycheproof.DhTest;
25 import com.google.security.wycheproof.DhiesTest;
26 import com.google.security.wycheproof.DsaTest;
27 import com.google.security.wycheproof.EcKeyTest;
28 import com.google.security.wycheproof.EcdhTest;
29 import com.google.security.wycheproof.EcdsaTest;
[all …]
/cts/tests/libcore/wycheproof/src/android/libcore/cts/wycheproof/
DConscryptTest.java20 import com.google.security.wycheproof.AesGcmTest;
21 import com.google.security.wycheproof.BasicTest;
22 import com.google.security.wycheproof.CipherInputStreamTest;
23 import com.google.security.wycheproof.CipherOutputStreamTest;
24 import com.google.security.wycheproof.EcKeyTest;
25 import com.google.security.wycheproof.EcdhTest;
26 import com.google.security.wycheproof.EcdsaTest;
27 import com.google.security.wycheproof.RsaEncryptionTest;
28 import com.google.security.wycheproof.RsaKeyTest;
29 import com.google.security.wycheproof.RsaSignatureTest;
[all …]
/cts/tests/tests/identity/src/android/security/identity/cts/
DTestUtil.java17 package android.security.identity.cts;
19 import android.security.identity.ResultData;
20 import android.security.identity.IdentityCredentialStore;
26 import android.security.keystore.KeyProperties;
37 import java.security.InvalidAlgorithmParameterException;
38 import java.security.InvalidKeyException;
39 import java.security.KeyStore;
40 import java.security.KeyPair;
41 import java.security.KeyPairGenerator;
42 import java.security.MessageDigest;
[all …]
DX509CertificateSigningTest.java17 package android.security.identity.cts;
26 import android.security.keystore.KeyGenParameterSpec;
27 import android.security.keystore.KeyProperties;
30 import com.android.security.identity.internal.Util;
38 import java.security.InvalidAlgorithmParameterException;
39 import java.security.InvalidKeyException;
40 import java.security.KeyPair;
41 import java.security.KeyPairGenerator;
42 import java.security.KeyStore;
43 import java.security.KeyStoreException;
[all …]
DMultiDocumentPresentationTest.java17 package android.security.identity.cts;
29 import android.security.identity.AccessControlProfile;
30 import android.security.identity.AccessControlProfileId;
31 import android.security.identity.PersonalizationData;
32 import android.security.identity.IdentityCredential;
33 import android.security.identity.IdentityCredentialException;
34 import android.security.identity.IdentityCredentialStore;
35 import android.security.identity.InvalidReaderSignatureException;
36 import android.security.identity.ResultData;
37 import android.security.identity.WritableIdentityCredential;
[all …]
DReaderAuthTest.java17 package android.security.identity.cts;
19 import static android.security.identity.IdentityCredentialStore.CIPHERSUITE_ECDHE_HKDF_ECDSA_WITH_A…
20 import static android.security.identity.ResultData.STATUS_OK;
21 import static android.security.identity.ResultData.STATUS_NOT_IN_REQUEST_MESSAGE;
22 import static android.security.identity.ResultData.STATUS_READER_AUTHENTICATION_FAILED;
30 import android.security.keystore.KeyGenParameterSpec;
31 import android.security.keystore.KeyProperties;
32 import com.android.security.identity.internal.Util;
34 import android.security.identity.AccessControlProfile;
35 import android.security.identity.AccessControlProfileId;
[all …]
DIdentityApiTest.java17 package android.security.identity.cts;
21 import android.security.identity.AccessControlProfileId;
22 import android.security.identity.AlreadyPersonalizedException;
23 import android.security.identity.CipherSuiteNotSupportedException;
24 import android.security.identity.DocTypeNotSupportedException;
25 import android.security.identity.EphemeralPublicKeyNotFoundException;
26 import android.security.identity.IdentityCredential;
27 import android.security.identity.IdentityCredentialException;
28 import android.security.identity.IdentityCredentialStore;
29 import android.security.identity.InvalidReaderSignatureException;
[all …]
DEphemeralKeyTest.java17 package android.security.identity.cts;
27 import android.security.keystore.KeyProperties;
29 import android.security.identity.IdentityCredential;
30 import android.security.identity.IdentityCredentialException;
31 import android.security.identity.IdentityCredentialStore;
33 import com.android.security.identity.internal.Util;
38 import java.security.InvalidAlgorithmParameterException;
39 import java.security.InvalidKeyException;
40 import java.security.KeyPair;
41 import java.security.KeyPairGenerator;
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/certificates/
DCertificates.java20 import java.security.KeyFactory;
21 import java.security.NoSuchAlgorithmException;
22 import java.security.PrivateKey;
23 import java.security.cert.Certificate;
24 import java.security.cert.CertificateException;
25 import java.security.cert.CertificateFactory;
26 import java.security.spec.InvalidKeySpecException;
27 import java.security.spec.PKCS8EncodedKeySpec;
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DPreSelectedKeyAccessTest.java21 import android.security.KeyChain;
22 import android.security.KeyChainException;
25 import java.security.InvalidKeyException;
26 import java.security.NoSuchAlgorithmException;
27 import java.security.PrivateKey;
28 import java.security.PublicKey;
29 import java.security.Signature;
30 import java.security.SignatureException;
31 import java.security.cert.X509Certificate;
DCertSelectionDelegateTest.java30 import android.security.KeyChain;
31 import android.security.KeyChainAliasCallback;
41 import java.security.KeyFactory;
42 import java.security.NoSuchAlgorithmException;
43 import java.security.PrivateKey;
44 import java.security.cert.Certificate;
45 import java.security.cert.CertificateException;
46 import java.security.cert.CertificateFactory;
47 import java.security.spec.InvalidKeySpecException;
48 import java.security.spec.PKCS8EncodedKeySpec;
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java19 import static android.security.keymaster.KeymasterDefs.KM_ALGORITHM_3DES;
20 import static android.security.keymaster.KeymasterDefs.KM_ALGORITHM_AES;
21 import static android.security.keymaster.KeymasterDefs.KM_ALGORITHM_EC;
22 import static android.security.keymaster.KeymasterDefs.KM_ALGORITHM_RSA;
23 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_MD5;
24 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_NONE;
25 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_SHA1;
26 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_SHA_2_224;
27 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_SHA_2_256;
28 import static android.security.keymaster.KeymasterDefs.KM_DIGEST_SHA_2_384;
[all …]
DNoAttestKeyTest.java19 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;
31 import android.security.keystore.KeyGenParameterSpec;
37 import java.security.InvalidAlgorithmParameterException;
38 import java.security.KeyPairGenerator;
39 import java.security.KeyStore;
40 import java.security.ProviderException;
41 import java.security.cert.Certificate;
[all …]
DCurve25519Test.java28 import android.security.keystore.KeyGenParameterSpec;
29 import android.security.keystore.KeyProperties;
30 import android.security.keystore.KeyProtection;
40 import java.security.InvalidAlgorithmParameterException;
41 import java.security.InvalidKeyException;
42 import java.security.KeyPair;
43 import java.security.KeyPairGenerator;
44 import java.security.KeyStore;
45 import java.security.KeyStoreException;
46 import java.security.NoSuchAlgorithmException;
[all …]
DAttestKeyTest.java20 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;
35 import android.security.keystore.KeyGenParameterSpec;
46 import java.security.GeneralSecurityException;
47 import java.security.InvalidAlgorithmParameterException;
48 import java.security.KeyPairGenerator;
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DFakeKeys.java22 import java.security.KeyFactory;
23 import java.security.NoSuchAlgorithmException;
24 import java.security.PrivateKey;
25 import java.security.cert.CertificateFactory;
26 import java.security.cert.X509Certificate;
27 import java.security.spec.InvalidKeySpecException;
28 import java.security.spec.PKCS8EncodedKeySpec;
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0341.java17 package android.security.cts;
34 import java.security.Principal;
35 import java.security.cert.Certificate;
36 import java.security.cert.CertificateEncodingException;
37 import java.security.cert.CertificateFactory;
49 import javax.security.cert.CertificateException;
62 private javax.security.cert.X509Certificate[] xCerts = null;
67 xCerts = new javax.security.cert.X509Certificate[xc.length]; in CVE_2021_0341_SSLSession()
70 xCerts[i++] = javax.security.cert.X509Certificate.getInstance(cert.getEncoded()); in CVE_2021_0341_SSLSession()
111 public javax.security.cert.X509Certificate[] getPeerCertificateChain() in getPeerCertificateChain()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DLskfBoundKeysTest.java17 package com.android.cts.verifier.security;
27 import android.security.keystore.KeyGenParameterSpec;
28 import android.security.keystore.KeyPermanentlyInvalidatedException;
29 import android.security.keystore.KeyProperties;
30 import android.security.keystore.UserNotAuthenticatedException;
37 import java.security.InvalidAlgorithmParameterException;
38 import java.security.InvalidKeyException;
39 import java.security.KeyStore;
40 import java.security.KeyStoreException;
41 import java.security.NoSuchAlgorithmException;
[all …]
DProtectedConfirmationTest.java17 package com.android.cts.verifier.security;
22 import android.security.ConfirmationAlreadyPresentingException;
23 import android.security.ConfirmationCallback;
24 import android.security.ConfirmationNotAvailableException;
25 import android.security.ConfirmationPrompt;
26 import android.security.keystore.KeyGenParameterSpec;
27 import android.security.keystore.KeyProperties;
37 import java.security.InvalidAlgorithmParameterException;
38 import java.security.InvalidKeyException;
39 import java.security.KeyPairGenerator;
[all …]
DCredentialManagementAppActivity.java17 package com.android.cts.verifier.security;
27 import android.security.AppUriAuthenticationPolicy;
28 import android.security.AttestedKeyPair;
29 import android.security.KeyChain;
30 import android.security.KeyChainAliasCallback;
31 import android.security.KeyChainException;
32 import android.security.keystore.KeyGenParameterSpec;
33 import android.security.keystore.KeyProperties;
41 import java.security.InvalidKeyException;
42 import java.security.NoSuchAlgorithmException;
[all …]
/cts/tests/tests/apache-http/src/org/apache/http/conn/ssl/cts/
DAbstractVerifierTest.java19 import javax.security.auth.x500.X500Principal;
26 import java.security.InvalidKeyException;
27 import java.security.NoSuchAlgorithmException;
28 import java.security.NoSuchProviderException;
29 import java.security.Principal;
30 import java.security.PublicKey;
31 import java.security.SignatureException;
32 import java.security.cert.CertificateEncodingException;
33 import java.security.cert.CertificateException;
34 import java.security.cert.CertificateExpiredException;
[all …]
/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;
43 import java.security.InvalidAlgorithmParameterException;
44 import java.security.KeyPair;
45 import java.security.KeyPairGenerator;
46 import java.security.KeyStore;
[all …]
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DTestCertificates.java23 import java.security.KeyFactory;
24 import java.security.PrivateKey;
25 import java.security.cert.Certificate;
26 import java.security.cert.CertificateFactory;
27 import java.security.spec.PKCS8EncodedKeySpec;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractUserAuthenticationSignatureTest.java20 import android.security.keystore.KeyGenParameterSpec;
21 import android.security.keystore.KeyProperties;
23 import java.security.KeyPairGenerator;
24 import java.security.Signature;
25 import java.security.spec.ECGenParameterSpec;
/cts/tests/tests/apache-http/src/android/net/http/cts/
DSslCertificateTest.java20 import java.security.InvalidKeyException;
21 import java.security.NoSuchAlgorithmException;
22 import java.security.NoSuchProviderException;
23 import java.security.Principal;
24 import java.security.PublicKey;
25 import java.security.SignatureException;
26 import java.security.cert.CertificateEncodingException;
27 import java.security.cert.CertificateException;
28 import java.security.cert.CertificateExpiredException;
29 import java.security.cert.CertificateNotYetValidException;
[all …]

12345678910>>...42