/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | TrustAnchorTest.java | 26 import java.security.PublicKey; 64 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorStringPublicKeybyteArray01() 87 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() 175 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray01() 199 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray02() 217 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray03() 243 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testTrustAnchorX500PrincipalPublicKeybyteArray04() 280 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); in testGetCAPublicKey01() [all …]
|
D | PKIXCertPathValidatorResultTest.java | 25 import java.security.PublicKey; 42 private static PublicKey testPublicKey = new PublicKey() { 185 PublicKey pk = testPublicKey; in testGetPublicKey() 297 PolicyNode policyTree, PublicKey subjectPublicKey, byte[] enc) { in MyPKIXCertPathBuilderResult()
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
D | CertificatePriorityComparator.java | 18 import java.security.PublicKey; 107 PublicKey lhsPublicKey = lhs.getPublicKey(); in compareStrength() 108 PublicKey rhsPublicKey = rhs.getPublicKey(); in compareStrength() 120 private int compareKeyAlgorithm(PublicKey lhs, PublicKey rhs) { in compareKeyAlgorithm() 136 private int compareKeySize(PublicKey lhs, PublicKey rhs) { in compareKeySize() 147 private int getKeySize(PublicKey pkey) { in getKeySize()
|
D | TrustedCertificateIndex.java | 19 import java.security.PublicKey; 110 PublicKey publicKey; in findByIssuerAndSignature() 140 PublicKey certPublicKey = cert.getPublicKey(); in findBySubjectAndPublicKey() 142 PublicKey caPublicKey; in findBySubjectAndPublicKey() 184 PublicKey publicKey; in findAllByIssuerAndSignature()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificate.java | 27 import java.security.PublicKey; 64 public void verify(PublicKey key) throws CertificateException, in verify() 72 public void verify(PublicKey key, String sigProvider) in verify() 88 public PublicKey getPublicKey() { in getPublicKey() 89 return new PublicKey() { in getPublicKey()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
D | test_load_save_keys.py | 78 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_DER, 'DER') 79 expected = rsa.key.PublicKey(3727264081, 65537) 86 key = rsa.key.PublicKey(3727264081, 65537) 114 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_PEM, 'PEM') 115 expected = rsa.key.PublicKey(3727264081, 65537) 122 key = rsa.key.PublicKey(3727264081, 65537)
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 24 import java.security.PublicKey; 90 private PublicKey publicKey = null; 116 if (publicKeyObject instanceof PublicKey) { in initialize() 117 publicKey = (PublicKey)publicKeyObject; in initialize() 150 private PublicKey getPublicKeyFromPemCert(String certObject) in getPublicKeyFromPemCert() 158 private PublicKey getPublicKeyFromDerCert(byte[] certObject) in getPublicKeyFromDerCert() 166 private PublicKey getPublicKeyFromDer(byte[] publicKeyObject) in getPublicKeyFromDer() 173 private PublicKey getPublicKeyFromPem(String publicKeyObject) in getPublicKeyFromPem()
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
D | DigitalSignatureTest.java | 25 import java.security.PublicKey; 82 final PublicKey publicKey = keyFactory in test_Sign() 90 public PublicKey getPublicKey() { in test_Sign() 105 public void verify(PublicKey key) throws CertificateException, in test_Sign() 111 public void verify(PublicKey key, String sigProvider) in test_Sign()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | CertificateStub.java | 30 import java.security.PublicKey; 41 PublicKey key; 43 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key) { in CertificateStub() 98 public PublicKey getPublicKey() { in getPublicKey()
|
D | KeyStoreTestSupport.java | 26 import java.security.PublicKey; 132 public void verify(PublicKey key) throws CertificateException, in verify() 137 public void verify(PublicKey key, String sigProvider) in verify() 147 public PublicKey getPublicKey() { in getPublicKey() 148 return new PublicKey() { in getPublicKey()
|
D | TestCertUtils.java | 37 import java.security.PublicKey; 273 public static final class TestPublicKey implements PublicKey { 344 public void verify(PublicKey key) throws CertificateException, in verify() 350 public void verify(PublicKey key, String sigProvider) in verify() 376 public PublicKey getPublicKey() { in getPublicKey() 550 public PublicKey getPublicKey() { in getPublicKey() 558 public void verify(PublicKey key, String sigProvider) in verify() 565 public void verify(PublicKey key) throws CertificateException, in verify()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
D | JcaSimpleSignerInfoVerifierBuilder.java | 4 import java.security.PublicKey; 48 public SignerInformationVerifier build(PublicKey pubKey) in build() 56 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider() 91 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider() 126 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
|
D | JcaSignerInfoVerifierBuilder.java | 4 import java.security.PublicKey; 78 public SignerInformationVerifier build(PublicKey pubKey) in build() 86 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider() 121 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider() 156 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
D | CertificateTest.java | 27 import java.security.PublicKey; 52 public void verify(PublicKey key) in verify() 58 public void verify(PublicKey key, String sigProvider) in verify() 68 public PublicKey getPublicKey() { in getPublicKey()
|
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
D | CTLogInfo.java | 23 import java.security.PublicKey; 34 private final PublicKey publicKey; 38 public CTLogInfo(PublicKey publicKey, String description, String url) { in CTLogInfo() 59 public PublicKey getPublicKey() { in getPublicKey()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairTest.java | 36 static PublicKey getPublic() { in getPublic() 37 return new PublicKey() { in getPublic() 137 PublicKey pk = TestKeyPair.getPublic();
|
D | PublicKeyTest.java | 24 import java.security.PublicKey; 54 public class checkPublicKey implements PublicKey {
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLECKeyFactory.java | 24 import java.security.PublicKey; 39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePublic() 87 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 116 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 172 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
|
D | OpenSSLKey.java | 23 import java.security.PublicKey; 133 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException { in fromPrivateKeyForTLSStackOnly() 212 PublicKey publicKey) throws InvalidKeyException { in wrapJCAPrivateKeyForTLSStackOnly() 233 public static OpenSSLKey fromPublicKey(PublicKey key) throws InvalidKeyException { in fromPublicKey() 276 public PublicKey getPublicKey() throws NoSuchAlgorithmException { in getPublicKey() 287 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertificateTest.java | 30 import java.security.PublicKey; 153 public void verify(PublicKey key) in verify() 159 public void verify(PublicKey key, in verify() 170 public PublicKey getPublicKey() { in getPublicKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/ |
D | NetscapeCertRequest.java | 11 import java.security.PublicKey; 53 PublicKey pubkey ; 131 PublicKey pub_key) throws NoSuchAlgorithmException, in NetscapeCertRequest() 184 public PublicKey getPublicKey() in getPublicKey() 189 public void setPublicKey(PublicKey value) in setPublicKey()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
D | Signature_Impl2Test.java | 225 private class MyPublicKey extends MyKey implements PublicKey { 236 public PublicKey getPublicKey() { in getPublicKey() 244 public void verify(PublicKey key) { in verify() 247 public void verify(PublicKey key, String sigProvider) { in verify()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/ |
D | ECPublicKey.java | 3 import java.security.PublicKey; 11 extends ECKey, PublicKey
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 7 import java.security.PublicKey; 48 protected PublicKey engineGeneratePublic( in engineGeneratePublic() 57 PublicKey key = BouncyCastleProvider.getPublicKey(info); in engineGeneratePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricKeyInfoConverter.java | 5 import java.security.PublicKey; 15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic()
|