/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 136 void testGetAlgorithm(Provider provider) throws Exception { in testGetAlgorithm() 144 void testGetProvider(Provider provider) throws Exception { in testGetProvider() 152 void testInit_withNullPrivateKey(Provider provider) throws Exception { in testInit_withNullPrivateKey() 164 void testInit_withUnsupportedPrivateKeyType(Provider provider) throws Exception { in testInit_withUnsupportedPrivateKeyType() 176 void testInit_withUnsupportedAlgorithmParameterSpec(Provider provider) throws Exception { in testInit_withUnsupportedAlgorithmParameterSpec() 187 void testDoPhase_whenNotInitialized(Provider provider) throws Exception { in testDoPhase_whenNotInitialized() 198 void testDoPhaseReturnsNull(Provider provider) throws Exception { in testDoPhaseReturnsNull() 208 void testDoPhase_withPhaseWhichIsNotLast(Provider provider) throws Exception { in testDoPhase_withPhaseWhichIsNotLast() 221 void testDoPhase_withNullKey(Provider provider) throws Exception { in testDoPhase_withNullKey() 234 void testDoPhase_withInvalidKeyType(Provider provider) throws Exception { in testDoPhase_withInvalidKeyType() [all …]
|
D | CipherTest.java | 81 private static boolean isSupported(String algorithm, String provider) { in isSupported() 391 private static String modeProviderKey(String algorithm, int mode, String provider) { in modeProviderKey() 407 String algorithm, int mode, String provider, int value) { in setExpectedSize() 411 …static int getExpectedSize(Map<String, Integer> map, String algorithm, int mode, String provider) { in getExpectedSize() argument 436 … private static void setExpectedBlockSize(String algorithm, int mode, String provider, int value) { in setExpectedBlockSize() 440 private static int getExpectedBlockSize(String algorithm, int mode, String provider) { in getExpectedBlockSize() 609 …private static void setExpectedOutputSize(String algorithm, int mode, String provider, int value) { in setExpectedOutputSize() 613 private static int getExpectedOutputSize(String algorithm, int mode, String provider) { in getExpectedOutputSize() 728 private static byte[] getExpectedPlainText(String algorithm, String provider) { in getExpectedPlainText() 1262 private void test_Cipher_Algorithm(Provider provider, String algorithm) throws Exception { in test_Cipher_Algorithm() [all …]
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 310 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_UnknownService_Success() local 328 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success() local 355 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure() local 377 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success() local 396 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NonKey_Failure() local 418 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure() local 440 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_Null_Failure() local 459 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Success() local 478 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Failure() local 497 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyFormats_Success() local [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathBuilder.java | 122 private final Provider provider; field in CertPathBuilder 133 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, in CertPathBuilder() 212 public static CertPathBuilder getInstance(String algorithm, String provider) in getInstance() 250 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | CertPathValidator.java | 123 private final Provider provider; field in CertPathValidator 135 Provider provider, String algorithm) in CertPathValidator() 214 String provider) throws NoSuchAlgorithmException, in getInstance() 252 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | CertificateFactory.java | 155 private Provider provider; field in CertificateFactory 169 Provider provider, String type) in CertificateFactory() 250 String provider) throws CertificateException, in getInstance() 292 Provider provider) throws CertificateException { in getInstance()
|
D | CertStore.java | 111 private Provider provider; field in CertStore 124 protected CertStore(CertStoreSpi storeSpi, Provider provider, in CertStore() 303 CertStoreParameters params, String provider) in getInstance() 358 Provider provider) throws NoSuchAlgorithmException, in getInstance()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | TrustManagerFactory.java | 44 private Provider provider; field in TrustManagerFactory 87 Provider provider, String algorithm) { in TrustManagerFactory() 180 String provider) throws NoSuchAlgorithmException, in getInstance() 218 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | KeyManagerFactory.java | 44 private Provider provider; field in KeyManagerFactory 90 Provider provider, String algorithm) { in KeyManagerFactory() 181 String provider) throws NoSuchAlgorithmException, in getInstance() 219 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | SSLContext.java | 88 private final Provider provider; field in SSLContext 101 protected SSLContext(SSLContextSpi contextSpi, Provider provider, in SSLContext() 230 public static SSLContext getInstance(String protocol, String provider) in getInstance() 267 public static SSLContext getInstance(String protocol, Provider provider) in getInstance()
|
/libcore/ojluni/src/main/java/sun/security/action/ |
D | PutAllAction.java | 43 private final Provider provider; field in PutAllAction 46 public PutAllAction(Provider provider, Map map) { in PutAllAction()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactorySpiTest.java | 56 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/ojluni/src/main/java/java/security/ |
D | AlgorithmParameterGenerator.java | 118 private Provider provider; field in AlgorithmParameterGenerator 134 (AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, in AlgorithmParameterGenerator() 230 String provider) in getInstance() 274 Provider provider) in getInstance()
|
D | AlgorithmParameters.java | 123 private Provider provider; field in AlgorithmParameters 142 Provider provider, String algorithm) in AlgorithmParameters() 239 String provider) in getInstance() 284 Provider provider) in getInstance()
|
D | KeyFactory.java | 128 private Provider provider; field in KeyFactory 148 protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, in KeyFactory() 232 public static KeyFactory getInstance(String algorithm, String provider) in getInstance() 269 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance()
|
D | SecureRandom.java | 107 private Provider provider = null; field in SecureRandom 228 Provider provider) { in SecureRandom() 232 private SecureRandom(SecureRandomSpi secureRandomSpi, Provider provider, in SecureRandom() 360 public static SecureRandom getInstance(String algorithm, String provider) in getInstance() 446 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | GetInstance.java | 51 public final Provider provider; field in GetInstance.Instance 53 private Instance(Provider provider, Object impl) { in Instance() 76 String provider) throws NoSuchAlgorithmException, in getService() 94 Provider provider) throws NoSuchAlgorithmException { in getService() 204 String algorithm, String provider) throws NoSuchAlgorithmException, in getInstance() 210 String algorithm, Object param, String provider) in getInstance() 216 String algorithm, Provider provider) in getInstance() 222 String algorithm, Object param, Provider provider) in getInstance()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelector.java | 76 private final SelectorProvider provider; field in AbstractSelector 81 protected AbstractSelector(SelectorProvider provider) { in AbstractSelector() 138 public final SelectorProvider provider() { in provider() method in AbstractSelector
|
D | SelectorProvider.java | 72 private static SelectorProvider provider = null; field in SelectorProvider 164 public static SelectorProvider provider() { in provider() method in SelectorProvider
|
D | AbstractSelectableChannel.java | 55 private final SelectorProvider provider; field in AbstractSelectableChannel 76 protected AbstractSelectableChannel(SelectorProvider provider) { in AbstractSelectableChannel() 85 public final SelectorProvider provider() { in provider() method in AbstractSelectableChannel
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClientProvider.java | 49 private static FtpClientProvider provider = null; field in FtpClientProvider 137 public static FtpClientProvider provider() { in provider() method in FtpClientProvider
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Pipe.java | 67 protected SourceChannel(SelectorProvider provider) { in SourceChannel() 98 protected SinkChannel(SelectorProvider provider) { in SinkChannel()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactory.java | 214 private Provider provider; field in SecretKeyFactory 237 Provider provider, String algorithm) { in SecretKeyFactory() 329 String provider) throws NoSuchAlgorithmException, in getInstance() 370 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | ExemptionMechanism.java | 54 private Provider provider; field in ExemptionMechanism 80 Provider provider, in ExemptionMechanism() 182 String provider) throws NoSuchAlgorithmException, in getInstance() 223 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|
D | KeyGenerator.java | 176 private Provider provider; field in KeyGenerator 200 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, in KeyGenerator() 303 String provider) throws NoSuchAlgorithmException, in getInstance() 342 Provider provider) throws NoSuchAlgorithmException { in getInstance()
|