OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:privatekey
(Results
26 - 50
of
699
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
KeyAgreementThread.java
24
import java.security.
PrivateKey
;
33
private
PrivateKey
privateKey
= null;
42
privateKey
= keypair.getPrivate();
56
ka.init(
privateKey
);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PrivateKeyInfo.java
53
ASN1Encodable
privateKey
)
56
this(algId,
privateKey
, null);
61
ASN1Encodable
privateKey
,
65
this.privKey = new DEROctetString(
privateKey
.toASN1Primitive().getEncoded(ASN1Encoding.DER));
139
*
privateKey
PrivateKey
,
144
*
PrivateKey
::= OCTET STRING
/cts/tests/tests/keystore/src/android/keystore/cts/
RSACipherTest.java
20
import java.security.
PrivateKey
;
50
PrivateKey
privateKey
= key.getKeystoreBackedKeyPair().getPrivate();
63
cipher.init(Cipher.DECRYPT_MODE,
privateKey
);
83
PrivateKey
privateKey
= key.getKeystoreBackedKeyPair().getPrivate();
92
cipher.init(Cipher.DECRYPT_MODE,
privateKey
);
200
PrivateKey
privateKey
= key.getKeystoreBackedKeyPair().getPrivate();
201
BigInteger modulus = ((RSAKey)
privateKey
).getModulus()
[
all
...]
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java
23
import java.security.
PrivateKey
;
37
private final Map<String,
PrivateKey
> cachedKeys = new HashMap<String,
PrivateKey
>();
42
public
PrivateKey
getPrivateKey(String alias) {
43
PrivateKey
originalPrivateKey = super.getPrivateKey(alias);
47
PrivateKey
result;
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairTest.java
26
import java.security.
PrivateKey
;
52
static
PrivateKey
getPrivate() {
53
return new
PrivateKey
() {
69
* Test #1 for <code>KeyPair(PublicKey,
PrivateKey
)</code> constructor<br>
84
* Test #2 for <code>KeyPair(PublicKey,
PrivateKey
)</code> constructor<br>
109
PrivateKey
pk = TestKeyPair.getPrivate();
KeyStorePrivateKeyEntryTest.java
25
import java.security.
PrivateKey
;
69
PrivateKey
privateKey
= keyPair.getPrivate();
74
privateKey
, new Certificate[] { certificate });
/libcore/support/src/test/java/libcore/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java
23
import java.security.
PrivateKey
;
38
private final Map<String,
PrivateKey
> cachedKeys = new HashMap<String,
PrivateKey
>();
45
public
PrivateKey
getPrivateKey(String alias) {
46
PrivateKey
originalPrivateKey = super.getPrivateKey(alias);
51
PrivateKey
result;
/prebuilts/go/darwin-x86/src/crypto/x509/
pkcs8_test.go
52
keyType: reflect.TypeOf(&rsa.
PrivateKey
{}),
57
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
63
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
69
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
75
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
95
if ecKey, isEC := privKey.(*ecdsa.
PrivateKey
); isEC && ecKey.Curve != test.curve {
/prebuilts/go/linux-x86/src/crypto/x509/
pkcs8_test.go
52
keyType: reflect.TypeOf(&rsa.
PrivateKey
{}),
57
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
63
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
69
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
75
keyType: reflect.TypeOf(&ecdsa.
PrivateKey
{}),
95
if ecKey, isEC := privKey.(*ecdsa.
PrivateKey
); isEC && ecKey.Curve != test.curve {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java
6
import java.security.
PrivateKey
;
21
protected
PrivateKey
engineGeneratePrivate(
30
PrivateKey
key = BouncyCastleProvider.getPrivateKey(info);
/libcore/ojluni/src/main/java/java/security/interfaces/
ECPrivateKey.java
28
import java.security.
PrivateKey
;
36
* @see
PrivateKey
41
public interface ECPrivateKey extends
PrivateKey
, ECKey {
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MySignature2.java
26
import java.security.
PrivateKey
;
51
protected void engineInitSign(
PrivateKey
privateKey
)
PrivateKeyStub.java
25
import java.security.
PrivateKey
;
28
* Stub for interface
PrivateKey
tests
31
public class PrivateKeyStub implements
PrivateKey
{
/external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLSignatureRawRSA.java
21
import java.security.
PrivateKey
;
89
protected void engineInitSign(
PrivateKey
privateKey
) throws InvalidKeyException {
90
if (
privateKey
instanceof OpenSSLRSAPrivateKey) {
91
OpenSSLRSAPrivateKey rsaPrivateKey = (OpenSSLRSAPrivateKey)
privateKey
;
93
} else if (
privateKey
instanceof RSAPrivateCrtKey) {
94
RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey)
privateKey
;
96
} else if (
privateKey
instanceof RSAPrivateKey) {
97
RSAPrivateKey rsaPrivateKey = (RSAPrivateKey)
privateKey
;
OpenSSLRSAPrivateKey.java
24
import java.security.
PrivateKey
;
32
* An implementation of {@link java.security.
PrivateKey
} for RSA keys which uses BoringSSL to
115
static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(
PrivateKey
privateKey
,
118
if (
privateKey
instanceof RSAKey) {
119
modulus = ((RSAKey)
privateKey
).getModulus();
124
throw new InvalidKeyException("RSA modulus not available. Private: " +
privateKey
128
NativeCrypto.getRSAPrivateKeyWrapper(
privateKey
, modulus.toByteArray()), true);
/frameworks/base/wifi/java/android/net/wifi/
ParcelUtil.java
24
import java.security.
PrivateKey
;
40
* Write a
PrivateKey
object |key| to the specified Parcel |dest|.
46
* For a null
PrivateKey
object, a null string will be written to |algorithm| and
47
* |encodedKey| will be skipped. Since a
PrivateKey
can only be constructed with
51
* @param key
PrivateKey
object to read from.
53
public static void writePrivateKey(Parcel dest,
PrivateKey
key) {
64
* Read/create a
PrivateKey
object from a specified Parcel object |in|.
69
* @return a
PrivateKey
object or null
71
public static
PrivateKey
readPrivateKey(Parcel in) {
/prebuilts/go/darwin-x86/pkg/darwin_amd64/crypto/
ecdsa.a
144
2 B SetStringBr? ? base·5 B SetUint64B0?2 B SignBB: SqrtB0?B2>B StringBB>