/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;
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
KeyPair.h | 47 static PassRefPtr<KeyPair> create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey); 50 Key* privateKey() { return m_privateKey.get(); } 53 KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey);
|
/external/chromium_org/third_party/tlslite/test/ |
httpsserver.py | 12 privateKey = parsePEMKey(s, private=True) 20 privateKey=privateKey,
|
twistedserver.py | 17 privateKey = parsePEMKey(s, private=True) 33 privateKey=privateKey, 45 privateKey=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...] |
Signer.java | 32 private PrivateKey privateKey; 69 public PrivateKey getPrivateKey() { 70 return privateKey; 92 this.privateKey = pair.getPrivate();
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
DigitalSignatureTest.java | 24 import java.security.PrivateKey; 79 PrivateKey privateKey = keyFactory 122 dsig.init(privateKey);
|
/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(),
|
/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...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAKeyFactoryImpl.java | 24 import java.security.PrivateKey; 50 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 121 DSAPrivateKey privateKey = (DSAPrivateKey) key; 125 x = privateKey.getX(); 127 DSAParams params = privateKey.getParams(); 186 DSAPrivateKey privateKey = (DSAPrivateKey) key; 187 DSAParams params = privateKey.getParams(); 191 privateKey.getX(), params.getP(), params.getQ(),
|
/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));
|
/external/apache-harmony/security/src/test/api/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 | 101 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData); 103 KeyPair kp = new KeyPair(publicKey, privateKey); 110 assertSame(privateKey, s.getPrivateKey());
|
KeyFactory2Test.java | 26 import java.security.PrivateKey; 92 // Test for method java.security.PrivateKey 111 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 113 .getEncoded(), privateKey.getEncoded()); 262 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 267 .getEncoded(), privateKey.getEncoded());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
ECUtil.java | 4 import java.security.PrivateKey; 167 PrivateKey key) 204 PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes)); 206 if (privateKey instanceof java.security.interfaces.ECPrivateKey) 208 return ECUtil.generatePrivateKeyParameter(privateKey);
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsKeygenHandler.cpp | 107 SECKEYPrivateKey *privateKey = NULL; 140 privateKey = PK11_GenerateKeyPair(slot, 150 if (!privateKey) { 164 PK11_SetPrivateKeyNickname(privateKey, label.c_str()); 210 privateKey, algTag); 230 if (privateKey) { 235 PK11_DestroyTokenObject(privateKey->pkcs11Slot, privateKey->pkcs11ID); 237 SECKEY_DestroyPrivateKey(privateKey);
|
/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/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 | 127 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData); 129 KeyPair kp = new KeyPair(publicKey, privateKey); 136 assertSame(privateKey, s.getPrivateKey());
|
KeyFactoryTest.java | 13 import java.security.PrivateKey; 240 PrivateKey privateKey = factory.generatePrivate(keySpec); 241 assertNotNull(privateKey); 242 assertTrue(Arrays.equals(key.getEncoded(), privateKey.getEncoded())); 432 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 524 static class TestPrivateKey implements PrivateKey {
|
/libcore/luni/src/test/java/tests/targets/security/ |
KeyStoreTest.java | 31 import java.security.PrivateKey; 142 PrivateKey privateKey = entry.getPrivateKey(); 143 assertEquals(keyPair.getPrivate(), privateKey);
|
/external/chromium_org/third_party/tlslite/scripts/ |
tls.py | 482 certChain=x509Chain, privateKey=x509Key) 492 certChain=x509Chain, privateKey=x509Key) 504 certChain=cryptoIDChain, privateKey=cryptoIDKey) 514 certChain=cryptoIDChain, privateKey=cryptoIDKey) 522 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key) 531 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, settings=settings) 540 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key) 549 connection.handshakeServer(certChain=cryptoIDChain, privateKey=cryptoIDKey) 558 connection.handshakeServer(certChain=cryptoIDChain, privateKey=cryptoIDKey) 566 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, reqCert=True [all...] |
/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...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1withDSA_SignatureTest.java | 35 import java.security.PrivateKey; 84 private static PrivateKey privateKey; 88 private static PrivateKey privateKey2; 92 private static PrivateKey myRSAPrivateKey; 118 privateKey = keys.getPrivate(); 160 signs[1].initSign(privateKey); 161 signs[2].initSign(privateKey, null); 162 signs[3].initSign(privateKey, mySecureRandom); 290 * The test against "initSign(PrivateKey)" method [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 24 import java.security.PrivateKey; 64 private PrivateKey privateKey; 78 this.privateKey = keyPair.getPrivate(); 104 signer.initSign(privateKey);
|