/external/smack/src/org/xbill/DNS/ |
SIG0.java | 5 import java.security.PrivateKey; 31 * @param privkey The PrivateKey to use when signing 35 signMessage(Message message, KEYRecord key, PrivateKey privkey,
|
/frameworks/base/core/java/android/webkit/ |
ClientCertRequest.java | 20 import java.security.PrivateKey; 69 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MySignature1.java | 26 import java.security.PrivateKey; 71 protected void engineInitSign(PrivateKey privateKey)
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 28 import java.security.PrivateKey; 108 // Test for method java.security.PrivateKey 124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 127 Arrays.toString(privateKey.getEncoded())); 128 privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); 131 Arrays.toString(privateKey.getEncoded())); 247 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 254 Arrays.toString(privateKey.getEncoded())) [all...] |
KeyFactorySpiTest.java | 21 import java.security.PrivateKey; 56 protected PrivateKey engineGeneratePrivate(KeySpec keySpec){
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSAUtil.java | 4 import java.security.PrivateKey; 59 PrivateKey key)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseKeyFactorySpi.java | 5 import java.security.PrivateKey; 20 protected PrivateKey engineGeneratePrivate(
|
/external/chromium_org/net/android/ |
keystore_openssl.h | 23 // java.security.PrivateKey object, and will call the platform APIs 30 // PrivateKey object.
|
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
tls.go | 213 cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes) 227 priv, ok := cert.PrivateKey.(*rsa.PrivateKey) 237 priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey) 258 func parsePrivateKey(der []byte) (crypto.PrivateKey, error) { 264 case *rsa.PrivateKey, *ecdsa.PrivateKey:
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRSAKeyPairGenerator.java | 23 import java.security.PrivateKey; 47 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key);
|
OpenSSLDHKeyFactory.java | 23 import java.security.PrivateKey; 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { 100 } else if (key instanceof PrivateKey && DHPrivateKeySpec.class.isAssignableFrom(keySpec)) { 109 } else if (key instanceof PrivateKey 169 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
|
OpenSSLDSAKeyFactory.java | 23 import java.security.PrivateKey; 53 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { 104 } else if (key instanceof PrivateKey && DSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { 114 } else if (key instanceof PrivateKey 176 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
|
OpenSSLECKeyFactory.java | 23 import java.security.PrivateKey; 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { 98 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { 106 } else if (key instanceof PrivateKey 162 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
ForwardingX509ExtendedKeyManager.java | 21 import java.security.PrivateKey; 73 public PrivateKey getPrivateKey(String alias) {
|
/libcore/support/src/test/java/tests/security/ |
SignatureHelper.java | 22 import java.security.PrivateKey; 42 public void test(PrivateKey encryptKey, PublicKey decryptKey) {
|
/system/core/fastbootd/other/sign/src/ |
SignImg.java | 13 import java.security.PrivateKey; 51 private static PrivateKey getPrivateKey(String path) throws IOException, FileNotFoundException, NoSuchAlgorithmException, InvalidKeySpecException { 60 PrivateKey privateKey = kf.generatePrivate(kspec); 62 return privateKey; 141 PrivateKey key = getPrivateKey(args[1]);
|
/system/extras/verity/ |
KeystoreSigner.java | 20 import java.security.PrivateKey; 149 public void sign(PrivateKey privateKey) throws Exception { 151 byte[] rawSignature = Utils.sign(privateKey, innerKeystore); 155 Utils.getSignatureAlgorithmIdentifier(privateKey)); 163 System.err.println("usage: KeystoreSigner <privatekey.pk8> " +
|
/external/chromium_org/third_party/tlslite/tests/ |
tlstest.py | 473 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key) 483 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, settings=settings) 492 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, settings=settings) 505 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, 513 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, 545 certChain=x509Chain, privateKey=x509Key) 555 certChain=x509Chain, privateKey=x509Key) 566 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key) 574 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, reqCert=True) 584 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, reqCert=True, settings=settings [all...] |
/build/tools/signapk/ |
SignApk.java | 57 import java.security.PrivateKey; 221 private static PrivateKey readPrivateKey(File file) 429 CMSTypedData data, X509Certificate publicKey, PrivateKey privateKey, 442 .build(privateKey); 607 private PrivateKey privateKey; 614 X509Certificate publicKey, PrivateKey privateKey, 619 this.privateKey = privateKey [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClientBridge.java | 19 import java.security.PrivateKey; 78 public void proceed(final PrivateKey privateKey, final X509Certificate[] chain) { 82 proceedOnUiThread(privateKey, chain); 106 private void proceedOnUiThread(PrivateKey privateKey, X509Certificate[] chain) { 109 AndroidPrivateKey key = mLocalKeyStore.createKey(privateKey);
|
/external/chromium_org/chrome/browser/chromeos/ownership/ |
owner_settings_service_chromeos.cc | 39 using ownership::PrivateKey; 65 const scoped_refptr<PrivateKey>& private_key)>& 70 scoped_refptr<PrivateKey> private_key(new PrivateKey( 81 const scoped_refptr<PrivateKey>& private_key)>& 86 scoped_refptr<PrivateKey> private_key; 270 const scoped_refptr<PrivateKey>& private_key)>& callback) {
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 34 import java.security.PrivateKey; 274 @Override public PrivateKey getPrivateKey(String alias) { 277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, 279 log("privateKey=" + privateKey); 280 return privateKey;
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 46 import java.security.PrivateKey; 396 privateKey(keyStore, keyPassword, "RSA", "RSA")); 400 privateKey(keyStore, keyPassword, "DSA", "DSA")); 420 * KeyStore. The PrivateKey will be stored under the specified 440 PrivateKey caKey; 453 final PrivateKey privateKey; 458 privateKey = null; 490 privateKey = kp.getPrivate(); 494 privateKey = privateEntry.getPrivateKey() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V3CertificateGenerator.java | 9 import java.security.PrivateKey; 319 PrivateKey key) 339 PrivateKey key, 359 PrivateKey key, 373 PrivateKey key, 409 PrivateKey key) 425 PrivateKey key, 456 PrivateKey key, 469 PrivateKey key,
|
/libcore/luni/src/main/java/java/security/ |
SignatureSpi.java | 53 * @param privateKey 56 * if {@code privateKey} is not valid. 58 protected abstract void engineInitSign(PrivateKey privateKey) 66 * @param privateKey 71 * if {@code privateKey} is not valid. 73 protected void engineInitSign(PrivateKey privateKey, SecureRandom random) 76 engineInitSign(privateKey);
|