HomeSort by relevance Sort by last modified time
    Searched refs:privateKey (Results 1 - 25 of 359) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
AsymmetricKeyParameter.java 8 boolean privateKey;
11 boolean privateKey)
13 this.privateKey = privateKey;
18 return privateKey;
  /libcore/ojluni/src/main/java/java/security/
KeyPair.java 33 * should be treated like a PrivateKey.
36 * @see PrivateKey
45 private PrivateKey privateKey;
57 * @param privateKey the private key.
59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) {
61 this.privateKey = privateKey;
78 public PrivateKey getPrivate()
    [all...]
Signer.java 57 private PrivateKey privateKey;
108 public PrivateKey getPrivateKey() {
110 return privateKey;
136 PrivateKey priv = pair.getPrivate();
152 privateKey = priv;
158 if (publicKey != null && privateKey != null) {
SignatureSpi.java 77 * @param privateKey the private key of the identity whose signature
83 protected abstract void engineInitSign(PrivateKey privateKey)
93 * @param privateKey the private key of the identity whose signature
100 protected void engineInitSign(PrivateKey privateKey,
104 engineInitSign(privateKey);
Signature.java 78 * (see {@link #initSign(PrivateKey)}
79 * and {@link #initSign(PrivateKey, SecureRandom)}).
600 * @param privateKey the private key of the identity whose signature
605 public final void initSign(PrivateKey privateKey)
607 engineInitSign(privateKey);
616 * @param privateKey the private key of the identity whose signature
623 public final void initSign(PrivateKey privateKey, SecureRandom random)
625 engineInitSign(privateKey, random)
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
OpenSSLKeyTest.java 61 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey();
62 assertEquals(RSA_MODULUS, privateKey.getModulus());
63 assertEquals(RSA_PRIVATE_EXPONENT, privateKey.getPrivateExponent());
  /frameworks/base/core/java/android/webkit/
ClientCertRequest.java 20 import java.security.PrivateKey;
69 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain);
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSignatureRawRSA.java 21 import java.security.PrivateKey;
85 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException {
86 if (privateKey instanceof OpenSSLRSAPrivateKey) {
87 OpenSSLRSAPrivateKey rsaPrivateKey = (OpenSSLRSAPrivateKey) privateKey;
89 } else if (privateKey instanceof RSAPrivateCrtKey) {
90 RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey) privateKey;
92 } else if (privateKey instanceof RSAPrivateKey) {
93 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey;
OpenSSLECPrivateKey.java 26 import java.security.PrivateKey;
81 static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey,
84 if (privateKey instanceof ECKey) {
85 params = ((ECKey) privateKey).getParams();
90 throw new InvalidKeyException("EC parameters not available. Private: " + privateKey
93 return wrapJCAPrivateKeyForTLSStackOnly(privateKey, params);
101 static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey,
104 if (privateKey instanceof ECKey)
    [all...]
OpenSSLKey.java 22 import java.security.PrivateKey;
82 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException {
128 * @param privateKey private key.
133 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException {
134 OpenSSLKey result = getOpenSSLKey(privateKey);
139 result = fromKeyMaterial(privateKey);
144 return wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey);
157 PrivateKey key, ECParameterSpec ecParams) throws InvalidKeyException {
177 private static OpenSSLKey getOpenSSLKey(PrivateKey key)
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SignerTest.java 101 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData);
103 KeyPair kp = new KeyPair(publicKey, privateKey);
110 assertSame(privateKey, s.getPrivateKey());
KeyStorePrivateKeyEntryTest.java 25 import java.security.PrivateKey;
69 PrivateKey privateKey = keyPair.getPrivate();
74 privateKey, new Certificate[] { certificate });
  /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
  /frameworks/base/keystore/java/android/security/
IKeyChainService.aidl 36 boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias);
  /libcore/luni/src/test/java/libcore/java/security/
MockSignatureSpi.java 22 import java.security.PrivateKey;
64 * @see java.security.SignatureSpi#engineInitSign(java.security.PrivateKey)
67 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException {
68 checkKeyType(privateKey);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 25 import java.security.PrivateKey;
69 PrivateKey privateKey = keyPair.getPrivate();
74 privateKey, new Certificate[] { certificate });
SignerTest.java 132 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData);
134 KeyPair kp = new KeyPair(publicKey, privateKey);
141 assertSame(privateKey, s.getPrivateKey());
  /libcore/support/src/test/java/tests/security/
KeyFactoryTest.java 22 import java.security.PrivateKey;
56 PrivateKey privateKey = factory.generatePrivate(privateKeySpec);
60 check(new KeyPair(publicKey, privateKey));
  /system/extras/verity/
VeritySigner.java 20 import java.security.PrivateKey;
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1]));
65 byte[] signature = Utils.sign(privateKey, content);
  /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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaContentSignerBuilder.java 6 import java.security.PrivateKey;
56 public ContentSigner build(PrivateKey privateKey)
65 sig.initSign(privateKey, random);
69 sig.initSign(privateKey);
  /libcore/benchmarks/src/benchmarks/regression/
SignatureBenchmark.java 23 import java.security.PrivateKey;
63 private PrivateKey privateKey;
78 this.privateKey = keyPair.getPrivate();
104 signer.initSign(privateKey);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MySignature2.java 25 import java.security.PrivateKey;
49 protected void engineInitSign(PrivateKey privateKey)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MySignature2.java 26 import java.security.PrivateKey;
51 protected void engineInitSign(PrivateKey privateKey)

Completed in 4120 milliseconds

1 2 3 4 5 6 7 8 91011>>