Home
last modified time | relevance | path

Searched defs:provider (Results 1 – 25 of 79) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/javax/crypto/
DECDHKeyAgreementTest.java134 void testGetAlgorithm(Provider provider) throws Exception { in testGetAlgorithm()
142 void testGetProvider(Provider provider) throws Exception { in testGetProvider()
150 void testInit_withNullPrivateKey(Provider provider) throws Exception { in testInit_withNullPrivateKey()
162 void testInit_withUnsupportedPrivateKeyType(Provider provider) throws Exception { in testInit_withUnsupportedPrivateKeyType()
174 void testInit_withUnsupportedAlgorithmParameterSpec(Provider provider) throws Exception { in testInit_withUnsupportedAlgorithmParameterSpec()
185 void testDoPhase_whenNotInitialized(Provider provider) throws Exception { in testDoPhase_whenNotInitialized()
196 void testDoPhaseReturnsNull(Provider provider) throws Exception { in testDoPhaseReturnsNull()
206 void testDoPhase_withPhaseWhichIsNotLast(Provider provider) throws Exception { in testDoPhase_withPhaseWhichIsNotLast()
219 void testDoPhase_withNullKey(Provider provider) throws Exception { in testDoPhase_withNullKey()
232 void testDoPhase_withInvalidKeyType(Provider provider) throws Exception { in testDoPhase_withInvalidKeyType()
[all …]
DCipherTest.java77 private static boolean isSupported(String algorithm, String provider) { in isSupported()
383 private static String modeProviderKey(String algorithm, int mode, String provider) { in modeProviderKey()
399 String algorithm, int mode, String provider, int value) { in setExpectedSize()
403 …static int getExpectedSize(Map<String, Integer> map, String algorithm, int mode, String provider) { in getExpectedSize() argument
428 … private static void setExpectedBlockSize(String algorithm, int mode, String provider, int value) { in setExpectedBlockSize()
432 private static int getExpectedBlockSize(String algorithm, int mode, String provider) { in getExpectedBlockSize()
608 …private static void setExpectedOutputSize(String algorithm, int mode, String provider, int value) { in setExpectedOutputSize()
612 private static int getExpectedOutputSize(String algorithm, int mode, String provider) { in getExpectedOutputSize()
727 private static byte[] getExpectedPlainText(String algorithm, String provider) { in getExpectedPlainText()
1057 private void test_Cipher_Algorithm(Provider provider, String algorithm) throws Exception { in test_Cipher_Algorithm()
[all …]
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java305 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_UnknownService_Success() local
323 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success() local
350 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure() local
372 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success() local
391 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NonKey_Failure() local
413 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure() local
435 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_Null_Failure() local
454 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Success() local
473 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Failure() local
492 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyFormats_Success() local
[all …]
/libcore/luni/src/main/java/java/security/cert/
DCertPathBuilder.java46 private final Provider provider; field in CertPathBuilder
64 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, in CertPathBuilder()
127 public static CertPathBuilder getInstance(String algorithm, String provider) in getInstance()
156 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DCertPathValidator.java47 private final Provider provider; field in CertPathValidator
66 Provider provider, String algorithm) { in CertPathValidator()
129 String provider) throws NoSuchAlgorithmException, in getInstance()
159 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DCertStore.java49 private final Provider provider; field in CertStore
72 protected CertStore(CertStoreSpi storeSpi, Provider provider, String type, in CertStore()
139 CertStoreParameters params, String provider) in getInstance()
174 CertStoreParameters params, Provider provider) in getInstance()
DCertificateFactory.java47 private final Provider provider; field in CertificateFactory
66 Provider provider, String type) { in CertificateFactory()
117 String provider) throws CertificateException, in getInstance()
149 Provider provider) throws CertificateException { in getInstance()
/libcore/luni/src/main/java/javax/crypto/
DSecretKeyFactory.java48 private final Provider provider; field in SecretKeyFactory
67 Provider provider, String algorithm) { in SecretKeyFactory()
132 String provider) throws NoSuchAlgorithmException, in getInstance()
164 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DKeyGenerator.java43 private final Provider provider; field in KeyGenerator
61 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, in KeyGenerator()
127 String provider) throws NoSuchAlgorithmException, NoSuchProviderException { in getInstance()
157 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DKeyAgreement.java50 private Provider provider; field in KeyAgreement
76 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, in KeyAgreement()
136 public static final KeyAgreement getInstance(String algorithm, String provider) in getInstance()
167 public static final KeyAgreement getInstance(String algorithm, Provider provider) in getInstance()
175 private static KeyAgreement getKeyAgreement(String algorithm, Provider provider) in getKeyAgreement()
192 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm()
DMac.java47 private Provider provider; field in Mac
76 protected Mac(MacSpi macSpi, Provider provider, String algorithm) { in Mac()
140 public static final Mac getInstance(String algorithm, String provider) in getInstance()
171 public static final Mac getInstance(String algorithm, Provider provider) in getInstance()
179 private static Mac getMac(String algorithm, Provider provider) in getMac()
196 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm()
DExemptionMechanism.java42 private final Provider provider; field in ExemptionMechanism
70 Provider provider, String mechanism) { in ExemptionMechanism()
127 String provider) throws NoSuchAlgorithmException, in getInstance()
161 Provider provider) throws NoSuchAlgorithmException { in getInstance()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactorySpiTest.java56 Provider provider = new MyProvider(); in test_engineInit_01() local
83 Provider provider = new MyProvider(); in test_engineInit_02() local
109 Provider provider = new MyProvider(); in test_engineGetTrustManagers() local
/libcore/luni/src/main/java/java/security/
DKeyFactory.java38 private final Provider provider; field in KeyFactory
58 Provider provider, in KeyFactory()
101 public static KeyFactory getInstance(String algorithm, String provider) in getInstance()
128 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance()
DSecureRandom.java75 private final Provider provider; field in SecureRandom
125 Provider provider) { in SecureRandom()
131 Provider provider, in SecureRandom()
179 public static SecureRandom getInstance(String algorithm, String provider) in getInstance()
208 public static SecureRandom getInstance(String algorithm, Provider provider) in getInstance()
DAlgorithmParameterGenerator.java39 private final Provider provider; field in AlgorithmParameterGenerator
59 AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, in AlgorithmParameterGenerator()
118 String provider) throws NoSuchAlgorithmException, in getInstance()
148 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DKeyPairGenerator.java43 private Provider provider; field in KeyPairGenerator
87 Provider provider = sap.provider; in getInstance() local
113 public static KeyPairGenerator getInstance(String algorithm, String provider) in getInstance()
142 Provider provider) throws NoSuchAlgorithmException { in getInstance()
259 Provider provider, String algorithm) { in KeyPairGeneratorImpl()
DAlgorithmParameters.java44 private final Provider provider; field in AlgorithmParameters
73 Provider provider, String algorithm) { in AlgorithmParameters()
120 String provider) throws NoSuchAlgorithmException, in getInstance()
150 Provider provider) throws NoSuchAlgorithmException { in getInstance()
DMessageDigest.java57 private Provider provider; field in MessageDigest
93 Provider provider = sap.provider; in getInstance() local
121 public static MessageDigest getInstance(String algorithm, String provider) in getInstance()
150 public static MessageDigest getInstance(String algorithm, Provider provider) in getInstance()
377 Provider provider, String algorithm) { in MessageDigestImpl()
DSignature.java46 Provider provider; field in Signature
126 public static Signature getInstance(String algorithm, String provider) in getInstance()
158 public static Signature getInstance(String algorithm, Provider provider) in getInstance()
169 private static Signature getSignature(String algorithm, Provider provider) in getSignature()
190 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm()
642 public SignatureImpl(String algorithm, Provider provider) { in SignatureImpl()
647 private SignatureImpl(String algorithm, Provider provider, SignatureSpi spi) { in SignatureImpl()
/libcore/luni/src/main/java/javax/net/ssl/
DTrustManagerFactory.java99 public static final TrustManagerFactory getInstance(String algorithm, String provider) in getInstance()
127 public static final TrustManagerFactory getInstance(String algorithm, Provider provider) in getInstance()
140 private final Provider provider; field in TrustManagerFactory
158 protected TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, in TrustManagerFactory()
DKeyManagerFactory.java100 public static final KeyManagerFactory getInstance(String algorithm, String provider) in getInstance()
128 public static final KeyManagerFactory getInstance(String algorithm, Provider provider) in getInstance()
141 private final Provider provider; field in KeyManagerFactory
159 protected KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, in KeyManagerFactory()
DSSLContext.java233 public static SSLContext getInstance(String protocol, String provider) in getInstance()
264 public static SSLContext getInstance(String protocol, Provider provider) in getInstance()
276 private final Provider provider; field in SSLContext
292 protected SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol) { in SSLContext()
/libcore/luni/src/main/java/java/nio/channels/spi/
DSelectorProvider.java41 private static SelectorProvider provider = null; field in SelectorProvider
65 synchronized public static SelectorProvider provider() { in provider() method in SelectorProvider
/libcore/luni/src/main/java/java/nio/channels/
DPipe.java41 protected SinkChannel(SelectorProvider provider) { in SinkChannel()
67 protected SourceChannel(SelectorProvider provider) { in SourceChannel()

1234