OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:originalPrivateKey
(Results
1 - 3
of
3
) sorted by null
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java
45
PrivateKey
originalPrivateKey
= super.getPrivateKey(alias);
46
if (
originalPrivateKey
== null) {
50
String keyAlgorithm =
originalPrivateKey
.getAlgorithm();
55
keyFactory.getKeySpec(
originalPrivateKey
, RSAPrivateKeySpec.class);
68
keyFactory.getKeySpec(
originalPrivateKey
, DSAPrivateKeySpec.class);
75
keyPairGenerator.initialize(((ECPrivateKey)
originalPrivateKey
).getParams());
78
fail("Unsupported key algorithm: " +
originalPrivateKey
.getAlgorithm());
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java
43
PrivateKey
originalPrivateKey
= super.getPrivateKey(alias);
44
if (
originalPrivateKey
== null) {
48
String keyAlgorithm =
originalPrivateKey
.getAlgorithm();
53
keyFactory.getKeySpec(
originalPrivateKey
, RSAPrivateKeySpec.class);
66
keyFactory.getKeySpec(
originalPrivateKey
, DSAPrivateKeySpec.class);
73
keyPairGenerator.initialize(((ECPrivateKey)
originalPrivateKey
).getParams());
76
fail("Unsupported key algorithm: " +
originalPrivateKey
.getAlgorithm());
/cts/tests/tests/keystore/src/android/keystore/cts/
TestUtils.java
453
PrivateKey
originalPrivateKey
= TestUtils.getRawResPrivateKey(context, privateResId);
458
if (!originalPublicKey.getAlgorithm().equalsIgnoreCase(
originalPrivateKey
.getAlgorithm())) {
461
+ ", private: " +
originalPrivateKey
.getAlgorithm());
463
assertKeyPairSelfConsistent(originalPublicKey,
originalPrivateKey
);
466
alias,
originalPrivateKey
, originalCert,
469
assertKeyPairSelfConsistent(keystoreBacked.getPublic(),
originalPrivateKey
);
472
new KeyPair(originalCert.getPublicKey(),
originalPrivateKey
),
[
all
...]
Completed in 486 milliseconds