/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
DHUtil.java | 5 import java.security.PublicKey; 22 PublicKey key)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509AttributeCertificate.java | 8 import java.security.PublicKey; 90 public void verify(PublicKey key, String provider)
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRSAKeyPairGenerator.java | 24 import java.security.PublicKey; 48 PublicKey pubKey = new OpenSSLRSAPublicKey(key);
|
X509PublicKey.java | 19 import java.security.PublicKey; 26 public class X509PublicKey implements PublicKey {
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 24 import java.security.PublicKey; 61 * of type java.security.PublicKey, String, or byte[]. In the latter two 86 final static public String PUBLIC_KEY = "RSA-SHA1.PublicKey"; 90 private PublicKey publicKey = null; 116 if (publicKeyObject instanceof PublicKey) { 117 publicKey = (PublicKey)publicKeyObject; 119 publicKey = getPublicKeyFromPem((String)publicKeyObject); 121 publicKey = getPublicKeyFromDer((byte[])publicKeyObject) [all...] |
/libcore/luni/src/main/java/libcore/util/ |
RecoverySystem.java | 25 import java.security.PublicKey; 51 PublicKey signatureKey = cert.getPublicKey();
|
/libcore/luni/src/test/java/libcore/java/security/ |
MockSignatureSpi.java | 23 import java.security.PublicKey; 56 * @see java.security.SignatureSpi#engineInitVerify(java.security.PublicKey) 59 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException {
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
FakeOidProvider.java | 7 import java.security.PublicKey; 34 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactorySpiTest.java | 23 import java.security.PublicKey; 59 protected PublicKey engineGeneratePublic(KeySpec keySpec){
|
IdentityScope2Test.java | 24 import java.security.PublicKey; 33 private static PublicKey PUB_KEY; 34 private static PublicKey getPubKey() throws Exception { 45 public IdentityScopeSubclass(String name, PublicKey pk) { 84 public Identity getIdentity(PublicKey pk) { 262 * java.security.IdentityScope#getIdentity(java.security.PublicKey) 273 assertNull("Test 2: Null value expected.", sub.getIdentity((PublicKey) null)); 275 PublicKey anotherKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic();
|
/libcore/ojluni/src/main/java/java/security/ |
Signer.java | 135 final PublicKey pub = pair.getPublic(); 157 PublicKey publicKey = getPublicKey(); 158 if (publicKey != null && privateKey != null) {
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
BasicChecker.java | 34 import java.security.PublicKey; 63 private final PublicKey trustedPubKey; 69 private PublicKey prevPubKey; 246 PublicKey cKey = currCert.getPublicKey(); 272 static PublicKey makeInheritedParamsKey(PublicKey keyValueKey, 273 PublicKey keyParamsKey) throws CertPathValidatorException 301 * @return PublicKey the last public key processed 303 PublicKey getPublicKey() {
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
KeyIdentifier.java | 29 import java.security.PublicKey; 82 public KeyIdentifier(PublicKey pubKey) 87 throw new IOException("PublicKey value is not a valid "
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 30 import java.security.PublicKey; 94 public class PubKey implements PublicKey {
|
MySignature1.java | 27 import java.security.PublicKey; 66 protected void engineInitVerify(PublicKey publicKey)
|
/libcore/support/src/test/java/tests/security/ |
KeyFactoryTest.java | 23 import java.security.PublicKey; 59 PublicKey publicKey = factory.generatePublic(publicKeySpec); 60 check(new KeyPair(publicKey, privateKey));
|
/system/extras/verity/ |
VeritySigner.java | 19 import java.security.PublicKey; 46 PublicKey publicKey = cert.getPublicKey(); 51 if (Utils.verify(publicKey, content, signature, 52 Utils.getSignatureAlgorithmIdentifier(publicKey))) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXCertPathValidatorResultTest.java | 25 import java.security.PublicKey; 40 * PublicKey stub 42 private static PublicKey testPublicKey = new PublicKey() { 71 * PolicyNode, PublicKey)</code> constructor<br> 93 * PolicyNode, PublicKey)</code> constructor<br> 111 * PolicyNode, PublicKey)</code> constructor<br> 113 * <code>PublicKey</code> parameter is <code>null</code> 133 * PolicyNode, PublicKey)</code> constructor<br> 185 PublicKey pk = testPublicKey [all...] |
TrustAnchorTest.java | 26 import java.security.PublicKey; 54 * Test #1 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 64 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 77 * Test #2 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 87 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 93 * Test #3 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 103 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 117 * Test #4 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 126 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 165 * Test #1 for <code>TrustAnchor(X500Principal, PublicKey, byte[])</code> constructor<br [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
JcaSignerInfoVerifierBuilder.java | 4 import java.security.PublicKey; 78 public SignerInformationVerifier build(PublicKey pubKey) 86 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) 89 return new JcaContentVerifierProviderBuilder().build(publicKey); 121 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) 124 return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey); 156 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) [all...] |
JcaSimpleSignerInfoVerifierBuilder.java | 4 import java.security.PublicKey; 48 public SignerInformationVerifier build(PublicKey pubKey) 56 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) 59 return new JcaContentVerifierProviderBuilder().build(publicKey); 91 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) 94 return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey); 126 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) [all...] |
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateIndex.java | 19 import java.security.PublicKey; 110 PublicKey publicKey; 114 publicKey = caCert.getPublicKey(); 116 publicKey = anchor.getCAPublicKey(); 118 cert.verify(publicKey); 140 PublicKey certPublicKey = cert.getPublicKey(); 142 PublicKey caPublicKey; 153 // PublicKey.equals is not required to compare keys across providers. Fall back 184 PublicKey publicKey [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
PKIXCertPathValidatorResultTest.java | 28 import java.security.PublicKey; 42 * PublicKey stub 44 private static PublicKey testPublicKey = new PublicKey() { 63 * PolicyNode, PublicKey)</code> constructor<br> 85 * PolicyNode, PublicKey)</code> constructor<br> 103 * PolicyNode, PublicKey)</code> constructor<br> 105 * <code>PublicKey</code> parameter is <code>null</code> 125 * PolicyNode, PublicKey)</code> constructor<br> 175 PublicKey pk = testPublicKey [all...] |
/libcore/ojluni/src/main/java/sun/security/validator/ |
PKIXValidator.java | 71 private final Map<X500Principal, List<PublicKey>> trustedSubjects; 99 trustedSubjects = new HashMap<X500Principal, List<PublicKey>>(); 102 List<PublicKey> keys; 106 keys = new ArrayList<PublicKey>(); 138 trustedSubjects = new HashMap<X500Principal, List<PublicKey>>(); 141 List<PublicKey> keys; 145 keys = new ArrayList<PublicKey>(); 295 private boolean isSignatureValid(List<PublicKey> keys, 298 for (PublicKey key: keys) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyFactorySpi.java | 7 import java.security.PublicKey; 79 protected PublicKey engineGeneratePublic( 110 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
|