Home
last modified time | relevance | path

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

12345

/libcore/ojluni/src/main/java/java/security/cert/
DPKIXCertPathValidatorResult.java28 import java.security.PublicKey;
62 private PublicKey subjectPublicKey;
77 PolicyNode policyTree, PublicKey subjectPublicKey) in PKIXCertPathValidatorResult()
125 public PublicKey getPublicKey() { in getPublicKey()
DCertificate.java31 import java.security.PublicKey;
167 public abstract void verify(PublicKey key) in verify()
188 public abstract void verify(PublicKey key, String sigProvider) in verify()
216 public void verify(PublicKey key, Provider sigProvider) in verify()
234 public abstract PublicKey getPublicKey(); in getPublicKey()
DTrustAnchor.java29 import java.security.PublicKey;
65 private final PublicKey pubKey;
162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor()
205 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints) in TrustAnchor()
265 public final PublicKey getCAPublicKey() { in getCAPublicKey()
DX509CRL.java34 import java.security.PublicKey;
193 public abstract void verify(PublicKey key) in verify()
214 public abstract void verify(PublicKey key, String sigProvider) in verify()
241 public void verify(PublicKey key, Provider sigProvider) in verify()
/libcore/ojluni/src/main/java/sun/security/x509/
DCertificateX509Key.java28 import java.security.PublicKey;
56 private PublicKey key;
63 public CertificateX509Key(PublicKey key) { in CertificateX509Key()
115 this.key = (PublicKey)obj; in set()
125 public PublicKey get(String name) throws IOException { in get()
/libcore/luni/src/test/java/tests/security/cert/
DTrustAnchorTest.java38 import java.security.PublicKey;
72 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray01()
94 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray02()
109 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray03()
132 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray04()
180 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray01()
203 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray02()
220 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray03()
245 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray04()
414 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testGetCAPublicKey01()
[all …]
DPKIXCertPathValidatorResultTest.java28 import java.security.PublicKey;
44 private static PublicKey testPublicKey = new PublicKey() {
175 PublicKey pk = testPublicKey; in testGetPublicKey()
284 PolicyNode policyTree, PublicKey subjectPublicKey, byte[] enc) { in MyPKIXCertPathBuilderResult()
/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()
DSystemScope.java28 import java.security.PublicKey;
92 public synchronized Identity getIdentity(PublicKey key) { in getIdentity()
112 PublicKey key = identity.getPublicKey(); in addIdentity()
142 PublicKey key = identity.getPublicKey(); in removeIdentity()
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/ojluni/src/main/java/java/security/
DKeyPair.java46 private PublicKey publicKey;
59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair()
69 public PublicKey getPublic() { in getPublic()
DIdentity.java78 private PublicKey publicKey;
160 public PublicKey getPublicKey() { in getPublicKey()
185 public void setPublicKey(PublicKey key) throws KeyManagementException { in setPublicKey()
265 private boolean keyEquals(PublicKey aKey, PublicKey anotherKey) { in keyEquals()
/libcore/ojluni/src/main/java/javax/security/cert/
DCertificate.java29 import java.security.PublicKey;
140 public abstract void verify(PublicKey key) in verify()
159 public abstract void verify(PublicKey key, String sigProvider) in verify()
176 public abstract PublicKey getPublicKey(); in getPublicKey()
/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/ojluni/src/main/java/sun/security/provider/certpath/
DBasicChecker.java34 import java.security.PublicKey;
63 private final PublicKey trustedPubKey;
69 private PublicKey prevPubKey;
246 PublicKey cKey = currCert.getPublicKey(); in updateState()
272 static PublicKey makeInheritedParamsKey(PublicKey keyValueKey, in makeInheritedParamsKey()
273 PublicKey keyParamsKey) throws CertPathValidatorException in makeInheritedParamsKey()
303 PublicKey getPublicKey() { in getPublicKey()
/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 {
DIdentityScope2Test.java24 import java.security.PublicKey;
33 private static PublicKey PUB_KEY;
34 private static PublicKey getPubKey() throws Exception { in getPubKey()
45 public IdentityScopeSubclass(String name, PublicKey pk) { in IdentityScopeSubclass()
84 public Identity getIdentity(PublicKey pk) { in getIdentity()
273 assertNull("Test 2: Null value expected.", sub.getIdentity((PublicKey) null)); in test_getIdentityLjava_security_PublicKey()
275 PublicKey anotherKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); in test_getIdentityLjava_security_PublicKey()
/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/ojluni/src/main/java/java/security/interfaces/
DECPublicKey.java27 import java.security.PublicKey;
42 public interface ECPublicKey extends PublicKey, ECKey {
/libcore/luni/src/test/java/libcore/java/security/
DMockPublicKey.java19 import java.security.PublicKey;
25 public class MockPublicKey implements PublicKey {
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DCertificateX509Key.java34 public CertificateX509Key(java.security.PublicKey key) { in CertificateX509Key()
58 public java.security.PublicKey get(java.lang.String name) throws java.io.IOException { in get()
80 private java.security.PublicKey key;

12345