HomeSort by relevance Sort by last modified time
    Searched full:privatekey (Results 1 - 25 of 400) 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/chromium_org/components/ownership/
owner_key_util.cc 21 // PrivateKey
23 PrivateKey::PrivateKey(crypto::RSAPrivateKey* key) : key_(key) {
26 PrivateKey::~PrivateKey() {
owner_key_util.h 58 class OWNERSHIP_EXPORT PrivateKey
59 : public base::RefCountedThreadSafe<PrivateKey> {
61 explicit PrivateKey(crypto::RSAPrivateKey* key);
66 friend class base::RefCountedThreadSafe<PrivateKey>;
68 virtual ~PrivateKey();
72 DISALLOW_COPY_AND_ASSIGN(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
  /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/tlslite/integration/
clienthelper.py 20 certChain=None, privateKey=None,
28 - certChain, privateKey (certificate)
57 Requires the 'privateKey' argument. Excludes the SRP arguments.
59 @type privateKey: L{tlslite.utils.rsakey.RSAKey}
60 @param privateKey: Private key for client authentication.
76 self.privateKey = None
82 (certChain or privateKey):
87 elif certChain and privateKey and not \
90 self.privateKey = privateKey
    [all...]
pop3_tls.py 17 certChain=None, privateKey=None,
25 - certChain, privateKey (certificate)
56 Requires the 'privateKey' argument. Excludes the SRP argument.
58 @type privateKey: L{tlslite.utils.rsakey.RSAKey}
59 @param privateKey: Private key for client authentication.
76 certChain, privateKey,
smtp_tls.py 15 certChain=None, privateKey=None,
26 - certChain, privateKey (certificate)
52 Requires the 'privateKey' argument. Excludes the SRP arguments.
54 @type privateKey: L{tlslite.utils.rsakey.RSAKey}
55 @param privateKey: Private key for client authentication.
71 certChain, privateKey,
  /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...]
  /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 49 private PrivateKey testPrivateKey;
60 testPrivateKey = (diffKeys ? (PrivateKey) new tmpPrivateKey() :
61 (PrivateKey) new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm()));
65 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code>
67 * Assertion: throws NullPointerException when privateKey is null
71 PrivateKey pk = null;
74 fail("NullPointerException must be thrown when privateKey is null");
80 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code
    [all...]
PrivateKeyTest.java 24 import java.security.PrivateKey;
30 * 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...]
  /libcore/luni/src/test/java/libcore/java/security/
MockPrivateKey.java 19 import java.security.PrivateKey;
22 * A mock PrivateKey class used for testing.
25 public class MockPrivateKey implements PrivateKey {
MockPrivateKey2.java 19 import java.security.PrivateKey;
22 * A mock PrivateKey class used for testing.
25 public class MockPrivateKey2 implements PrivateKey {
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidKeyStore.java 23 * @param key A PrivateKey instance, must implement RSAKey.
36 * @param key A PrivateKey instance. Must implement DSAKey.
46 * @param key A PrivateKey instance. Must implement ECKey.
54 * Returns the encoded data corresponding to a given PrivateKey.
58 * @param key A PrivateKey instance
65 * Sign a given message with a given PrivateKey object. This method
85 * @param key The PrivateKey handle.
90 * Android < 4.2 for RSA PrivateKey objects. See the
97 * Return the type of a given PrivateKey object. This is an integer
100 * @param key The PrivateKey handl
    [all...]
  /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/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);
115 std::vector<PrivateKey*> keys_;
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
KeyManagementTest.java 28 import java.security.PrivateKey;
52 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA");
60 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA");
77 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA");
86 PrivateKey getPrivateKey(final byte[] key, String type)
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
ClientCertLookupTable.java 27 public Cert(AndroidPrivateKey privateKey, byte[][] certChain) {
28 this.mPrivateKey = privateKey;
51 public void allow(String host, int port, AndroidPrivateKey privateKey, byte[][] chain) {
53 mCerts.put(host_and_port, new Cert(privateKey, chain));
  /external/chromium_org/net/android/javatests/src/org/chromium/net/
AndroidKeyStoreTestUtil.java 14 import java.security.PrivateKey;
26 * Called from native code to create a PrivateKey object from its
29 * @return new PrivateKey handle, or null in case of error.
51 PrivateKey key = factory.generatePrivate(ks);
  /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));

Completed in 3134 milliseconds

1 2 3 4 5 6 7 8 91011>>