Home
last modified time | relevance | path

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

12345

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DTrustAnchorTest.java26 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 …]
DPKIXCertPathValidatorResultTest.java25 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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
DMyCertificate.java27 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/conscrypt/src/platform/java/org/conscrypt/
DCertificatePriorityComparator.java18 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()
DTrustedCertificateIndex.java19 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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/
Dtest_load_save_keys.py78 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/
DRSA_SHA1.java24 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/
DDigitalSignatureTest.java25 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/
DCertificateStub.java30 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()
DKeyStoreTestSupport.java26 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()
DMyKeyPairGenerator3.java27 import java.security.PublicKey;
43 PublicKey pubK = (new MyKeyPairGenerator1()).new PubKey(); in generateKeyPair()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
DCertificateTest.java27 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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSimpleSignerInfoVerifierBuilder.java4 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()
DJcaSignerInfoVerifierBuilder.java4 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/conscrypt/src/main/java/org/conscrypt/ct/
DCTLogInfo.java23 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/
DKeyPairTest.java36 static PublicKey getPublic() { in getPublic()
37 return new PublicKey() { in getPublic()
137 PublicKey pk = TestKeyPair.getPublic();
DPublicKeyTest.java24 import java.security.PublicKey;
54 public class checkPublicKey implements PublicKey {
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECKeyFactory.java24 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()
DOpenSSLKey.java23 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/
DX509CertificateTest.java30 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/
DNetscapeCertRequest.java11 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPublicKey.java3 import java.security.PublicKey;
11 extends ECKey, PublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DKeyFactory.java7 import java.security.PublicKey;
48 protected PublicKey engineGeneratePublic( in engineGeneratePublic()
57 PublicKey key = BouncyCastleProvider.getPublicKey(info); in engineGeneratePublic()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/
DSignature_Impl2Test.java225 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/jcajce/provider/util/
DAsymmetricKeyInfoConverter.java5 import java.security.PublicKey;
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic()

12345