/libcore/luni/src/main/java/java/security/ |
Signature.java | 44 // The provider 45 private Provider provider; field in class:Signature 106 Provider provider = sap.provider; local 110 result.provider = provider; 113 return new SignatureImpl((SignatureSpi) spi, provider, algorithm); 118 * algorithm from the specified provider [all...] |
Provider.java | 39 * {@code Provider} is the abstract superclass for all security providers in the 42 public abstract class Provider extends Properties { 49 // String representation of the provider version number. 54 //The provider preference order number. 55 // Equals -1 for non registered provider. 58 // Contains "Service.Algorithm" and Provider.Service classes added using 62 // Contains "Service.Alias" and Provider.Service classes added using 66 // Contains "Service.Algorithm" and Provider.Service classes added using 70 // Contains "Service.Alias" and Provider.Service classes added using put() 78 private transient Provider.Service returnedService 808 private Provider provider; field in class:Provider.Service [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSettingsUtilsTests.java | 23 import com.android.emailcommon.VendorPolicyLoader.Provider; 78 Provider testProvider; 79 // <provider id="gmail" label="Gmail" domain="gmail.com"> 82 // </provider> 90 // <provider id="rr-generic" label="RoadRunner" domain="*.rr.com"> 93 // </provider> 148 Provider testProvider; 149 // <provider id="cox" label="Cox" domain="cox.net"> 152 // </provider> 153 testProvider = new Provider(); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 23 import java.security.Provider; 177 Provider[] providers = Security.getProviders(); 178 for (Provider provider : providers) { 179 Set<Provider.Service> services = provider.getServices(); 180 for (Provider.Service service : services) { 194 provider); 196 assertEquals(provider, tmf.getProvider()); 202 provider.getName()) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathBuilder1Test.java | 34 import java.security.Provider; 63 private static Provider defaultProvider; 144 * Test for <code>getInstance(String algorithm, String provider)</code> method 145 * Assertion: throws IllegalArgumentException when provider is null or empty 147 * FIXME: verify what exception will be thrown if provider is empty 155 String provider = null; local 158 CertPathBuilder.getInstance(validValues[i], provider); 171 * Test for <code>getInstance(String algorithm, String provider)</code> method 173 * throws NoSuchProviderException when provider has invalid value 192 * Test for <code>getInstance(String algorithm, String provider)</code> metho 437 private static Provider provider; field in class:myCertPathBuilder [all...] |
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
GSSManagerTest.java | 24 import java.security.Provider; 35 * Tests loading of a default provider with valid class references. 52 * Tests loading of a default provider with invalid class references. 78 public void addProviderAtEnd(Provider p, Oid mech) throws GSSException { 82 public void addProviderAtFront(Provider p, Oid mech)
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator3Test.java | 25 import java.security.Provider; 80 Provider[] provs = Security 89 // provider 98 // provider 119 // Test for method java.security.Provider 122 Provider p = AlgorithmParameterGenerator.getInstance("DSA") 124 assertNotNull("provider is null", p);
|
KeyPairGenerator4Test.java | 23 import java.security.Provider; 63 // Test1: Test with named provider 64 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); 70 // Test2: Test with empty provider name - should raise 84 Provider p = KeyPairGenerator.getInstance("DSA").getProvider(); 85 assertNotNull("provider is null", p);
|
SecureRandom2Test.java | 22 import java.security.Provider; 83 Provider[] providers = Security 96 fail("getInstance did not find the provider for SHA1PRNG"); 180 public MySecureRandom(SecureRandomSpi secureRandomSpi, Provider provider) { 181 super(secureRandomSpi, provider);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
SecureRandomTest.java | 37 Provider p; 133 * Class under test for SecureRandom getInstance(String, Provider) 136 Provider p = new SRProvider(); 172 class SRProvider extends Provider {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
ProviderJcaJceHelper.java | 9 import java.security.Provider; 24 protected final Provider provider; field in class:ProviderJcaJceHelper 26 public ProviderJcaJceHelper(Provider provider) 28 this.provider = provider; 35 return Cipher.getInstance(algorithm, provider); 41 return Mac.getInstance(algorithm, provider); 47 return KeyAgreement.getInstance(algorithm, provider); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator4Test.java | 21 import java.security.Provider; 61 // Test1: Test with named provider 62 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); 68 // Test2: Test with empty provider name - should raise 82 Provider p = KeyPairGenerator.getInstance("DSA").getProvider(); 83 assertNotNull("provider is null", p);
|
/libcore/luni/src/test/java/tests/targets/security/ |
SignatureTestMD2withRSA.java | 23 import java.security.Provider; 97 Provider provider = new MyProvider(); local 98 Security.addProvider(provider); 109 Security.removeProvider(provider.getName()); 112 public final class MyProvider extends Provider {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
JcaSignerInfoVerifierBuilder.java | 3 import java.security.Provider; 32 public JcaSignerInfoVerifierBuilder setProvider(Provider provider) 34 this.helper = new ProviderHelper(provider); 149 private final Provider provider; field in class:JcaSignerInfoVerifierBuilder.ProviderHelper 151 public ProviderHelper(Provider provider) 153 this.provider = provider; [all...] |
JcaSimpleSignerInfoVerifierBuilder.java | 3 import java.security.Provider; 22 public JcaSimpleSignerInfoVerifierBuilder setProvider(Provider provider) 24 this.helper = new ProviderHelper(provider); 119 private final Provider provider; field in class:JcaSimpleSignerInfoVerifierBuilder.ProviderHelper 121 public ProviderHelper(Provider provider) 123 this.provider = provider; [all...] |
/external/chromium_org/extensions/browser/ |
test_management_policy.h | 18 class TestManagementPolicyProvider : public ManagementPolicy::Provider { 29 return "Action prohibited by test provider.";
|
/external/smack/src/org/jivesoftware/smackx/ |
GroupChatInvitation.java | 24 import org.jivesoftware.smack.provider.PacketExtensionProvider; 107 public static class Provider implements PacketExtensionProvider {
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
ChatStateExtension.java | 25 import org.jivesoftware.smack.provider.PacketExtensionProvider;
60 public static class Provider implements PacketExtensionProvider {
|
/external/smack/src/org/jivesoftware/smackx/receipts/ |
DeliveryReceipt.java | 20 import org.jivesoftware.smack.provider.EmbeddedExtensionProvider;
64 * This Provider parses and returns DeliveryReceipt packets.
66 public static class Provider extends EmbeddedExtensionProvider
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
SessionID.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
66 public static class Provider implements PacketExtensionProvider {
|
UserID.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
66 public static class Provider implements PacketExtensionProvider {
|
WorkgroupInformation.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
70 public static class Provider implements PacketExtensionProvider {
|
/libcore/crypto/src/test/java/org/conscrypt/ |
SignatureTest.java | 22 import java.security.Provider; 82 // We only need to test this on the OpenSSL provider. 83 Provider p = Security.getProvider(OpenSSLProvider.PROVIDER_NAME); 97 Set<Provider.Service> services = p.getServices(); 98 for (Provider.Service service : services) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
AlgNameMapper.java | 25 import java.security.Provider; 111 Provider[] pl = Security.getProviders(); 112 for (Provider element : pl) { 178 // Searches given provider for mappings like 183 private static void selectEntries(Provider p) {
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumActivity.java | 22 public class AlbumActivity extends Activity implements MultiChoiceManager.Provider {
|