HomeSort by relevance Sort by last modified time
    Searched full:privatekey (Results 1 - 25 of 324) 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;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricKeyInfoConverter.java 4 import java.security.PrivateKey;
12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
ECPrivateKey.java 4 import java.security.PrivateKey;
10 extends ECKey, PrivateKey
  /external/chromium_org/third_party/tlslite/tlslite/integration/
IntegrationHelper.py 6 certChain=None, privateKey=None,
16 self.privateKey = None
21 (sharedKey or certChain or privateKey):
27 (password or certChain or privateKey):
32 elif certChain and privateKey and not \
35 self.privateKey = privateKey
39 sharedKey and not certChain and not privateKey:
ClientHelper.py 14 certChain=None, privateKey=None,
24 - certChain, privateKey (certificate)
61 Requires the 'privateKey' argument. Excludes the SRP or
64 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
65 @param privateKey: Private key for client authentication.
106 self.privateKey = None
111 (sharedKey or certChain or privateKey):
117 (password or certChain or privateKey):
122 elif certChain and privateKey and not \
125 self.privateKey = privateKe
    [all...]
  /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...]
  /external/chromium_org/third_party/tlslite/test/
httpsserver.py 12 privateKey = parsePEMKey(s, private=True)
20 privateKey=privateKey,
serverCryptoIDKey.xml 0 <privateKey xmlns="http://trevp.net/rsa">
10 </privateKey>
clientCryptoIDKey.xml 0 <privateKey xmlns="http://trevp.net/rsa">
10 </privateKey>
test.txt 0 <privateKey xmlns="http://trevp.net/rsa">
10 </privateKey>
twistedserver.py 17 privateKey = parsePEMKey(s, private=True)
33 privateKey=privateKey,
45 privateKey=privateKey,
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidKeyStore.java 14 import java.security.PrivateKey;
41 * @param key A PrivateKey instance, must implement RSAKey.
46 public static byte[] getRSAKeyModulus(PrivateKey key) {
61 * @param key A PrivateKey instance. Must implement DSAKey.
66 public static byte[] getDSAKeyParamQ(PrivateKey key) {
79 * @param key A PrivateKey instance. Must implement ECKey.
84 public static byte[] getECKeyOrder(PrivateKey key) {
95 * Returns the encoded data corresponding to a given PrivateKey.
99 * @param key A PrivateKey instance
103 public static byte[] getPrivateKeyEncodedBytes(PrivateKey key)
    [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...]
  /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 {
  /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/chromium_org/net/quic/crypto/
crypto_server_config_protobuf.h 24 // PrivateKey contains a QUIC tag of a key exchange algorithm and a
27 class NET_EXPORT_PRIVATE PrivateKey {
54 const PrivateKey& key(size_t i) const {
67 QuicServerConfigProtobuf::PrivateKey* add_key() {
68 keys_.push_back(new PrivateKey);
89 std::vector<PrivateKey*> keys_;
  /external/chromium_org/net/android/javatests/src/org/chromium/net/
AndroidKeyStoreTestUtil.java 14 import java.security.PrivateKey;
25 * Called from native code to create a PrivateKey object from its
28 * @return new PrivateKey handle, or null in case of error.
31 public static PrivateKey createPrivateKeyFromPKCS8(int type, byte[] encodedKey) {
50 PrivateKey key = factory.generatePrivate(ks);
  /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/support/src/test/java/libcore/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java 23 import java.security.PrivateKey;
37 private final Map<String, PrivateKey> cachedKeys = new HashMap<String, PrivateKey>();
44 public PrivateKey getPrivateKey(String alias) {
45 PrivateKey originalPrivateKey = super.getPrivateKey(alias);
50 PrivateKey result;
  /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/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/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);

Completed in 250 milliseconds

1 2 3 4 5 6 7 8 91011>>