HomeSort by relevance Sort by last modified time
    Searched refs:privateKey (Results 26 - 50 of 113) sorted by null

12 3 4 5

  /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
  /external/chromium_org/remoting/webapp/
host_controller.js 148 * @param {string} privateKey
153 function startHostWithHash(hostName, publicKey, privateKey,
161 private_key: privateKey
175 * @param {string} privateKey
180 hostName, publicKey, privateKey, email, refreshToken) {
184 null, hostName, publicKey, privateKey, email, refreshToken),
191 * @param {string} privateKey
195 hostName, publicKey, privateKey, xhr) {
204 null, hostName, publicKey, privateKey),
210 null, hostName, publicKey, privateKey,
    [all...]
  /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 });
KeyStore2Test.java 32 import java.security.PrivateKey;
52 static PrivateKey privateKey;
61 privateKey = keyPair.getPrivate();
146 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
275 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
306 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
366 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
367 PrivateKey returnedKey = (PrivateKey) keyTest.getKey("alias2", pssWord)
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/integration/
IMAP4_TLS.py 16 certChain=None, privateKey=None,
27 - certChain, privateKey (certificate)
67 Requires the 'privateKey' argument. Excludes the SRP or
70 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
71 @param privateKey: Private key for client authentication.
110 certChain, privateKey,
HTTPTLSConnection.py 61 certChain=None, privateKey=None,
72 - certChain, privateKey (certificate)
117 Requires the 'privateKey' argument. Excludes the SRP or
120 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
121 @param privateKey: Private key for client authentication.
162 certChain, privateKey,
POP3_TLS.py 16 certChain=None, privateKey=None,
27 - certChain, privateKey (certificate)
67 Requires the 'privateKey' argument. Excludes the SRP or
70 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
71 @param privateKey: Private key for client authentication.
129 certChain, 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());
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...]
  /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/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 24 import java.security.PrivateKey;
64 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;
50 protected void engineInitSign(PrivateKey privateKey)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DSASigner.java 6 import java.security.PrivateKey;
92 PrivateKey privateKey,
97 engineInitSign(privateKey);
101 PrivateKey privateKey)
106 param = DSAUtil.generatePrivateKeyParameter(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)
  /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/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/
DSAKeyFactoryImplTest.java 63 static DSAPrivateKey privateKey;
111 privateKey = (DSAPrivateKey) keyPair.getPrivate();
128 privateParams = privateKey.getParams();
133 privateX = privateKey.getX();
135 privateAlgorithm = privateKey.getAlgorithm();
136 privateFormat = privateKey.getFormat();
138 privateEncoding = privateKey.getEncoded();
514 kf.getKeySpec( privateKey, DSAPublicKeySpec.class);
519 kf.getKeySpec( privateKey, X509EncodedKeySpec.class);
563 kf.getKeySpec(privateKey, null)
    [all...]
  /libcore/support/src/test/java/libcore/java/security/
TestKeyStore.java 46 import java.security.PrivateKey;
357 privateKey(keyStore, keyPassword, "RSA", "RSA"));
376 * KeyStore. The PrivateKey will be stored under the specified
395 PrivateKey caKey;
408 PrivateKey privateKey;
412 privateKey = null;
435 privateKey = kp.getPrivate();
442 PrivateKey signingKey = (caKey == null) ? privateKey : caKey
    [all...]
  /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...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1withDSA_SignatureImpl.java 25 import java.security.PrivateKey;
66 * Initializes this signature object with PrivateKey object
70 * privateKey DSAPrivateKey object
72 * InvalidKeyException if privateKey is not DSAPrivateKey object
74 protected void engineInitSign(PrivateKey privateKey)
84 if (privateKey == null || !(privateKey instanceof DSAPrivateKey)) {
88 params = ((DSAPrivateKey) privateKey).getParams();
91 x = ((DSAPrivateKey) privateKey).getX()
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLUtils.java 37 import java.security.PrivateKey;
225 @Override public abstract PrivateKey getPrivateKey(String alias);
277 public PrivateKey getPrivateKey(String alias) {
299 private final PrivateKey mPrivateKey;
319 PrivateKey privateKey;
321 privateKey = KeyChain.getPrivateKey(context, alias);
330 if (certificateChain == null || privateKey == null) {
334 return new KeyChainKeyManager(alias, certificateChain, privateKey);
347 String clientAlias, X509Certificate[] certificateChain, PrivateKey privateKey)
    [all...]
  /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);
  /build/tools/signapk/
SignApk.java 55 import java.security.PrivateKey;
202 private static PrivateKey readPrivateKey(File file)
405 CMSTypedData data, X509Certificate publicKey, PrivateKey privateKey,
419 .build(privateKey);
533 private PrivateKey privateKey;
540 X509Certificate publicKey, PrivateKey privateKey,
545 this.privateKey = privateKey
    [all...]

Completed in 2422 milliseconds

12 3 4 5