/libcore/luni/src/main/java/java/security/ |
D | KeyPair.java | 33 private final PublicKey publicKey; 44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair() 63 public PublicKey getPublic() { in getPublic()
|
D | Identity.java | 37 private PublicKey publicKey; 91 PublicKey certPK = certificate.getPublicKey(); in addCertificate() 108 private static boolean checkKeysEqual(PublicKey pk1, PublicKey pk2) { in checkKeysEqual() 236 public void setPublicKey(PublicKey key) throws KeyManagementException { in setPublicKey() 257 public PublicKey getPublicKey() { in getPublicKey()
|
/libcore/luni/src/main/java/java/security/cert/ |
D | PKIXCertPathValidatorResult.java | 20 import java.security.PublicKey; 35 private final PublicKey subjectPublicKey; 50 PolicyNode policyTree, PublicKey subjectPublicKey) { in PKIXCertPathValidatorResult() 76 public PublicKey getPublicKey() { in getPublicKey()
|
D | Certificate.java | 28 import java.security.PublicKey; 139 public abstract void verify(PublicKey key) in verify() 166 public abstract void verify(PublicKey key, String sigProvider) in verify() 186 public abstract PublicKey getPublicKey(); in getPublicKey()
|
D | TrustAnchor.java | 21 import java.security.PublicKey; 43 private final PublicKey caPublicKey; 102 public TrustAnchor(String caName, PublicKey caPublicKey, in TrustAnchor() 150 PublicKey caPublicKey, byte[] nameConstraints) { in TrustAnchor() 228 public final PublicKey getCAPublicKey() { in getCAPublicKey()
|
/libcore/luni/src/main/java/javax/security/cert/ |
D | Certificate.java | 23 import java.security.PublicKey; 116 public abstract void verify(PublicKey key) in verify() 140 public abstract void verify(PublicKey key, String sigProvider) in verify() 158 public abstract PublicKey getPublicKey(); in getPublicKey()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | CertificateStub.java | 31 import java.security.PublicKey; 42 PublicKey key; 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ in CertificateStub() 97 public PublicKey getPublicKey() { in getPublicKey()
|
D | KeyStoreTestSupport.java | 26 import java.security.PublicKey; 133 public void verify(PublicKey key) throws CertificateException, in verify() 138 public void verify(PublicKey key, String sigProvider) in verify() 148 public PublicKey getPublicKey() { in getPublicKey() 149 return new PublicKey() { in getPublicKey()
|
D | MyKeyStoreSpi.java | 33 import java.security.PublicKey; 155 public PublicKey getPublicKey() { in getPublicKey() 163 public void verify(PublicKey key) { in verify() 167 public void verify(PublicKey key, String sigProvider) { in verify()
|
D | MyKeyPairGenerator3.java | 28 import java.security.PublicKey; 45 PublicKey pubK = (new MyKeyPairGenerator1()).new PubKey(); in generateKeyPair()
|
D | PublicKeyStub.java | 26 import java.security.PublicKey; 34 public class PublicKeyStub implements PublicKey {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificate.java | 29 import java.security.PublicKey; 71 public void verify(PublicKey key) throws CertificateException, in verify() 79 public void verify(PublicKey key, String sigProvider) in verify() 99 public PublicKey getPublicKey() { in getPublicKey() 100 return new PublicKey() { in getPublicKey()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | TrustAnchorTest.java | 32 import java.security.PublicKey; 66 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray01() 88 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray02() 103 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray03() 126 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray04() 174 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray01() 197 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray02() 214 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray03() 239 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray04() 408 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testGetCAPublicKey01() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairTest.java | 27 import java.security.PublicKey; 39 static PublicKey getPublic() { in getPublic() 40 return new PublicKey() { in getPublic() 129 PublicKey pk = TestKeyPair.getPublic();
|
D | PublicKeyTest.java | 25 import java.security.PublicKey; 44 public class checkPublicKey implements PublicKey {
|
/libcore/luni/src/main/java/java/security/interfaces/ |
D | RSAPublicKey.java | 21 import java.security.PublicKey; 26 public interface RSAPublicKey extends PublicKey, RSAKey {
|
D | DSAPublicKey.java | 21 import java.security.PublicKey; 26 public interface DSAPublicKey extends DSAKey, PublicKey {
|
D | ECPublicKey.java | 20 import java.security.PublicKey; 26 public interface ECPublicKey extends PublicKey, ECKey {
|
/libcore/luni/src/main/java/javax/crypto/interfaces/ |
D | DHPublicKey.java | 21 import java.security.PublicKey; 26 public interface DHPublicKey extends DHKey, PublicKey {
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MockPublicKey.java | 19 import java.security.PublicKey; 25 public class MockPublicKey implements PublicKey {
|
D | SignatureTest.java | 28 import java.security.PublicKey; 178 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() 378 PublicKey pk = keyFactory.generatePublic(keySpec); in test18566() 859 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSA_Key_Success() 872 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA256withRSA_Key_Success() 885 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA384withRSA_Key_Success() 898 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA512withRSA_Key_Success() 911 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_MD5withRSA_Key_Success() 925 PublicKey pubKey = kf.generatePublic(pubKeySpec); in testVerify_SHA1withRSA_Key_InitSignThenInitVerify_Success() 948 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSA_Key_TwoMessages_Success() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | CertificateTest.java | 32 import java.security.PublicKey; 49 public void verify(PublicKey key) throws CertificateException, in verify() 54 public void verify(PublicKey key, String sigProvider) in verify() 64 public PublicKey getPublicKey() { in getPublicKey()
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
D | SystemScope.java | 28 import java.security.PublicKey; 90 public synchronized Identity getIdentity(PublicKey key) { in getIdentity() 110 PublicKey key = identity.getPublicKey(); in addIdentity() 140 PublicKey key = identity.getPublicKey(); in removeIdentity()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
D | SubjectPublicKeyInfoTest.java | 34 import java.security.PublicKey; 69 PublicKey pubKey = spki.getPublicKey(); in test_getPublicKey_WellKnownOid() 77 PublicKey pubKey = spki.getPublicKey(); in test_getPublicKey_Unknown_OID() 89 PublicKey pubKey = spki.getPublicKey(); in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered() 114 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePublic() 140 public static class MyTestPublicKey implements PublicKey {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | X509PublicKey.java | 20 import java.security.PublicKey; 22 public final class X509PublicKey implements PublicKey {
|