/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyProtectionTest.java | 17 package android.keystore.cts; 19 import android.security.keystore.KeyProperties; 20 import android.security.keystore.KeyProtection;
|
KeyFactoryTest.java | 17 package android.keystore.cts; 19 import android.security.keystore.KeyGenParameterSpec; 20 import android.security.keystore.KeyInfo; 21 import android.security.keystore.KeyProperties; 25 import android.keystore.cts.R; 69 // Assert that Android Keystore Provider exposes exactly the expected KeyFactory algorithms. 129 // Keystore may have added ENCRYPTION_PADDING_NONE to allow software padding. 136 // Keystore may have added DIGEST_NONE to allow software digesting.
|
SignatureTest.java | 17 package android.keystore.cts; 19 import android.keystore.cts.R; 40 import android.security.keystore.KeyProperties; 41 import android.security.keystore.KeyProtection; 47 * Keystore. 332 // Assert that Android Keystore Provider exposes exactly the expected signature algorithms. [all...] |
AuthorizationList.java | 17 package android.keystore.cts; 27 import android.security.keystore.KeyProperties;
|
CipherTest.java | 17 package android.keystore.cts; 20 import android.security.keystore.KeyProperties; 21 import android.security.keystore.KeyProtection; 25 import android.keystore.cts.R; 57 * Keystore. 227 // Assert that Android Keystore Provider exposes exactly the expected Cipher 439 // digest specified in the transformation. RI and Android Keystore keep the MGF1 477 // TODO: Remove this workaround once Android Keystore AES-GCM supports IVs of 483 // Android Keystore AES-GCM only supports 12-byte long IVs. [all...] |
KeyAttestationTest.java | 17 package android.keystore.cts; 19 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_SOFTWARE; 20 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT; 21 import static android.keystore.cts.AuthorizationList.KM_ALGORITHM_EC; 22 import static android.keystore.cts.AuthorizationList.KM_ALGORITHM_RSA; 23 import static android.keystore.cts.AuthorizationList.KM_DIGEST_NONE; 24 import static android.keystore.cts.AuthorizationList.KM_DIGEST_SHA_2_256; 25 import static android.keystore.cts.AuthorizationList.KM_DIGEST_SHA_2_512; 26 import static android.keystore.cts.AuthorizationList.KM_ORIGIN_GENERATED; 27 import static android.keystore.cts.AuthorizationList.KM_ORIGIN_UNKNOWN [all...] |
AndroidKeyStoreTest.java | 17 package android.keystore.cts; 23 import android.security.keystore.KeyProperties; 24 import android.security.keystore.KeyProtection; 30 import android.keystore.cts.R; 40 import java.security.KeyStore; 41 import java.security.KeyStore.Entry; 42 import java.security.KeyStore.PrivateKeyEntry; 43 import java.security.KeyStore.TrustedCertificateEntry; 72 private KeyStore mKeyStore; [all...] |
BlockCipherTestBase.java | 17 package android.keystore.cts; 19 import android.security.keystore.KeyProperties; 20 import android.security.keystore.KeyProtection; 31 import java.security.KeyStore; 56 private KeyStore mAndroidKeyStore; 62 mAndroidKeyStore = KeyStore.getInstance("AndroidKeyStore"); [all...] |
KeyPairGeneratorTest.java | 17 package android.keystore.cts; 20 import android.security.keystore.KeyGenParameterSpec; 21 import android.security.keystore.KeyInfo; 22 import android.security.keystore.KeyProperties; 32 import java.security.KeyStore; 78 private KeyStore mKeyStore; 129 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); 134 // Assert that Android Keystore Provider exposes exactly the expected KeyPairGenerator 336 // Keystore may have added ENCRYPTION_PADDING_NONE to allow software OAEP 343 // Keystore may have added DIGEST_NONE, to allow software digesting [all...] |
KeyStoreTest.java | 17 package android.keystore.cts; 28 import java.security.KeyStore; 29 import java.security.KeyStore.Builder; 30 import java.security.KeyStore.Entry; 31 import java.security.KeyStore.LoadStoreParameter; 32 import java.security.KeyStore.PasswordProtection; 33 import java.security.KeyStore.PrivateKeyEntry; 34 import java.security.KeyStore.ProtectionParameter; 35 import java.security.KeyStore.SecretKeyEntry; 36 import java.security.KeyStore.TrustedCertificateEntry [all...] |
TestUtils.java | 17 package android.keystore.cts; 20 import android.security.keystore.KeyGenParameterSpec; 21 import android.security.keystore.KeyInfo; 22 import android.security.keystore.KeyProperties; 23 import android.security.keystore.KeyProtection; 34 import java.security.KeyStore; 133 * Asserts that the provided key pair is an Android Keystore key pair stored under the provided 136 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { 142 KeyStore.Entry entry [all...] |
/external/vogar/src/vogar/ |
Run.java | 66 public final File keystore; field in class:Run 167 this.keystore = localFile("activity", "vogar.keystore");
|
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 37 import android.security.keystore.KeyExpiredException; 38 import android.security.keystore.KeyNotYetValidException; 39 import android.security.keystore.KeyPermanentlyInvalidatedException; 40 import android.security.keystore.UserNotAuthenticatedException; 53 public class KeyStore { 54 private static final String TAG = "KeyStore"; 106 private KeyStore(IKeystoreService binder) { 120 public static KeyStore getInstance() { 121 IKeystoreService keystore = IKeystoreService.Stub.asInterface(ServiceManager local 122 .getService("android.security.keystore")); [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreAuthenticatedAESCipherSpi.java | 17 package android.security.keystore; 22 import android.security.KeyStore; 27 import android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.Stream; 47 * Base class for Android Keystore authenticated AES {@link CipherSpi} implementations. 176 KeyStore keyStore, IBinder operationToken) { 179 keyStore, operationToken)); 184 // plaintext before ciphertext is authenticated by KeyStore.finish. 192 KeyStore keyStore, IBinder operationToken) [all...] |
AndroidKeyStoreCipherSpiBase.java | 17 package android.security.keystore; 23 import android.security.KeyStore; 62 * Base class for {@link CipherSpi} implementations of Android KeyStore backed ciphers. 67 private final KeyStore mKeyStore; 69 // Fields below are populated by Cipher.init and KeyStore.begin and should be preserved after 77 * Token referencing this operation inside keystore service. It is initialized by 96 mKeyStore = KeyStore.getInstance(); 251 true, // permit aborting this operation if keystore runs out of resources 259 // Store operation token and handle regardless of the error code returned by KeyStore to 264 // If necessary, throw an exception due to KeyStore operation having failed [all...] |
KeyGenParameterSpec.java | 17 package android.security.keystore; 24 import android.security.KeyStore; 41 * {@link KeyGenerator} of the <a href="{@docRoot}training/articles/keystore.html">Android Keystore 56 * Keystore under the alias specified in this spec. To obtain the secret or private key from the 57 * Android Keystore use {@link java.security.KeyStore#getKey(String, char[]) KeyStore.getKey(String, null)} 58 * or {@link java.security.KeyStore#getEntry(String, java.security.KeyStore.ProtectionParameter) KeyStore.getEntry(String, null)} [all...] |
KeyProperties.java | 17 package android.security.keystore; 33 * Properties of <a href="{@docRoot}training/articles/keystore.html">Android Keystore</a> keys.
|
AndroidKeyStoreKeyPairGeneratorSpi.java | 17 package android.security.keystore; 22 import android.security.KeyStore; 81 * Android keystore service usable only by the application that called it. This 83 * {@link java.security.KeyStore#getInstance(String)} using the 107 * These must be kept in sync with system/security/keystore/defaults.h 151 private KeyStore mKeyStore; 226 // MD5 was never offered for Android Keystore for ECDSA. 307 throw new InvalidAlgorithmParameterException("KeyStore entry alias not provided"); 356 mKeyStore = KeyStore.getInstance(); 367 mEntryUid = KeyStore.UID_SELF [all...] |
AndroidKeyStoreSpi.java | 17 package android.security.keystore; 21 import android.security.KeyStore; 26 import android.security.keystore.KeyProperties; 27 import android.security.keystore.KeyProtection; 35 import java.security.KeyStore.Entry; 36 import java.security.KeyStore.LoadStoreParameter; 37 import java.security.KeyStore.PrivateKeyEntry; 38 import java.security.KeyStore.ProtectionParameter; 39 import java.security.KeyStore.SecretKeyEntry; 65 * A java.security.KeyStore interface for the Android KeyStore. An instance o [all...] |
/frameworks/base/keystore/tests/src/android/security/keystore/ |
AndroidKeyPairGeneratorTest.java | 17 package android.security.keystore; 21 import android.security.KeyStore; 49 private android.security.KeyStore mAndroidKeyStore; 75 mAndroidKeyStore = android.security.KeyStore.getInstance(); 387 KeyStore.UID_SELF, 416 assertEquals(KeyStore.NO_ERROR, exportResult.resultCode); 418 assertNotNull("The keystore should return the public key for the generated key",
|
/system/security/keystore/ |
keystore_client_impl.cpp | 17 #include "keystore/keystore_client_impl.h" 25 #include "keystore/IKeystoreService.h" 26 #include "keystore/keystore.h" 68 namespace keystore { namespace 72 keystore_binder_ = service_manager_->getService(String16("android.security.keystore")); 556 } // namespace keystore
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
XmlConfigTests.java | 28 import java.security.KeyStore; 401 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); local 402 keystore.load(null); 405 keystore.setEntry(String.valueOf(i), 406 new KeyStore.TrustedCertificateEntry(cert), 410 tmf.init(keystore);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
BcKeyStoreSpi.java | 1 package org.bouncycastle.jcajce.provider.keystore.bc; 868 throw new IOException("KeyStore integrity check failed."); 1016 throw new IOException("KeyStore integrity check failed.");
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/118/1/.cp/lib/ |
jarprocessor-ant.jar | |
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
NanoHTTPD.java | 66 import java.security.KeyStore; 1738 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); local [all...] |