/libcore/ojluni/src/main/java/java/security/interfaces/ |
RSAPrivateKey.java | 39 public interface RSAPrivateKey extends java.security.PrivateKey, RSAKey
|
/libcore/ojluni/src/main/java/javax/crypto/interfaces/ |
DHPrivateKey.java | 39 public interface DHPrivateKey extends DHKey, java.security.PrivateKey {
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/ |
ApkCreatorFactory.java | 23 import java.security.PrivateKey; 58 private final PrivateKey key; 128 @Nullable PrivateKey key, 170 public PrivateKey getPrivateKey() {
|
ZFiles.java | 29 import java.security.PrivateKey; 78 * @param key the {@link PrivateKey} used to sign the archive, or {@code null}. 95 @Nullable PrivateKey key,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyFactorySpi.java | 6 import java.security.PrivateKey; 124 protected PrivateKey engineGeneratePrivate( 163 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/ |
NetscapeCertRequest.java | 10 import java.security.PrivateKey; 214 public void sign(PrivateKey priv_key) throws NoSuchAlgorithmException, 221 public void sign(PrivateKey priv_key, SecureRandom rand)
|
/external/conscrypt/android-stub/src/main/java/com/android/org/conscrypt/ |
OpenSSLSocketImpl.java | 25 import java.security.PrivateKey; 183 public void setChannelIdPrivateKey(PrivateKey privateKey) {
|
/external/conscrypt/android-stub/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 25 import java.security.PrivateKey; 184 public void setChannelIdPrivateKey(PrivateKey privateKey) {
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
TestKeyManager.java | 22 import java.security.PrivateKey; 171 public PrivateKey getPrivateKey(String alias) { 175 PrivateKey pk = keyManager.getPrivateKey(alias);
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
DhiesTest.java | 26 import java.security.PrivateKey; 84 PrivateKey priv = keyPair.getPrivate(); 112 PrivateKey priv = keyPair.getPrivate();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 22 import java.security.PrivateKey; 75 public PrivateKey getPrivateKey(String arg0) { 172 public PrivateKey getPrivateKey(String alias) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignerTest.java | 132 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData); 134 KeyPair kp = new KeyPair(publicKey, privateKey); 141 assertSame(privateKey, s.getPrivateKey());
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 22 import java.security.PrivateKey; 167 public PrivateKey getPrivateKey(String alias) { 171 PrivateKey pk = keyManager.getPrivateKey(alias);
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
pkcs1.go | 45 func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) { 63 key := new(rsa.PrivateKey) 92 func MarshalPKCS1PrivateKey(key *rsa.PrivateKey) []byte {
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
pkcs1.go | 45 func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) { 63 key := new(rsa.PrivateKey) 92 func MarshalPKCS1PrivateKey(key *rsa.PrivateKey) []byte {
|
/external/boringssl/src/ssl/ |
ssl_cert.cc | 166 if (cert->privatekey != NULL) { 167 EVP_PKEY_up_ref(cert->privatekey); 168 ret->privatekey = cert->privatekey; 220 EVP_PKEY_free(cert->privatekey); 221 cert->privatekey = NULL; 327 EVP_PKEY_free(cert->privatekey); 328 cert->privatekey = privkey; 341 switch (check_leaf_cert_and_privkey(buffer.get(), cert->privatekey)) { 348 EVP_PKEY_free(cert->privatekey); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
KeyChainTest.java | 50 import java.security.PrivateKey; 431 public PrivateKey getPrivateKey(String alias) { 434 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias); 435 Log.d(TAG, "privateKey = " + privateKey); 436 return privateKey;
|
/libcore/ojluni/src/main/java/java/security/ |
SignatureSpi.java | 77 * @param privateKey the private key of the identity whose signature 83 protected abstract void engineInitSign(PrivateKey privateKey) 93 * @param privateKey the private key of the identity whose signature 100 protected void engineInitSign(PrivateKey privateKey, 104 engineInitSign(privateKey);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
PKCS8Key.java | 33 import java.security.PrivateKey; 52 public class PKCS8Key implements PrivateKey { 92 PrivateKey key; 115 public static PrivateKey parseKey (DerValue in) throws IOException 118 PrivateKey privKey; 168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) 205 classname = sunProvider.getProperty("PrivateKey.PKCS#8." +
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstaller.java | 263 byte[] privatekey = map.get(key); 264 if (privatekey != null) { 265 Log.d(TAG, "found matched key: " + privatekey); 269 mCredentials.setPrivateKey(privatekey); 291 byte[] privatekey = mCredentials.getData(Credentials.EXTRA_PRIVATE_KEY); 294 map.put(key, privatekey); 296 Log.d(TAG, "save privatekey: " + key + " --> #keys:" + map.size());
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
key_agreement.go | 47 priv, ok := cert.PrivateKey.(crypto.Decrypter) 188 privateKey []byte 225 ka.privateKey = scalar[:] 235 ka.privateKey, x, y, err = elliptic.GenerateKey(curve, config.rand()) 265 priv, ok := cert.PrivateKey.(crypto.Signer) 321 copy(scalar[:], ka.privateKey) 334 x, _ = curve.ScalarMult(x, y, ka.privateKey)
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
key_agreement.go | 47 priv, ok := cert.PrivateKey.(crypto.Decrypter) 188 privateKey []byte 225 ka.privateKey = scalar[:] 235 ka.privateKey, x, y, err = elliptic.GenerateKey(curve, config.rand()) 265 priv, ok := cert.PrivateKey.(crypto.Signer) 321 copy(scalar[:], ka.privateKey) 334 x, _ = curve.ScalarMult(x, y, ka.privateKey)
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
JarSigningTest.java | 32 import java.security.PrivateKey; 56 ApkZLibPair<PrivateKey, X509Certificate> p = 77 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePre18(); 140 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePos18(); 199 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePre18(); 216 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePos18(); 309 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePos18();
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AndroidKeyStoreTest.java | 46 import java.security.PrivateKey; [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
SecureBoxTest.java | 31 import java.security.PrivateKey; 125 private static final PrivateKey THM_PRIVATE_KEY; 319 PrivateKey privateKey = keyGen.genKeyPair().getPrivate(); 323 () -> SecureBox.decrypt(privateKey, TEST_SHARED_SECRET, TEST_HEADER, encrypted)); 359 private static PrivateKey decodePrivateKey(byte[] keyBytes) throws Exception {
|