/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
AsymmetricKeyParameter.java | 8 boolean privateKey; 11 boolean privateKey) 13 this.privateKey = privateKey; 18 return privateKey;
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/ |
ECPrivateKey.java | 4 import java.security.PrivateKey; 10 extends ECKey, PrivateKey
|
/libcore/luni/src/main/java/java/security/ |
KeyPair.java | 26 * @see PrivateKey 32 private final PrivateKey privateKey; 41 * @param privateKey 44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { 45 this.privateKey = privateKey; 54 public PrivateKey getPrivate() { 55 return privateKey; [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 26 import java.security.PrivateKey; 42 private PrivateKey testPrivateKey; 53 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() : 54 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm())); 58 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code> 60 * Assertion: throws NullPointerException when privateKey is null 64 PrivateKey pk = null; 67 fail("NullPointerException must be thrown when privateKey is null"); 73 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code [all...] |
PrivateKeyTest.java | 25 import java.security.PrivateKey; 30 * Tests for <code>PrivateKey</code> class field 40 assertEquals("Incorrect serialVersionUID", cPrKey.getSerVerUID(), //PrivateKey.serialVersionUID, 44 public class checkPrivateKey implements PrivateKey {
|
SignatureSpiTest.java | 10 import java.security.PrivateKey; 101 protected void engineInitSign(PrivateKey privateKey) 156 public void engineInitSign(PrivateKey privateKey) { 190 public void engineInitSign(PrivateKey privateKey) { 231 protected void engineInitSign(PrivateKey privateKey) 273 protected void engineInitSign(PrivateKey privateKey, SecureRandom random [all...] |
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();
|
/packages/apps/Browser/src/com/android/browser/ |
KeyChainLookup.java | 24 import java.security.PrivateKey; 37 PrivateKey privateKey; 40 privateKey = KeyChain.getPrivateKey(mContext, mAlias); 49 mHandler.proceed(privateKey, certificateChain);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 48 private PrivateKey testPrivateKey; 59 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() : 60 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm())); 64 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code> 66 * Assertion: throws NullPointerException when privateKey is null 70 PrivateKey pk = null; 73 fail("NullPointerException must be thrown when privateKey is null"); 79 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code [all...] |
PrivateKeyTest.java | 23 import java.security.PrivateKey; 29 * Tests for <code>PrivateKey</code> class field 49 assertEquals("Incorrect serialVersionUID", cPrKey.getSerVerUID(), //PrivateKey.serialVersionUID, 53 public class checkPrivateKey implements PrivateKey {
|
KeyStorePrivateKeyEntryTest.java | 25 import java.security.PrivateKey; 69 PrivateKey privateKey = keyPair.getPrivate(); 74 privateKey, new Certificate[] { certificate });
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/ |
PrivateKeyInfo.java | 39 * privateKey PrivateKey, 46 * PrivateKey ::= OCTET STRING 53 private final byte[] privateKey; 58 byte[] privateKey, List attributes) { 61 this.privateKey = privateKey; 66 AlgorithmIdentifier privateKeyAlgorithm, byte[] privateKey, 68 this(version, privateKeyAlgorithm, privateKey, attributes); 88 return privateKey; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
PrivateKeyInfo.java | 52 DERObject privateKey) 54 this(algId, privateKey, null); 59 DERObject privateKey, 62 this.privKey = privateKey; 119 * privateKey PrivateKey, 124 * PrivateKey ::= OCTET STRING
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
KeyPairTest.java | 46 PrivateKeyStub privateKey = new PrivateKeyStub("privateAlgorithm", 51 keyPair = new KeyPair(publicKey, privateKey); 90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass()); 91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2 93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat()); 94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded(),
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
DSABase.java | 6 import java.security.PrivateKey; 34 PrivateKey privateKey) 37 engineInitSign(privateKey, null);
|
/frameworks/base/core/java/android/webkit/ |
ClientCertRequestHandler.java | 19 import java.security.PrivateKey; 51 public void proceed(PrivateKey privateKey, X509Certificate[] chain) { 52 byte[] privateKeyBytes = privateKey.getEncoded();
|
SslClientCertLookupTable.java | 46 public void Allow(String host_and_port, byte[] privateKey, byte[][] chain) { 47 privateKeys.put(host_and_port, privateKey); 66 public byte[] PrivateKey(String host_and_port) {
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 23 import java.security.PrivateKey; 47 * of type java.security.PrivateKey, String, or byte[]. In the latter two 85 final static public String PRIVATE_KEY = "RSA-SHA1.PrivateKey"; 89 private PrivateKey privateKey = null; 100 if (privateKeyObject instanceof PrivateKey) { 101 privateKey = (PrivateKey)privateKeyObject; 103 privateKey = getPrivateKeyFromPem((String)privateKeyObject); 105 privateKey = getPrivateKeyFromDer((byte[])privateKeyObject) [all...] |
/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);
|
/libcore/support/src/test/java/tests/security/ |
KeyFactoryTest.java | 22 import java.security.PrivateKey; 69 PrivateKey privateKey = null; 71 privateKey = factory.generatePrivate(privateKeySpec); 93 check(new KeyPair(publicKey, privateKey));
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLUtils.java | 30 import java.security.PrivateKey; 119 @Override public abstract PrivateKey getPrivateKey(String alias); 171 public PrivateKey getPrivateKey(String alias) { 193 private final PrivateKey mPrivateKey; 213 PrivateKey privateKey; 215 privateKey = KeyChain.getPrivateKey(context, alias); 224 if (certificateChain == null || privateKey == null) { 228 return new KeyChainKeyManager(alias, certificateChain, privateKey); 241 String clientAlias, X509Certificate[] certificateChain, PrivateKey privateKey) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MySignature2.java | 25 import java.security.PrivateKey; 50 protected void engineInitSign(PrivateKey privateKey)
|
PrivateKeyStub.java | 24 import java.security.PrivateKey; 27 * Stub for interface PrivateKey tests 30 public class PrivateKeyStub implements 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)
|
PrivateKeyStub.java | 25 import java.security.PrivateKey; 28 * Stub for interface PrivateKey tests 31 public class PrivateKeyStub implements PrivateKey {
|