OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:KeyStore
(Results
1 - 21
of
21
) sorted by null
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KSCallbackHandlerProtectionTest.java
26
import java.security.
KeyStore
;
37
* Tests for <code>
KeyStore
.CallbackHandlerProtection> class constructor and methods
43
* Test for <code>
KeyStore
.CallbackHandlerProtection(CallbackHandler handler)</code>
49
new
KeyStore
.CallbackHandlerProtection(null);
64
new
KeyStore
.CallbackHandlerProtection(new TestCallbackHandler());
77
KeyStore
.CallbackHandlerProtection ksCBH = new
KeyStore
.CallbackHandlerProtection(cbh);
KSPrivateKeyEntryTest.java
25
import java.security.
KeyStore
;
37
* Tests for <code>
KeyStore
.PrivateKeyEntry</code> class constructor and methods
66
new
KeyStore
.PrivateKeyEntry(pk, certs);
82
new
KeyStore
.PrivateKeyEntry(pk, chain);
88
new
KeyStore
.PrivateKeyEntry(pk, chain);
102
new
KeyStore
.PrivateKeyEntry(testPrivateKey, testChain);
117
new
KeyStore
.PrivateKeyEntry(testPrivateKey, testChain);
129
KeyStore
.PrivateKeyEntry ksPKE = new
KeyStore
.PrivateKeyEntry(
141
KeyStore
.PrivateKeyEntry ksPKE = new KeyStore.PrivateKeyEntry
[
all
...]
KeyStoreBuilderTest.java
27
import java.security.
KeyStore
;
47
private
KeyStore
.PasswordProtection protPass = new
KeyStore
.PasswordProtection(
52
private
KeyStore
.CallbackHandlerProtection callbackHand = new
KeyStore
.CallbackHandlerProtection(
67
"
KeyStore
." +
KeyStore
.getDefaultType())[0];
87
* test for method newInstance(
KeyStore
,
KeyStore
.ProtectionParameter)
95
KeyStore
.Builder.newInstance(null, null)
[
all
...]
KeyStore4Test.java
15
import java.security.
KeyStore
;
23
import java.security.
KeyStore
.Entry;
24
import java.security.
KeyStore
.ProtectionParameter;
31
KeyStore
keyStore
;
32
KeyStore
uninitialized;
33
KeyStore
failing;
43
keyStore
=
KeyStore
.getInstance(KEY_STORE_TYPE);
44
keyStore
.load(null, "PASSWORD".toCharArray())
[
all
...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KSPrivateKeyEntryTest.java
35
* Tests for <code>
KeyStore
.PrivateKeyEntry</code> class constructor and methods
72
new
KeyStore
.PrivateKeyEntry(pk, certs);
88
new
KeyStore
.PrivateKeyEntry(pk, chain);
94
new
KeyStore
.PrivateKeyEntry(pk, chain);
108
new
KeyStore
.PrivateKeyEntry(testPrivateKey, testChain);
123
new
KeyStore
.PrivateKeyEntry(testPrivateKey, testChain);
135
KeyStore
.PrivateKeyEntry ksPKE = new
KeyStore
.PrivateKeyEntry(
147
KeyStore
.PrivateKeyEntry ksPKE = new
KeyStore
.PrivateKeyEntry
[
all
...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl1Test.java
26
import java.security.
KeyStore
;
46
* Tests for <code>
KeyStore
</code> constructor and methods
65
private static String NotSupportMsg = "Default
KeyStore
type is not supported";
67
public
KeyStore
[] createKS() throws Exception {
69
KeyStore
[] kpg = new
KeyStore
[3];
71
kpg[0] =
KeyStore
.getInstance(defaultType);
72
kpg[1] =
KeyStore
.getInstance(defaultType, defaultProvider);
73
kpg[2] =
KeyStore
.getInstance(defaultType, defaultProviderName);
84
KeyStore
ks
[
all
...]
KeyStore_Impl2Test.java
26
import java.security.
KeyStore
;
48
* Tests for <code>
KeyStore
</code> constructor and methods
57
private static final String defaultAlg = "
KeyStore
";
67
validValues[2] = "
kEyStOrE
";
68
validValues[3] = "
KeysTORE
";
89
private void checkResult(
KeyStore
keyS) throws KeyStoreException,
120
KeyStore
.TrustedCertificateEntry entry = new
KeyStore
.TrustedCertificateEntry(
155
KeyStore
.LoadStoreParameter lParam = new MyLoadStoreParams(
156
new
KeyStore
.PasswordProtection(new char[0]));
[
all
...]
KSBuilder_ImplTest.java
28
import java.security.
KeyStore
;
50
* Tests for <code>
KeyStore
.Builder</code> class
56
private
KeyStore
.PasswordProtection protPass = new
KeyStore
.PasswordProtection(pass);
58
private
KeyStore
.CallbackHandlerProtection callbackHand = new
KeyStore
.CallbackHandlerProtection(tmpCall);
74
// Creates empty
KeyStore
and loads it to file
77
File ff = File.createTempFile("KSBuilder_ImplTest", "
keystore
");
81
KeyStore
ks =
KeyStore
.getInstance(KeyStore.getDefaultType())
[
all
...]
/frameworks/base/keystore/java/android/security/
KeyStore.java
34
public class
KeyStore
{
52
"
keystore
", LocalSocketAddress.Namespace.RESERVED);
56
private
KeyStore
() {}
58
public static
KeyStore
getInstance() {
59
return new
KeyStore
();
/libcore/luni/src/main/java/java/security/
KeyStore.java
39
* {@code
KeyStore
} is responsible for maintaining cryptographic keys and their
43
* '
keystore
.type'} property in the file named {@code
49
public class
KeyStore
{
51
// Store
KeyStore
SERVICE name
52
private static final String SERVICE = "
KeyStore
";
57
// Store
KeyStore
property name
58
private static final String PROPERTYNAME = "
keystore
.type";
60
// Store default
KeyStore
type
63
// Store
KeyStore
state (initialized or not)
76
* Constructs a new instance of {@code
KeyStore
} with the given arguments
[
all
...]
/frameworks/base/cmds/keystore/
keystore.cpp
36
#define LOG_TAG "
keystore
"
41
#include "
keystore
.h"
43
/*
KeyStore
is a secured storage for key-value pairs. In this implementation,
289
class
KeyStore
{
291
KeyStore
(Entropy* entropy) : mEntropy(entropy), mRetry(MAX_RETRY) {
491
salt = (uint8_t*) "
keystore
";
493
saltSize = sizeof("
keystore
");
505
const char*
KeyStore
::MASTER_KEY_FILE = ".masterkey";
564
static ResponseCode test(
KeyStore
*
keyStore
, int sock, uid_t uid, Value*, Value*)
[
all
...]
/libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java
27
import java.security.
KeyStore
;
28
import java.security.
KeyStore
.Builder;
29
import java.security.
KeyStore
.Entry;
30
import java.security.
KeyStore
.LoadStoreParameter;
31
import java.security.
KeyStore
.PasswordProtection;
32
import java.security.
KeyStore
.PrivateKeyEntry;
33
import java.security.
KeyStore
.ProtectionParameter;
34
import java.security.
KeyStore
.SecretKeyEntry;
35
import java.security.
KeyStore
.TrustedCertificateEntry;
119
public static List<
KeyStore
> keyStores() throws Exception
[
all
...]
/prebuilt/sdk/10/
android.jar
/prebuilt/sdk/11/
android.jar
/prebuilt/sdk/13/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/9/
android.jar
/prebuilt/sdk/4/
android.jar
Completed in 166 milliseconds