OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:passwordprotection
(Results
1 - 25
of
37
) sorted by null
1
2
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KSPasswordProtectionTest.java
32
* Tests for <code>KeyStore.
PasswordProtection
</code> class constructor and methods
38
* Test for <code>KeyStore.
PasswordProtection
(char[] password)</code> constructor
43
* Assertions: constructor created new
PasswordProtection
object
45
* if
PasswordProtection
is destroyed
49
KeyStore.
PasswordProtection
ksPWP = new KeyStore.
PasswordProtection
(pass);
51
assertFalse("
PasswordProtection
Should not be destroyed", ksPWP.isDestroyed());
58
assertTrue("
PasswordProtection
must be destroyed", ksPWP.isDestroyed());
61
fail("IllegalStateException must be thrown because
PasswordProtection
is destroyed");
66
ksPWP = new KeyStore.
PasswordProtection
(null)
[
all
...]
KeyStoreBuilderTest.java
47
private KeyStore.
PasswordProtection
protPass = new KeyStore.
PasswordProtection
(
118
KeyStore.
PasswordProtection
protPass1 = new KeyStore.
PasswordProtection
(
172
assertTrue(pPar instanceof KeyStore.
PasswordProtection
);
175
assertTrue(pPar instanceof KeyStore.
PasswordProtection
);
196
* IllegalArgumentException if ProtectionParameter is not
PasswordProtection
281
// Tests with
PasswordProtection
KeyStoreTest.java
132
new KeyStore.
PasswordProtection
(new char[0]));
232
* @test java.security.KeyStore.
PasswordProtection
.getPassword()
237
assertNull(new KeyStore.
PasswordProtection
(null).getPassword());
239
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(password);
KeyStore4Test.java
359
return new KeyStore.
PasswordProtection
("PASSWORD".toCharArray());
407
return new KeyStore.
PasswordProtection
("".toCharArray());
423
return new KeyStore.
PasswordProtection
(null);
515
return new KeyStore.
PasswordProtection
("PASSWORD".toCharArray());
589
Entry entry = keyStore.getEntry("keyalias", new KeyStore.
PasswordProtection
(new char[] {} ));
601
keyStore.getEntry("unknownalias", new KeyStore.
PasswordProtection
(new char[] {}));
KeyStore2Test.java
631
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(pssWord);
670
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(
731
keyTest.getEntry("anAlias", new KeyStore.
PasswordProtection
(new char[] {}));
739
keyTest.getEntry(null, new KeyStore.
PasswordProtection
(new char[] {}));
765
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(pssWord);
[
all
...]
KeyStoreSpiTest.java
221
//
PasswordProtection
or CallbackHandlerProtection
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KSPasswordProtectionTest.java
30
* Tests for <code>KeyStore.
PasswordProtection
</code> class constructor and methods
45
* Test for <code>KeyStore.
PasswordProtection
(char[] password)</code> constructor
50
* Assertions: constructor created new
PasswordProtection
object
52
* if
PasswordProtection
is destroyed
56
KeyStore.
PasswordProtection
ksPWP = new KeyStore.
PasswordProtection
(pass);
58
assertFalse("
PasswordProtection
Should not be destroyed", ksPWP.isDestroyed());
65
assertTrue("
PasswordProtection
must be destroyed", ksPWP.isDestroyed());
68
fail("IllegalStateException must be thrown because
PasswordProtection
is destroyed");
KeyStore3Test.java
36
import java.security.KeyStore.
PasswordProtection
;
172
Builder b = Builder.newInstance(ks, new
PasswordProtection
(pwd));
180
new KeyStore.
PasswordProtection
(pwd));
KeyStoreTest.java
133
new KeyStore.
PasswordProtection
(new char[0]));
233
* @test java.security.KeyStore.
PasswordProtection
.getPassword()
238
assertNull(new KeyStore.
PasswordProtection
(null).getPassword());
240
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(password);
KeyStoreSpiTest.java
186
//
PasswordProtection
or CallbackHandlerProtection
/libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyStoreBuilderParametersTest.java
20
import java.security.KeyStore.
PasswordProtection
;
39
new
PasswordProtection
(testKeyStore.storePassword));
58
new
PasswordProtection
(testKeyStore1.storePassword));
60
new
PasswordProtection
(testKeyStore2.storePassword));
KeyManagerFactoryTest.java
21
import java.security.KeyStore.
PasswordProtection
;
104
PasswordProtection
pp = new
PasswordProtection
(getTestKeyStore().storePassword);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/
PKCS12StoreParameter.java
27
this(out, new KeyStore.
PasswordProtection
(password), forDEREncoding);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JDKPKCS12StoreParameter.java
39
this.protectionParameter = new KeyStore.
PasswordProtection
(password);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java
15
import java.security.KeyStore.
PasswordProtection
;
174
if (pParam instanceof
PasswordProtection
) {
175
char[] password = ((
PasswordProtection
) pParam).getPassword();
248
if (pParam instanceof
PasswordProtection
) {
249
char[] password = ((
PasswordProtection
) pParam).getPassword();
/libcore/luni/src/main/java/java/security/
KeyStoreSpi.java
305
if (pp instanceof KeyStore.
PasswordProtection
) {
307
pwd = ((KeyStore.
PasswordProtection
) pp).getPassword();
323
throw new UnsupportedOperationException("protectionParameter is neither
PasswordProtection
"
357
if (protParam instanceof KeyStore.
PasswordProtection
) {
359
passW = ((KeyStore.
PasswordProtection
) protParam)
368
+ "
PasswordProtection
: " + protParam);
418
if (protParam instanceof KeyStore.
PasswordProtection
) {
420
passW = ((KeyStore.
PasswordProtection
) protParam).getPassword();
431
throw new KeyStoreException("protParam should be
PasswordProtection
or "
KeyStore.java
806
* {@code
PasswordProtection
} or {@code
822
// protection parameter should be
PasswordProtection
or
824
if (!(protectionParameter instanceof
PasswordProtection
)
827
+ "
PasswordProtection
nor CallbackHandlerProtection instance");
[
all
...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
CredentialHelper.java
36
import java.security.KeyStore.
PasswordProtection
;
327
PasswordProtection
passwordProtection
= new
PasswordProtection
(password.toCharArray());
329
passwordProtection
.getPassword());
338
KeyStore.Entry entry = keystore.getEntry(alias,
passwordProtection
);
/libcore/luni/src/test/java/tests/targets/security/
KeyStoreTest.java
26
import java.security.KeyStore.
PasswordProtection
;
127
new
PasswordProtection
("the key password".toCharArray()));
140
"aPrivateKey", new
PasswordProtection
("the key password"
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KSBuilder_ImplTest.java
56
private KeyStore.
PasswordProtection
protPass = new KeyStore.
PasswordProtection
(pass);
134
KeyStore.
PasswordProtection
protPass1 = new KeyStore.
PasswordProtection
(
195
assertTrue(pPar instanceof KeyStore.
PasswordProtection
);
198
assertTrue(pPar instanceof KeyStore.
PasswordProtection
);
223
*
PasswordProtection
or CallbackHandlerProtection;
KeyStore_Impl1Test.java
335
new KeyStore.
PasswordProtection
(new char[0])));
471
KeyStore.
PasswordProtection
pPath = new KeyStore.
PasswordProtection
(pwd);
472
KeyStore.
PasswordProtection
anotherPath = new KeyStore.
PasswordProtection
(
584
KeyStore.
PasswordProtection
pPath = new KeyStore.
PasswordProtection
(pwd);
[
all
...]
KeyStore_Impl2Test.java
156
new KeyStore.
PasswordProtection
(new char[0]));
230
KeyStore.
PasswordProtection
pp = new KeyStore.
PasswordProtection
(
283
new KeyStore.
PasswordProtection
(new char[0]));
KeyStore_Impl3Test.java
115
KeyStore.
PasswordProtection
pPath = new KeyStore.
PasswordProtection
(pwd);
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DigitalSignatureTest.java
43
new KeyStore.
PasswordProtection
(pwd));
/libcore/crypto/src/main/java/org/conscrypt/
KeyManagerImpl.java
74
.getEntry(alias, new KeyStore.
PasswordProtection
(pwd));
Completed in 280 milliseconds
1
2