Home
last modified time | relevance | path

Searched refs:PublicKey (Results 1 – 25 of 88) sorted by relevance

1234

/libcore/luni/src/main/java/java/security/
DKeyPair.java33 private final PublicKey publicKey;
44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair()
63 public PublicKey getPublic() { in getPublic()
DIdentity.java37 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/
DPKIXCertPathValidatorResult.java20 import java.security.PublicKey;
35 private final PublicKey subjectPublicKey;
50 PolicyNode policyTree, PublicKey subjectPublicKey) { in PKIXCertPathValidatorResult()
76 public PublicKey getPublicKey() { in getPublicKey()
DCertificate.java28 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()
DTrustAnchor.java21 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/
DCertificate.java23 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/
DCertificateStub.java31 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()
DKeyStoreTestSupport.java26 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()
DMyKeyStoreSpi.java33 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()
DMyKeyPairGenerator3.java28 import java.security.PublicKey;
45 PublicKey pubK = (new MyKeyPairGenerator1()).new PubKey(); in generateKeyPair()
DPublicKeyStub.java26 import java.security.PublicKey;
34 public class PublicKeyStub implements PublicKey {
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertificate.java29 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/
DTrustAnchorTest.java32 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/
DKeyPairTest.java27 import java.security.PublicKey;
39 static PublicKey getPublic() { in getPublic()
40 return new PublicKey() { in getPublic()
129 PublicKey pk = TestKeyPair.getPublic();
DPublicKeyTest.java25 import java.security.PublicKey;
44 public class checkPublicKey implements PublicKey {
/libcore/luni/src/main/java/java/security/interfaces/
DRSAPublicKey.java21 import java.security.PublicKey;
26 public interface RSAPublicKey extends PublicKey, RSAKey {
DDSAPublicKey.java21 import java.security.PublicKey;
26 public interface DSAPublicKey extends DSAKey, PublicKey {
DECPublicKey.java20 import java.security.PublicKey;
26 public interface ECPublicKey extends PublicKey, ECKey {
/libcore/luni/src/main/java/javax/crypto/interfaces/
DDHPublicKey.java21 import java.security.PublicKey;
26 public interface DHPublicKey extends DHKey, PublicKey {
/libcore/luni/src/test/java/libcore/java/security/
DMockPublicKey.java19 import java.security.PublicKey;
25 public class MockPublicKey implements PublicKey {
DSignatureTest.java28 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/
DCertificateTest.java32 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/
DSystemScope.java28 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/
DSubjectPublicKeyInfoTest.java34 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/
DX509PublicKey.java20 import java.security.PublicKey;
22 public final class X509PublicKey implements PublicKey {

1234