/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSPrivateKeyEntryTest.java | 69 new KeyStore.PrivateKeyEntry(pk, certs); in testPrivateKeyEntry01() 85 new KeyStore.PrivateKeyEntry(pk, chain); in testPrivateKeyEntry02() 91 new KeyStore.PrivateKeyEntry(pk, chain); in testPrivateKeyEntry02() 105 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain); in testPrivateKeyEntry03() 120 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain); in testPrivateKeyEntry04() 136 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain, null /* attributes */); in testPrivateKeyEntry05() 148 KeyStore.PrivateKeyEntry ksPKE = new KeyStore.PrivateKeyEntry( in testGetPrivateKey() 160 KeyStore.PrivateKeyEntry ksPKE = new KeyStore.PrivateKeyEntry( in testGetCertificateChain() 176 KeyStore.PrivateKeyEntry ksPKE = new KeyStore.PrivateKeyEntry( in testGetCertificate() 203 KeyStore.PrivateKeyEntry ksPKE = new KeyStore.PrivateKeyEntry( in testGetAttributes() [all …]
|
D | KeyStore2Test.java | 634 KeyStore.PrivateKeyEntry pkEntry = new KeyStore.PrivateKeyEntry(getPrivateKey(), chain); in test_deleteEntry() 672 KeyStore.PrivateKeyEntry pke = new KeyStore.PrivateKeyEntry(getPrivateKey(), in test_getCreationDate() 674 KeyStore.PrivateKeyEntry pke1 = new KeyStore.PrivateKeyEntry( in test_getCreationDate() 768 KeyStore.PrivateKeyEntry pke1 = new KeyStore.PrivateKeyEntry(getPrivateKey(), chain); in test_getEntry() 769 KeyStore.PrivateKeyEntry pke2 = new KeyStore.PrivateKeyEntry(privateKey1, chain); in test_getEntry() 775 KeyStore.PrivateKeyEntry pkeActual1 = (KeyStore.PrivateKeyEntry) keyTest.getEntry("alias1", in test_getEntry() 777 KeyStore.PrivateKeyEntry pkeActual2 = (KeyStore.PrivateKeyEntry) keyTest.getEntry("alias2", in test_getEntry() 783 assertTrue(keyTest.entryInstanceOf("alias1", KeyStore.PrivateKeyEntry.class)); in test_getEntry() 793 assertTrue(keyTest.entryInstanceOf("alias2", KeyStore.PrivateKeyEntry.class)); in test_getEntry() 816 KeyStore.PrivateKeyEntry pke = new KeyStore.PrivateKeyEntry(getPrivateKey(), chain); in test_setEntry() [all …]
|
D | KeyStorePrivateKeyEntryTest.java | 73 KeyStore.PrivateKeyEntry privateKeyEntry = new KeyStore.PrivateKeyEntry( in testGetCertificateChain()
|
D | KeyStoreSpiTest.java | 69 KeyStore.PrivateKeyEntry.class)); in test_engineEntryInstanceOf()
|
D | KeyStoreTest.java | 268 KeyStore.PrivateKeyEntry.class)); in testEngineEntryInstanceOf()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 27 import java.security.KeyStore.PrivateKeyEntry; 122 PrivateKeyEntry privateKeyEntry = new PrivateKeyEntry(keyPair in testKeyStoreCreate() 139 PrivateKeyEntry entry = (PrivateKeyEntry) keyStore.getEntry( in testKeyStoreCreate()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStoreSpi.java | 485 return new KeyStore.PrivateKeyEntry((PrivateKey)key, chain); in engineGetEntry() 535 } else if (entry instanceof KeyStore.PrivateKeyEntry) { in engineSetEntry() 538 ((KeyStore.PrivateKeyEntry)entry).getPrivateKey(), in engineSetEntry() 540 ((KeyStore.PrivateKeyEntry)entry).getCertificateChain()); in engineSetEntry() 577 if (entryClass == KeyStore.PrivateKeyEntry.class) { in engineEntryInstanceOf()
|
D | KeyStore.java | 495 public static final class PrivateKeyEntry implements Entry { class in KeyStore 525 public PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain) { in PrivateKeyEntry() method in KeyStore.PrivateKeyEntry 555 public PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain, in PrivateKeyEntry() method in KeyStore.PrivateKeyEntry
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 29 import java.security.KeyStore.PrivateKeyEntry; 363 private PrivateKeyEntry privateEntry; 364 private PrivateKeyEntry signer; 421 public Builder privateEntry(PrivateKeyEntry privateEntry) { in privateEntry() 427 public Builder signer(PrivateKeyEntry signer) { in signer() 544 PrivateKeyEntry privateEntry, in createKeys() 545 PrivateKeyEntry signer) throws Exception { in createKeys() 819 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey() 828 public static PrivateKeyEntry privateKey(KeyStore keyStore, char[] keyPassword, in privateKey() 831 PrivateKeyEntry found = null; in privateKey() [all …]
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertPathValidatorTest.java | 19 import java.security.KeyStore.PrivateKeyEntry; 86 PrivateKeyEntry serverEntry = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest() 87 PrivateKeyEntry caEntry = TestKeyStore.getIntermediateCa().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest() 88 PrivateKeyEntry rootCaEntry = TestKeyStore.getRootCa().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest()
|
D | PKIXRevocationCheckerTest.java | 6 import java.security.KeyStore.PrivateKeyEntry; 33 PrivateKeyEntry entity; 35 PrivateKeyEntry issuer;
|
D | PKIXParametersTest.java | 61 KeyStore.PrivateKeyEntry pke = server.getPrivateKey("RSA", "RSA"); in keyStoreConstructor()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertPathBuilderTestPKIX.java | 19 import java.security.KeyStore.PrivateKeyEntry; 44 PrivateKeyEntry pke = clientAndCa.getPrivateKey("RSA", "RSA"); in getCertPathParameters()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyStore.java | 389 public static final class PrivateKeyEntry implements java.security.KeyStore.Entry { class in KeyStore 391 public PrivateKeyEntry( in PrivateKeyEntry() method in KeyStore.PrivateKeyEntry 396 public PrivateKeyEntry( in PrivateKeyEntry() method in KeyStore.PrivateKeyEntry
|
/libcore/api/ |
D | current.txt | 7547 public static final class KeyStore.PrivateKeyEntry implements java.security.KeyStore.Entry { 7548 … ctor public KeyStore.PrivateKeyEntry(java.security.PrivateKey, java.security.cert.Certificate[]); 7549 …ctor public KeyStore.PrivateKeyEntry(java.security.PrivateKey, java.security.cert.Certificate[], j…
|