Home
last modified time | relevance | path

Searched refs:providerName (Results 1 – 19 of 19) sorted by relevance

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/
DNamedJcaJceHelper.java38 protected final String providerName; field in NamedJcaJceHelper
40 public NamedJcaJceHelper(String providerName) in NamedJcaJceHelper() argument
42 this.providerName = providerName; in NamedJcaJceHelper()
49 return Cipher.getInstance(algorithm, providerName); in createCipher()
55 return Mac.getInstance(algorithm, providerName); in createMac()
61 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement()
67 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator()
73 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters()
79 return KeyGenerator.getInstance(algorithm, providerName); in createKeyGenerator()
85 return KeyFactory.getInstance(algorithm, providerName); in createKeyFactory()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DNamedJcaJceHelper.java36 protected final String providerName; field in NamedJcaJceHelper
38 public NamedJcaJceHelper(String providerName) in NamedJcaJceHelper() argument
40 this.providerName = providerName; in NamedJcaJceHelper()
47 return Cipher.getInstance(algorithm, providerName); in createCipher()
53 return Mac.getInstance(algorithm, providerName); in createMac()
59 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement()
65 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator()
71 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters()
77 return KeyGenerator.getInstance(algorithm, providerName); in createKeyGenerator()
83 return KeyFactory.getInstance(algorithm, providerName); in createKeyFactory()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/
DNamedJcaJceHelper.java38 protected final String providerName; field in NamedJcaJceHelper
40 public NamedJcaJceHelper(String providerName) in NamedJcaJceHelper() argument
42 this.providerName = providerName; in NamedJcaJceHelper()
49 return Cipher.getInstance(algorithm, providerName); in createCipher()
55 return Mac.getInstance(algorithm, providerName); in createMac()
61 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement()
67 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator()
73 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters()
79 return KeyGenerator.getInstance(algorithm, providerName); in createKeyGenerator()
85 return KeyFactory.getInstance(algorithm, providerName); in createKeyFactory()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSimpleSignerInfoVerifierBuilder.java29 public JcaSimpleSignerInfoVerifierBuilder setProvider(String providerName) in setProvider() argument
31 this.helper = new NamedHelper(providerName); in setProvider()
84 private final String providerName; field in JcaSimpleSignerInfoVerifierBuilder.NamedHelper
86 public NamedHelper(String providerName) in NamedHelper() argument
88 this.providerName = providerName; in NamedHelper()
94 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey); in createContentVerifierProvider()
100 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certificate); in createContentVerifierProvider()
106 return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build(); in createDigestCalculatorProvider()
112 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certHolder); in createContentVerifierProvider()
DJcaSignerInfoVerifierBuilder.java39 public JcaSignerInfoVerifierBuilder setProvider(String providerName) in setProvider() argument
41 this.helper = new NamedHelper(providerName); in setProvider()
114 private final String providerName; field in JcaSignerInfoVerifierBuilder.NamedHelper
116 public NamedHelper(String providerName) in NamedHelper() argument
118 this.providerName = providerName; in NamedHelper()
124 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey); in createContentVerifierProvider()
130 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certificate); in createContentVerifierProvider()
136 return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build(); in createDigestCalculatorProvider()
142 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certHolder); in createContentVerifierProvider()
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetEngineWrapper.java107 String providerName = cronetProviders.get(i).getName(); in CronetEngineWrapper() local
110 if (providerComparator.isNativeProvider(providerName)) { in CronetEngineWrapper()
112 } else if (providerComparator.isGMSCoreProvider(providerName)) { in CronetEngineWrapper()
117 Log.d(TAG, "CronetEngine built using " + providerName); in CronetEngineWrapper()
201 public boolean isNativeProvider(String providerName) { in isNativeProvider() argument
202 return CronetProvider.PROVIDER_NAME_APP_PACKAGED.equals(providerName); in isNativeProvider()
205 public boolean isGMSCoreProvider(String providerName) { in isGMSCoreProvider() argument
206 return gmsCoreCronetName != null && gmsCoreCronetName.equals(providerName); in isGMSCoreProvider()
213 private int evaluateCronetProviderType(String providerName) { in evaluateCronetProviderType() argument
214 if (isNativeProvider(providerName)) { in evaluateCronetProviderType()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java719 final String providerName = cf.getProvider().getName() + "[" + encoding + "]"; in testCertPathEncoding() local
727 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
730 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
734 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
737 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
748 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
751 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
755 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
758 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
761 assertNotEquals(providerName, Arrays.toString(encoded), Arrays.toString(encodedCopy)); in testCertPathEncoding()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java725 final String providerName = cf.getProvider().getName() + "[" + encoding + "]"; in testCertPathEncoding() local
733 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
736 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
740 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
743 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
754 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
757 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
761 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
764 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
767 assertNotEquals(providerName, Arrays.toString(encoded), Arrays.toString(encodedCopy)); in testCertPathEncoding()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaDigestCalculatorProviderBuilder.java32 public JcaDigestCalculatorProviderBuilder setProvider(String providerName) in setProvider() argument
34 this.helper = new OperatorHelper(new NamedJcaJceHelper(providerName)); in setProvider()
DJcaContentSignerBuilder.java90 public JcaContentSignerBuilder setProvider(String providerName) in setProvider() argument
92 this.helper = new OperatorHelper(new NamedJcaJceHelper(providerName)); in setProvider()
DJcaContentVerifierProviderBuilder.java48 public JcaContentVerifierProviderBuilder setProvider(String providerName) in setProvider() argument
50 this.helper = new OperatorHelper(new NamedJcaJceHelper(providerName)); in setProvider()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLProvider.java52 public OpenSSLProvider(String providerName) { in OpenSSLProvider() argument
53 this(providerName, Platform.provideTrustManagerByDefault(), "TLSv1.3"); in OpenSSLProvider()
56 OpenSSLProvider(String providerName, boolean includeTrustManager, String defaultTlsProtocol) { in OpenSSLProvider() argument
57 super(providerName, 1.0, "Android's OpenSSL-backed security provider"); in OpenSSLProvider()
DConscrypt.java154 public static Provider newProvider(String providerName) { in newProvider() argument
156 return newProviderBuilder().setName(providerName).build(); in newProvider()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLProvider.java62 public OpenSSLProvider(String providerName) { in OpenSSLProvider() argument
63 this(providerName, Platform.provideTrustManagerByDefault(), "TLSv1.3"); in OpenSSLProvider()
66 OpenSSLProvider(String providerName, boolean includeTrustManager, String defaultTlsProtocol) { in OpenSSLProvider() argument
67 super(providerName, 1.0, "Android's OpenSSL-backed security provider"); in OpenSSLProvider()
DConscrypt.java160 public static Provider newProvider(String providerName) { in newProvider() argument
162 return newProviderBuilder().setName(providerName).build(); in newProvider()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DFactoryDescriptor.java111 String providerName = in create() local
118 providersBuilder.put(key, ProviderField.create(providerName, key, nullable)); in create()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java1149 String providerName = c.getProvider().getName(); in test_Cipher() local
1150 if (!isSupported(algorithm, providerName)) { in test_Cipher()
1153 String cipherID = algorithm + ":" + providerName; in test_Cipher()
1168 if (isPBE(algorithm) && !"BC".equals(providerName)) { in test_Cipher()
1178 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1187 getExpectedBlockSize(algorithm, encryptMode, providerName), c.getBlockSize()); in test_Cipher()
1189 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1192 assertEquals(getExpectedOutputSize(algorithm, encryptMode, providerName), in test_Cipher()
1216 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1223 assertCorrectAlgorithmParameters(providerName, cipherID, encryptSpec, encParams); in test_Cipher()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1145 String providerName = c.getProvider().getName(); in test_Cipher() local
1146 if (!isSupported(algorithm, providerName)) { in test_Cipher()
1149 String cipherID = algorithm + ":" + providerName; in test_Cipher()
1164 if (isPBE(algorithm) && !"BC".equals(providerName)) { in test_Cipher()
1174 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1183 getExpectedBlockSize(algorithm, encryptMode, providerName), c.getBlockSize()); in test_Cipher()
1185 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1188 assertEquals(getExpectedOutputSize(algorithm, encryptMode, providerName), in test_Cipher()
1212 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1219 assertCorrectAlgorithmParameters(providerName, cipherID, encryptSpec, encParams); in test_Cipher()
[all …]
/external/guice/extensions/persist/lib/
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...