/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 134 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 …]
|
D | CipherTest.java | 77 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/ |
D | ProviderTest.java | 305 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/ |
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() 192 … 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() 196 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { 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()
|
D | Signature.java | 46 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/ |
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
|
/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()
|