Searched defs:keystore (Results 51 - 75 of 76) sorted by relevance

1234

/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java78 * keytool -import -alias "my server cert" -file server.crt -keystore my.truststore
84 * a {@link KeyStore keystore} file containg a private key/public certificate
93 * Use the following sequence of actions to generate a keystore file
99 * <pre>keytool -genkey -v -alias "my client key" -validity 365 -keystore my.keystore</pre>
100 * For simplicity use the same password for the key as that of the keystore
106 * <pre>keytool -certreq -alias "my client key" -file mycertreq.csr -keystore my.keystore</pre>
119 * <pre>keytool -import -alias "my trusted ca" -file caroot.crt -keystore my.keystore</pr
182 SSLSocketFactory( String algorithm, final KeyStore keystore, final String keystorePassword, final KeyStore truststore, final SecureRandom random, final HostNameResolver nameResolver) argument
209 SSLSocketFactory( final KeyStore keystore, final String keystorePassword, final KeyStore truststore) argument
218 SSLSocketFactory(final KeyStore keystore, final String keystorePassword) argument
255 createKeyManagers(final KeyStore keystore, final String password) argument
266 createTrustManagers(final KeyStore keystore) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
H A DKeyChainSnapshotTest.java17 package android.security.keystore.recovery;
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStore3DESCipherSpi.java17 package android.security.keystore;
H A DAndroidKeyStoreECDSASignatureSpi.java17 package android.security.keystore;
H A DAndroidKeyStoreHmacSpi.java17 package android.security.keystore;
H A DAndroidKeyStoreKeyGeneratorSpi.java17 package android.security.keystore;
25 import android.security.keystore.KeyGenParameterSpec;
26 import android.security.keystore.KeyProperties;
H A DAndroidKeyStoreProvider.java17 package android.security.keystore;
65 private static final String PACKAGE_NAME = "android.security.keystore";
H A DAndroidKeyStoreRSASignatureSpi.java17 package android.security.keystore;
H A DAndroidKeyStoreUnauthenticatedAESCipherSpi.java17 package android.security.keystore;
H A DDelegatingX509Certificate.java17 package android.security.keystore;
H A DKeyStoreCryptoOperationChunkedStreamer.java17 package android.security.keystore;
56 * Returns the result of the KeyStore {@code update} operation or null if keystore couldn't
62 * Returns the result of the KeyStore {@code finish} operation or null if keystore couldn't
216 // Flush all buffered input and provided input into keystore/keymaster.
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java17 package android.security.keystore;
27 import android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.Stream;
H A DAndroidKeyStoreRSACipherSpi.java17 package android.security.keystore;
H A DAndroidKeyStoreSignatureSpiBase.java17 package android.security.keystore;
55 * Token referencing this operation inside keystore service. It is initialized by
205 true, // permit aborting this operation if keystore runs out of resources
426 * @param keymasterArgs keystore/keymaster arguments to be populated with algorithm-specific
H A DAndroidKeyStoreSpi.java17 package android.security.keystore;
27 import android.security.keystore.KeyProperties;
28 import android.security.keystore.KeyProtection;
29 import android.security.keystore.SecureKeyImportUnavailableException;
30 import android.security.keystore.WrappedKeyEntry;
73 * This is built on top of Android's keystore daemon. The convention of alias
168 // complication is that the underlying keystore service operates only on full key pairs,
170 // crypto can only be offered for public keys for which keystore contains the
187 // As expected, keystore contains the private key corresponding to this public key. Wrap
205 * keystore
[all...]
H A DKeyInfo.java17 package android.security.keystore;
29 * Information about a key from the <a href="{@docRoot}training/articles/keystore.html">Android
H A DAndroidKeyStoreCipherSpiBase.java17 package android.security.keystore;
77 * Token referencing this operation inside keystore service. It is initialized by
251 true, // permit aborting this operation if keystore runs out of resources
901 * @param keymasterArgs keystore/keymaster arguments to be populated with algorithm-specific
915 * @param keymasterArgs keystore/keymaster arguments returned by KeyStore {@code begin}
H A DAndroidKeyStoreKeyPairGeneratorSpi.java17 package android.security.keystore;
83 * Android keystore service usable only by the application that called it. This
109 * These must be kept in sync with system/security/keystore/defaults.h
530 throw new ProviderException("Failed to load generated key pair from keystore", e);
H A DKeyProperties.java17 package android.security.keystore;
33 * Properties of <a href="{@docRoot}training/articles/keystore.html">Android Keystore</a> keys.
H A DKeyProtection.java17 package android.security.keystore;
38 * <a href="{@docRoot}training/articles/keystore.html">Android Keystore system</a>. This class
770 * <a href="{@docRoot}training/articles/keystore.html#UserAuthentication">More
964 * Sets whether the keystore requires the screen to be unlocked before allowing decryption
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsServiceTestable.java30 import android.security.keystore.KeyPermanentlyInvalidatedException;
113 LockSettingsStorage storage, FakeGateKeeperService gatekeeper, KeyStore keystore,
116 super(new MockInjector(context, storage, keystore, mActivityManager, lockPatternUtils,
112 LockSettingsServiceTestable(Context context, LockPatternUtils lockPatternUtils, LockSettingsStorage storage, FakeGateKeeperService gatekeeper, KeyStore keystore, IStorageManager storageManager, IActivityManager mActivityManager, SyntheticPasswordManager spManager, IAuthSecret authSecretService) argument
/frameworks/base/core/java/android/security/keystore/recovery/
H A DKeyChainSnapshot.java17 package android.security.keystore.recovery;
32 * A snapshot of a version of the keystore. Two events can trigger the generation of a new snapshot:
57 // - Update android.security.keystore.recovery.KeyChainSnapshotTest to make sure nobody
/frameworks/base/keystore/java/android/security/
H A DCredentials.java226 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { argument
227 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF);
235 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { argument
240 return deleteUserKeyTypeForAlias(keystore, alias, uid)
241 & deleteCertificateTypesForAlias(keystore, alias, uid);
249 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { argument
250 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF);
258 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { argument
263 return keystore.delete(Credentials.USER_CERTIFICATE + alias, uid)
264 & keystore
271 deleteUserKeyTypeForAlias(KeyStore keystore, String alias) argument
279 deleteUserKeyTypeForAlias(KeyStore keystore, String alias, int uid) argument
288 deleteLegacyKeyForAlias(KeyStore keystore, String alias, int uid) argument
[all...]
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java157 private static HashSet<X509Certificate> getTrustedCerts(File keystore) argument
160 if (keystore == null) {
161 keystore = DEFAULT_KEYSTORE;
163 ZipFile zip = new ZipFile(keystore);
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyStoreManager.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT;
20 import static android.security.keystore.recovery.RecoveryController.ERROR_DECRYPTION_FAILED;
21 import static android.security.keystore.recovery.RecoveryController.ERROR_DOWNGRADE_CERTIFICATE;
22 import static android.security.keystore.recovery.RecoveryController.ERROR_INSECURE_USER;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_KEY_FORMAT;
24 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
25 import static android.security.keystore.recovery.RecoveryController.ERROR_NO_SNAPSHOT_PENDING;
26 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
27 import static android.security.keystore.recovery.RecoveryController.ERROR_SESSION_EXPIRED;
38 import android.security.keystore
112 getInstance(Context context, KeyStore keystore) argument
[all...]

Completed in 960 milliseconds

1234