| /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 | 80 private static boolean isSupported(String algorithm, String provider) { in isSupported() 390 private static String modeProviderKey(String algorithm, int mode, String provider) { in modeProviderKey() 406 String algorithm, int mode, String provider, int value) { in setExpectedSize() 410 …static int getExpectedSize(Map<String, Integer> map, String algorithm, int mode, String provider) { in getExpectedSize() argument 435 … private static void setExpectedBlockSize(String algorithm, int mode, String provider, int value) { in setExpectedBlockSize() 439 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() 1191 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 | 308 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_UnknownService_Success() local 326 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success() local 353 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure() local 375 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success() local 394 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NonKey_Failure() local 416 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure() local 438 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_Null_Failure() local 457 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Success() local 476 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Failure() local 495 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyFormats_Success() local [all …]
|
| /libcore/luni/src/main/java/java/security/cert/ |
| D | CertPathBuilder.java | 46 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()
|
| D | CertPathValidator.java | 47 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()
|
| D | CertStore.java | 49 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()
|
| D | CertificateFactory.java | 47 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/ |
| D | SecretKeyFactory.java | 48 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()
|
| D | KeyGenerator.java | 43 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()
|
| D | KeyAgreement.java | 50 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() 202 private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) in tryAlgorithm()
|
| D | Mac.java | 47 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() 206 Key key, Provider provider, String algorithm) throws InvalidKeyException { in tryAlgorithm()
|
| D | ExemptionMechanism.java | 42 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/ |
| 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/luni/src/main/java/java/security/ |
| D | KeyFactory.java | 38 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()
|
| D | SecureRandom.java | 75 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()
|
| D | AlgorithmParameterGenerator.java | 39 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()
|
| D | KeyPairGenerator.java | 43 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()
|
| D | AlgorithmParameters.java | 44 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()
|
| D | MessageDigest.java | 57 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()
|
| /libcore/luni/src/main/java/javax/net/ssl/ |
| D | TrustManagerFactory.java | 99 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()
|
| D | KeyManagerFactory.java | 100 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()
|
| D | SSLContext.java | 233 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/ |
| D | SelectorProvider.java | 41 private static SelectorProvider provider = null; field in SelectorProvider 65 synchronized public static SelectorProvider provider() { in provider() method in SelectorProvider
|
| D | AbstractSelector.java | 36 private SelectorProvider provider = null; field in AbstractSelector 79 public final SelectorProvider provider() { in provider() method in AbstractSelector
|
| /libcore/luni/src/main/java/java/nio/channels/ |
| D | Pipe.java | 41 protected SinkChannel(SelectorProvider provider) { in SinkChannel() 67 protected SourceChannel(SelectorProvider provider) { in SourceChannel()
|