HomeSort by relevance Sort by last modified time
    Searched refs:privateKey (Results 76 - 100 of 468) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/core/java/android/net/
SSLCertificateSocketFactory.java 32 import java.security.PrivateKey;
93 private PrivateKey mChannelIdPrivateKey = null;
373 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables
379 public void setChannelIdPrivateKey(PrivateKey privateKey) {
380 mChannelIdPrivateKey = privateKey;
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreProvider.java 260 AndroidKeyStorePrivateKey privateKey =
262 return new KeyPair(publicKey, privateKey);
AndroidKeyStoreKeyPairGeneratorSpi.java 58 import java.security.PrivateKey;
628 private X509Certificate generateSelfSignedCertificate(PrivateKey privateKey,
639 privateKey, publicKey, signatureAlgorithm);
653 PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception {
662 return certGen.generate(privateKey);
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/tls/
key_agreement.go 47 priv, ok := cert.PrivateKey.(crypto.Decrypter)
181 privateKey []byte
218 ka.privateKey = scalar[:]
228 ka.privateKey, x, y, err = elliptic.GenerateKey(curve, config.rand())
257 priv, ok := cert.PrivateKey.(crypto.Signer)
313 copy(scalar[:], ka.privateKey)
329 x, _ = curve.ScalarMult(x, y, ka.privateKey)
  /prebuilts/go/linux-x86/src/crypto/tls/
key_agreement.go 47 priv, ok := cert.PrivateKey.(crypto.Decrypter)
181 privateKey []byte
218 ka.privateKey = scalar[:]
228 ka.privateKey, x, y, err = elliptic.GenerateKey(curve, config.rand())
257 priv, ok := cert.PrivateKey.(crypto.Signer)
313 copy(scalar[:], ka.privateKey)
329 x, _ = curve.ScalarMult(x, y, ka.privateKey)
  /external/boringssl/src/ssl/test/runner/
key_agreement.go 37 exportKey *rsa.PrivateKey
66 sigAlg, err = selectSignatureAlgorithm(ka.version, cert.PrivateKey, config, clientHello.signatureAlgorithms)
72 sig, err := signMessage(ka.version, cert.PrivateKey, config, sigAlg, serverRSAParams)
117 key := cert.PrivateKey.(*rsa.PrivateKey)
203 privateKey []byte
208 e.privateKey, x, y, err = elliptic.GenerateKey(e.curve, rand)
232 x, _ = e.curve.ScalarMult(x, y, e.privateKey)
242 privateKey [32]byte
246 _, err = io.ReadFull(rand, e.privateKey[:]
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyStoreTest.java 307 public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey)
309 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain());
319 PrivateKeyEntry privateKey)
322 privateKey.getPrivateKey(),
324 privateKey.getCertificateChain());
335 PrivateKeyEntry privateKey)
338 privateKey.getPrivateKey().getEncoded(),
339 privateKey.getCertificateChain());
396 PrivateKeyEntry privateKey = (PrivateKeyEntry) actual
    [all...]
  /tools/apksig/src/apksigner/java/com/android/apksigner/
ApkSignerTool.java 42 import java.security.PrivateKey;
298 v1SigBasename, signer.privateKey, signer.certs)
629 PrivateKey privateKey;
646 && (privateKey == null)
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
SslWrapper.java 27 import java.security.PrivateKey;
219 PrivateKey privateKey = keyManager.getPrivateKey(alias);
220 if (privateKey == null) {
250 key = OpenSSLKey.fromPrivateKeyForTLSStackOnly(privateKey, publicKey);
259 // Makes sure the set PrivateKey and X509Certificate refer to the same
ConscryptEngineSocket.java 36 import java.security.PrivateKey;
316 public void setChannelIdPrivateKey(PrivateKey privateKey) {
317 engine.setChannelIdPrivateKey(privateKey);
ConscryptEngine.java 74 import java.security.PrivateKey;
265 * Sets the {@link PrivateKey} to be used for TLS Channel ID by this client engine.
269 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables
276 void setChannelIdPrivateKey(PrivateKey privateKey) {
287 if (privateKey == null) {
296 if (privateKey instanceof ECKey) {
297 ecParams = ((ECKey) privateKey).getParams();
305 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams);
    [all...]
AbstractConscryptSocket.java 32 import java.security.PrivateKey;
606 * Sets the {@link PrivateKey} to be used for TLS Channel ID by this client socket.
610 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables
617 abstract void setChannelIdPrivateKey(PrivateKey privateKey);
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 40 import java.security.PrivateKey;
523 public PrivateKey privateKey;
541 PrivateKey caKey;
546 caKey = issuer.privateKey;
588 holder.privateKey = keyPair.getPrivate();
  /external/libcups/cups/
tls-darwin.c 97 privateKey = NULL;
145 err = SecKeyGeneratePair(keyParams, &publicKey, &privateKey);
177 cert = SecGenerateSelfSignedCertificate(subject, certParams, publicKey, privateKey);
188 ident = SecIdentityCreate(kCFAllocatorDefault, cert, privateKey);
241 if (privateKey)
242 CFRelease(privateKey);
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 29 import java.security.PrivateKey;
435 Provider keyAgreementProvider, PrivateKey privateKey, PublicKey publicKey)
438 keyAgreement.init(privateKey);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SignatureTest.java 35 import java.security.PrivateKey;
154 * Class under test for void initSign(PrivateKey)
188 * Class under test for void initSign(PrivateKey, SecureRandom)
551 private class MyPrivateKey extends MyKey implements PrivateKey {}
595 protected void engineInitSign(PrivateKey privateKey)
655 protected void engineInitSign(PrivateKey privateKey)
  /packages/apps/KeyChain/src/com/android/keychain/
KeyChainService.java 155 * @param privateKey The private key associated with the client certificate
161 @Override public boolean installKeyPair(byte[] privateKey, byte[] userCertificate,
172 if (!mKeyStore.importKey(Credentials.USER_PRIVATE_KEY + alias, privateKey, -1,
  /tools/apksig/src/test/java/com/android/apksig/
ApkSignerTest.java 35 import java.security.PrivateKey;
453 PrivateKey privateKey =
457 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs).build();
  /cts/tests/tests/security/src/android/security/cts/
OpenSSLHeartbleedTest.java 35 import java.security.PrivateKey;
267 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(
281 new KeyManager[] {new HardcodedCertX509KeyManager(privateKey, certChain)},
    [all...]
OpenSSLEarlyCCSTest.java 38 import java.security.PrivateKey;
265 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(
279 new KeyManager[] {new HardcodedCertX509KeyManager(privateKey, certChain)},
  /tools/apksig/src/main/java/com/android/apksig/
ApkSigner.java 43 import java.security.PrivateKey;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
ExportWizard.java 59 import java.security.PrivateKey;
171 private PrivateKey mPrivateKey;
507 void setSigningInfo(PrivateKey privateKey, X509Certificate certificate) {
508 mPrivateKey = privateKey;
  /tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
V1SchemeSigner.java 42 import java.security.PrivateKey;
88 public PrivateKey privateKey;
92 * {@link #privateKey}.
515 signature.initSign(signerConfig.privateKey);
  /tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
V2SchemeSigner.java 33 import java.security.PrivateKey;
93 public PrivateKey privateKey;
97 * {@link #privateKey}.
464 signature.initSign(signerConfig.privateKey);
  /external/conscrypt/platform/src/test/java/org/conscrypt/
TrustedCertificateStoreTest.java 30 import java.security.PrivateKey;
646 PrivateKey privateKey = getPrivate().getPrivateKey();
648 X509Certificate ca1 = TestKeyStore.createCa(publicKey, privateKey, name);
650 X509Certificate ca2 = TestKeyStore.createCa(publicKey, privateKey, name);
    [all...]

Completed in 1962 milliseconds

1 2 34 5 6 7 8 91011>>