/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | AsymmetricKeyParameter.java | 8 boolean privateKey; field in class:AsymmetricKeyParameter 11 boolean privateKey) 13 this.privateKey = privateKey; 18 return privateKey; 10 AsymmetricKeyParameter( boolean privateKey) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | 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, 51 PrivateKeyInfo( AlgorithmIdentifier algId, ASN1Encodable privateKey) argument 59 PrivateKeyInfo( AlgorithmIdentifier algId, ASN1Encodable privateKey, ASN1Set attributes) argument
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
H A D | JcaContentSignerBuilder.java | 56 public ContentSigner build(PrivateKey privateKey) argument 65 sig.initSign(privateKey, random); 69 sig.initSign(privateKey);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
H A D | SignatureSpi.java | 58 PrivateKey privateKey) 61 CipherParameters param = ECUtil.generatePrivateKeyParameter(privateKey); 57 engineInitSign( PrivateKey privateKey) argument
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLSignatureRawRSA.java | 85 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { argument 86 if (privateKey instanceof OpenSSLRSAPrivateKey) { 87 OpenSSLRSAPrivateKey rsaPrivateKey = (OpenSSLRSAPrivateKey) privateKey; 89 } else if (privateKey instanceof RSAPrivateCrtKey) { 90 RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey) privateKey; 92 } else if (privateKey instanceof RSAPrivateKey) { 93 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey;
|
H A D | OpenSSLECPrivateKey.java | 81 static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, argument 84 if (privateKey instanceof ECKey) { 85 params = ((ECKey) privateKey).getParams(); 90 throw new InvalidKeyException("EC parameters not available. Private: " + privateKey 93 return wrapJCAPrivateKeyForTLSStackOnly(privateKey, params); 101 static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, argument 104 if (privateKey instanceof ECKey) { 105 params = ((ECKey) privateKey).getParams(); 109 throw new InvalidKeyException("EC parameters not available: " + privateKey); 120 NativeCrypto.getECPrivateKeyWrapper(privateKey, grou [all...] |
H A D | OpenSSLKey.java | 128 * @param privateKey private key. 133 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException { 134 OpenSSLKey result = getOpenSSLKey(privateKey); 139 result = fromKeyMaterial(privateKey); 144 return wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey); 211 private static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, argument 213 String keyAlgorithm = privateKey.getAlgorithm(); 215 return OpenSSLRSAPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey); 217 return OpenSSLECPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey); 132 fromPrivateKeyForTLSStackOnly( PrivateKey privateKey, PublicKey publicKey) argument
|
H A D | OpenSSLRSAPrivateKey.java | 110 static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, argument 113 if (privateKey instanceof RSAKey) { 114 modulus = ((RSAKey) privateKey).getModulus(); 119 throw new InvalidKeyException("RSA modulus not available. Private: " + privateKey 123 NativeCrypto.getRSAPrivateKeyWrapper(privateKey, modulus.toByteArray()), true);
|
H A D | OpenSSLSignature.java | 203 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { argument 204 initInternal(OpenSSLKey.fromPrivateKey(privateKey), true);
|
H A D | OpenSSLSocketImpl.java | 1001 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables 1008 public void setChannelIdPrivateKey(PrivateKey privateKey) { argument 1021 if (privateKey == null) { 1028 if (privateKey instanceof ECKey) { 1029 ecParams = ((ECKey) privateKey).getParams(); 1037 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams);
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
H A D | RSA_SHA1.java | 89 private PrivateKey privateKey = null; field in class:RSA_SHA1 101 privateKey = (PrivateKey)privateKeyObject; 103 privateKey = getPrivateKeyFromPem((String)privateKeyObject); 105 privateKey = getPrivateKeyFromDer((byte[])privateKeyObject); 216 if (privateKey == null) { 222 signer.initSign(privateKey);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature1.java | 64 protected void engineInitSign(PrivateKey privateKey) argument
|
H A D | MySignature2.java | 49 protected void engineInitSign(PrivateKey privateKey) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
H A D | DSASigner.java | 99 PrivateKey privateKey, 104 engineInitSign(privateKey); 108 PrivateKey privateKey) 113 param = DSAUtil.generatePrivateKeyParameter(privateKey); 98 engineInitSign( PrivateKey privateKey, SecureRandom random) argument 107 engineInitSign( PrivateKey privateKey) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
H A D | DigestSignatureSpi.java | 94 PrivateKey privateKey) 97 if (!(privateKey instanceof RSAPrivateKey)) 99 throw new InvalidKeyException("Supplied key (" + getType(privateKey) + ") is not a RSAPrivateKey instance"); 102 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey); 93 engineInitSign( PrivateKey privateKey) argument
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyStore2Test.java | 52 static PrivateKey privateKey; field in class:KeyStore2Test 62 privateKey = keyPair.getPrivate(); 147 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); 276 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); 307 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); 367 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); 370 byte[] priB = privateKey.getEncoded(); 373 .equals(privateKey.getAlgorithm()); 374 equality &= returnedKey.getFormat().equals(privateKey.getFormat()); 432 keyTest.setKeyEntry("alias2", privateKey, pssWor [all...] |
/external/boringssl/src/crypto/ec/ |
H A D | ec_asn1.c | 135 ASN1_OCTET_STRING *privateKey; member in struct:ec_privatekey_st 155 ASN1_SIMPLE(EC_PRIVATEKEY, privateKey, ASN1_OCTET_STRING), 319 if (priv_key->privateKey) { 321 BN_bin2bn(M_ASN1_STRING_data(priv_key->privateKey), 322 M_ASN1_STRING_length(priv_key->privateKey), ret->priv_key); 422 if (!M_ASN1_OCTET_STRING_set(priv_key->privateKey, buffer, buf_len)) {
|
/external/conscrypt/src/stub/java/com/android/org/conscrypt/ |
H A D | OpenSSLSocketImpl.java | 175 public void setChannelIdPrivateKey(PrivateKey privateKey) { argument
|
/external/conscrypt/src/stub/java/org/apache/harmony/xnet/xnet/provider/jsse/ |
H A D | OpenSSLSocketImpl.java | 175 public void setChannelIdPrivateKey(PrivateKey privateKey) { argument
|
/external/tpm2/ |
H A D | CryptoEngine.h | 169 TPM2B_ECC_PARAMETER *privateKey; // Pointer to the private key member in struct:__anon18103 182 TPM2B *privateKey; // The private exponent (not a prime) member in struct:__anon18104
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
H A D | KitKatPlatformOpenSSLSocketImplAdapter.java | 410 public void setChannelIdPrivateKey(PrivateKey privateKey) { argument 411 delegate.setChannelIdPrivateKey(privateKey);
|
H A D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 410 public void setChannelIdPrivateKey(PrivateKey privateKey) { argument 411 delegate.setChannelIdPrivateKey(privateKey);
|
/external/conscrypt/src/test/java/org/conscrypt/ |
H A D | NativeCryptoTest.java | 871 private final OpenSSLKey privateKey; field in class:NativeCryptoTest.ServerHooks 883 public ServerHooks(OpenSSLKey privateKey, long[] certificates) { argument 884 this.privateKey = privateKey; 891 if (privateKey != null) { 892 NativeCrypto.SSL_use_PrivateKey(s, privateKey.getNativeRef());
|
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 1477 static jbyteArray rawSignDigestWithPrivateKey(JNIEnv* env, jobject privateKey, argument 1481 JNI_TRACE("rawSignDigestWithPrivateKey(%p) => threw exception", privateKey); 1488 JNI_TRACE("rawSignDigestWithPrivateKey(%p) => using byte array failed", privateKey); 1503 cryptoUpcallsClass, rawSignMethod, privateKey, messageArray.get())); 1506 // rsaDecryptWithPrivateKey uses privateKey to decrypt |ciphertext_len| bytes 1510 static jbyteArray rsaDecryptWithPrivateKey(JNIEnv* env, jobject privateKey, jint padding, argument 1514 JNI_TRACE("rsaDecryptWithPrivateKey(%p) => threw exception", privateKey); 1521 JNI_TRACE("rsaDecryptWithPrivateKey(%p) => using byte array failed", privateKey); 1538 privateKey,
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.security_1.0.200.v20100503.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |