OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:KeyFactory
(Results
1 - 25
of
306
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/luni/src/test/java/tests/security/interfaces/
RSAPrivateKeyTest.java
21
import java.security.
KeyFactory
;
32
KeyFactory
gen =
KeyFactory
.getInstance("RSA");
RSAPublicKeyTest.java
21
import java.security.
KeyFactory
;
32
KeyFactory
gen =
KeyFactory
.getInstance("RSA");
RSAKeyTest.java
21
import java.security.
KeyFactory
;
36
KeyFactory
gen =
KeyFactory
.getInstance("RSA");
RSAPrivateCrtKeyTest.java
20
import java.security.
KeyFactory
;
29
KeyFactory
gen =
KeyFactory
.getInstance("RSA");
/system/keymaster/include/keymaster/
key.h
29
class
KeyFactory
;
60
const
KeyFactory
* key_factory() const { return key_factory_; }
61
const
KeyFactory
*& key_factory() { return key_factory_; }
65
const
KeyFactory
* key_factory)
73
const
KeyFactory
* key_factory_;
key_factory.h
32
*
KeyFactory
is a abstraction that encapsulats the knowledge of how to build and parse a specifiec
35
class
KeyFactory
{
37
virtual ~
KeyFactory
() {}
asymmetric_key_factory.h
28
class AsymmetricKeyFactory : public
KeyFactory
{
/libcore/support/src/test/java/tests/security/
KeyFactoryTest.java
19
import java.security.
KeyFactory
;
34
private
KeyFactory
factory;
49
private
KeyFactory
getFactory() throws Exception {
50
return
KeyFactory
.getInstance(algorithmName);
/system/keymaster/include/keymaster/contexts/
pure_soft_keymaster_context.h
55
KeyFactory
* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
94
std::unique_ptr<
KeyFactory
> rsa_factory_;
95
std::unique_ptr<
KeyFactory
> ec_factory_;
96
std::unique_ptr<
KeyFactory
> aes_factory_;
97
std::unique_ptr<
KeyFactory
> tdes_factory_;
98
std::unique_ptr<
KeyFactory
> hmac_factory_;
soft_keymaster_context.h
69
KeyFactory
* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
120
std::unique_ptr<
KeyFactory
> rsa_factory_;
121
std::unique_ptr<
KeyFactory
> ec_factory_;
122
std::unique_ptr<
KeyFactory
> aes_factory_;
123
std::unique_ptr<
KeyFactory
> tdes_factory_;
124
std::unique_ptr<
KeyFactory
> hmac_factory_;
/system/keymaster/include/keymaster/km_openssl/
ec_key.h
32
const
KeyFactory
* key_factory)
43
const
KeyFactory
* key_factory)
rsa_key.h
29
const
KeyFactory
* key_factory)
46
const
KeyFactory
* key_factory)
asymmetric_key.h
29
const
KeyFactory
* key_factory)
/test/vti/dashboard/src/main/java/com/android/vts/entity/
BranchEntity.java
21
import com.google.appengine.api.datastore.
KeyFactory
;
39
this.key =
KeyFactory
.createKey(KIND, branchName);
BuildTargetEntity.java
21
import com.google.appengine.api.datastore.
KeyFactory
;
39
this.key =
KeyFactory
.createKey(KIND, targetName);
/libcore/ojluni/src/main/java/java/security/
KeyRep.java
50
* @see
KeyFactory
152
* <li> Type.PUBLIC/"X.509" - gets a
KeyFactory
instance for
155
* <li> Type.PRIVATE/"PKCS#8" - gets a
KeyFactory
instance for
174
KeyFactory
f =
KeyFactory
.getInstance(algorithm);
177
KeyFactory
f =
KeyFactory
.getInstance(algorithm);
KeyFactory.java
62
*
KeyFactory
keyFactory
=
KeyFactory
.getInstance("DSA");
63
* PublicKey bobPubKey =
keyFactory
.generatePublic(bobPubKeySpec);
70
* <p> Android provides the following <code>
KeyFactory
</code> algorithms:
103
* "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#
KeyFactory
">
104
*
KeyFactory
section</a> of the
119
public class
KeyFactory
{
122
Debug.getInstance("jca", "
KeyFactory
");
141
* Creates a
KeyFactory
object
[
all
...]
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
KeyFactoryTestRSA.java
18
import java.security.
KeyFactory
;
48
KeyFactory
.getInstance("RSA").generatePrivate(new PKCS8EncodedKeySpec(longBuffer));
56
KeyFactory
.getInstance("RSA").generatePublic(new X509EncodedKeySpec(longBuffer));
/tools/apksig/src/test/java/com/android/apksig/internal/util/
Resources.java
21
import java.security.
KeyFactory
;
93
// Keep overly strictly linter happy by limiting what JCA
KeyFactory
algorithms are used
95
KeyFactory
keyFactory
;
98
keyFactory
=
KeyFactory
.getInstance("rsa");
101
keyFactory
=
KeyFactory
.getInstance("dsa");
104
keyFactory
=
KeyFactory
.getInstance("ec")
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java
22
import java.security.
KeyFactory
;
44
private static final String KEYFACTORY_ID = "
KeyFactory
.";
94
Provider[] providers = Security.getProviders("
KeyFactory
.DSA");
103
fail("No providers support
KeyFactory
.DSA");
109
// java.security.
KeyFactory
.generatePrivate(java.security.spec.KeySpec)
111
KeyFactory
fact =
KeyFactory
.getInstance(keyfactAlgs[i], providerName);
137
// java.security.
KeyFactory
.generatePublic(java.security.spec.KeySpec)
139
KeyFactory
fact =
KeyFactory
.getInstance(keyfactAlgs[i]
[
all
...]
KeyFactoryTest.java
9
import java.security.
KeyFactory
;
54
KeyFactory
factory =
KeyFactory
.getInstance(TEST_KEYFACTORY_NAME);
75
KeyFactory
.getInstance(algorithm);
88
KeyFactory
factory =
KeyFactory
.getInstance(TEST_KEYFACTORY_NAME, TEST_PROVIDER_NAME);
119
KeyFactory
.getInstance(combination[0], combination[1]);
131
KeyFactory
factory =
KeyFactory
.getInstance(TEST_KEYFACTORY_NAME, provider);
167
KeyFactory
.getInstance(algorithm, provider)
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DefaultJcaJceHelper.java
5
import java.security.
KeyFactory
;
65
public
KeyFactory
createKeyFactory(String algorithm)
68
return
KeyFactory
.getInstance(algorithm);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
KeyAgreementThread.java
21
import java.security.
KeyFactory
;
52
KeyFactory
keyFact =
KeyFactory
.getInstance("DH");
/libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java
23
import java.security.
KeyFactory
;
45
KeyFactory
fact =
KeyFactory
.getInstance("DSA");
/system/keymaster/include/keymaster/legacy_support/
keymaster_passthrough_key.h
34
* KeymasterPassthroughKeyFactory is a
KeyFactory
that creates and loads keys which are actually backed
37
class KeymasterPassthroughKeyFactory : public
KeyFactory
{
41
:
KeyFactory
(), engine_(engine), algorithm_(algorithm) {}
80
const
KeyFactory
* key_factory, keymaster_error_t* error,
Completed in 671 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>