/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator3.java | 27 import java.security.PrivateKey; 46 PrivateKey priK = (new MyKeyPairGenerator1()).new PrivKey();
|
MySignature1.java | 26 import java.security.PrivateKey; 71 protected void engineInitSign(PrivateKey privateKey)
|
/libcore/support/src/test/java/tests/security/ |
KeyAgreementHelper.java | 22 import java.security.PrivateKey; 39 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception {
|
SignatureHelper.java | 22 import java.security.PrivateKey; 42 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception {
|
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 23 import java.security.PrivateKey; 63 private PrivateKey privateKey; 78 this.privateKey = keyPair.getPrivate(); 104 signer.initSign(privateKey);
|
/system/extras/verity/ |
Utils.java | 29 import java.security.PrivateKey; 165 static PrivateKey loadDERPrivateKey(byte[] der) throws Exception { 179 static PrivateKey loadPEMPrivateKey(byte[] pem) throws Exception { 184 static PrivateKey loadPEMPrivateKeyFromFile(String keyFname) throws Exception { 188 static PrivateKey loadDERPrivateKeyFromFile(String keyFname) throws Exception { 228 } else if (key instanceof PrivateKey) { 274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { 275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); 276 signer.initSign(privateKey); [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLUtils.java | 38 import java.security.PrivateKey; 256 @Override public abstract PrivateKey getPrivateKey(String alias); 308 public PrivateKey getPrivateKey(String alias) { 330 private final PrivateKey mPrivateKey; 350 PrivateKey privateKey; 352 privateKey = KeyChain.getPrivateKey(context, alias); 361 if (certificateChain == null || privateKey == null) { 365 return new KeyChainKeyManager(alias, certificateChain, privateKey); 378 String clientAlias, X509Certificate[] certificateChain, PrivateKey privateKey) [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Signer.java | 57 private PrivateKey privateKey; 108 public PrivateKey getPrivateKey() { 110 return privateKey; 136 PrivateKey priv = pair.getPrivate(); 152 privateKey = priv; 158 if (publicKey != null && privateKey != null) {
|
/build/make/tools/signtos/ |
SignTos.java | 40 import java.security.PrivateKey; 124 private static PrivateKey readPrivateKey(File file) throws IOException, 152 * Tries to load a JSE Provider by class name. This is for custom PrivateKey 223 private static void signWholeFile(InputStream input, OutputStream output, PrivateKey signingKey) 259 " privatekey.pk8 " + 286 * Should only be "<privatekey> <input> <output>" left. 301 PrivateKey privateKey = readPrivateKey(new File(keyFilename)); 306 SignTos.signWholeFile(input, output, privateKey);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V1CertificateGenerator.java | 10 import java.security.PrivateKey; 187 PrivateKey key) 206 PrivateKey key, 227 PrivateKey key, 241 PrivateKey key, 277 PrivateKey key) 292 PrivateKey key, 317 PrivateKey key, 330 PrivateKey key,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyFactorySpi.java | 6 import java.security.PrivateKey; 68 protected PrivateKey engineGeneratePrivate( 99 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
KeyFactorySpi.java | 6 import java.security.PrivateKey; 64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) 94 protected PrivateKey engineGeneratePrivate(
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
OpenSSLKeyTest.java | 61 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey(); 62 assertEquals(RSA_MODULUS, privateKey.getModulus()); 63 assertEquals(RSA_PRIVATE_EXPONENT, privateKey.getPrivateExponent());
|
/frameworks/base/core/java/android/webkit/ |
ClientCertRequest.java | 22 import java.security.PrivateKey; 73 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain);
|
/libcore/ojluni/src/main/java/java/security/spec/ |
PKCS8EncodedKeySpec.java | 38 * privateKey PrivateKey, 45 * PrivateKey ::= OCTET STRING
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSignatureRawECDSA.java | 21 import java.security.PrivateKey; 69 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { 70 key = verifyKey(OpenSSLKey.fromPrivateKey(privateKey));
|
OpenSSLRSAKeyPairGenerator.java | 23 import java.security.PrivateKey; 54 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key);
|
/external/v8/src/inspector/ |
injected-script-native.cc | 20 v8::Local<v8::Private> privateKey = v8::Private::ForApi( 24 injectedScriptHost->SetPrivate(m_isolate->GetCurrentContext(), privateKey, 32 v8::Local<v8::Private> privateKey = v8::Private::ForApi( 37 injectedScriptObject->GetPrivate(context, privateKey).ToLocalChecked();
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
ParcelUtilTest.java | 30 import java.security.PrivateKey; 50 PrivateKey readKey = ParcelUtil.readPrivateKey(mParcel); 56 PrivateKey writeKey = FakeKeys.RSA_KEY1; 60 PrivateKey readKey = ParcelUtil.readPrivateKey(mParcel);
|
/prebuilts/go/darwin-x86/src/crypto/dsa/ |
dsa_test.go | 13 func testSignAndVerify(t *testing.T, i int, priv *PrivateKey) { 27 var priv PrivateKey 85 priv := PrivateKey{ 111 priv := PrivateKey{
|
/prebuilts/go/linux-x86/src/crypto/dsa/ |
dsa_test.go | 13 func testSignAndVerify(t *testing.T, i int, priv *PrivateKey) { 27 var priv PrivateKey 85 priv := PrivateKey{ 111 priv := 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...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptPkcs7SignNull.c | 25 @param[in] PrivateKey Pointer to the PEM-formatted private key data for
45 IN CONST UINT8 *PrivateKey,
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/ |
CryptPkcs7SignNull.c | 25 @param[in] PrivateKey Pointer to the PEM-formatted private key data for
45 IN CONST UINT8 *PrivateKey,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseKeyFactorySpi.java | 4 import java.security.PrivateKey; 19 protected PrivateKey engineGeneratePrivate(
|