Home
last modified time | relevance | path

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

12

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/
DNamedJcaJceHelper.java30 protected final String providerName; field in NamedJcaJceHelper
32 public NamedJcaJceHelper(String providerName) in NamedJcaJceHelper() argument
34 this.providerName = providerName; in NamedJcaJceHelper()
41 return Cipher.getInstance(algorithm, providerName); in createCipher()
47 return Mac.getInstance(algorithm, providerName); in createMac()
53 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement()
59 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator()
65 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters()
71 return KeyGenerator.getInstance(algorithm, providerName); in createKeyGenerator()
77 return KeyFactory.getInstance(algorithm, providerName); in createKeyFactory()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DNamedJcaJceHelper.java28 protected final String providerName; field in NamedJcaJceHelper
30 public NamedJcaJceHelper(String providerName) in NamedJcaJceHelper() argument
32 this.providerName = providerName; in NamedJcaJceHelper()
39 return Cipher.getInstance(algorithm, providerName); in createCipher()
45 return Mac.getInstance(algorithm, providerName); in createMac()
51 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement()
57 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator()
63 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters()
69 return KeyGenerator.getInstance(algorithm, providerName); in createKeyGenerator()
75 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/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java540 final String providerName = cf.getProvider().getName() + "[" + encoding + "]"; in testCertPathEncoding() local
548 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
551 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
555 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
558 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
569 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
572 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
576 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
579 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
582 assertFalse(providerName, Arrays.toString(encoded).equals(Arrays.toString(encodedCopy))); in testCertPathEncoding()
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java544 final String providerName = cf.getProvider().getName() + "[" + encoding + "]"; in testCertPathEncoding() local
552 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
555 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
559 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
562 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
573 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
576 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), in testCertPathEncoding()
580 assertNotNull(providerName, encodedCopy); in testCertPathEncoding()
583 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), in testCertPathEncoding()
586 assertFalse(providerName, Arrays.toString(encoded).equals(Arrays.toString(encodedCopy))); in testCertPathEncoding()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLProvider.java50 public OpenSSLProvider(String providerName) { in OpenSSLProvider() argument
51 this(providerName, Platform.provideTrustManagerByDefault()); in OpenSSLProvider()
54 OpenSSLProvider(String providerName, boolean includeTrustManager) { in OpenSSLProvider() argument
55 super(providerName, 1.0, "Android's OpenSSL-backed security provider"); in OpenSSLProvider()
DConscrypt.java135 public static Provider newProvider(String providerName) { in newProvider() argument
137 return new OpenSSLProvider(providerName, Platform.provideTrustManagerByDefault()); in newProvider()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLProvider.java55 public OpenSSLProvider(String providerName) { in OpenSSLProvider() argument
56 this(providerName, Platform.provideTrustManagerByDefault()); in OpenSSLProvider()
59 OpenSSLProvider(String providerName, boolean includeTrustManager) { in OpenSSLProvider() argument
60 super(providerName, 1.0, "Android's OpenSSL-backed security provider"); in OpenSSLProvider()
DConscrypt.java141 public static Provider newProvider(String providerName) { in newProvider() argument
143 return new OpenSSLProvider(providerName, Platform.provideTrustManagerByDefault()); in newProvider()
/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.java70 public JcaContentSignerBuilder setProvider(String providerName) in setProvider() argument
72 this.helper = new OperatorHelper(new NamedJcaJceHelper(providerName)); in setProvider()
DJcaContentVerifierProviderBuilder.java42 public JcaContentVerifierProviderBuilder setProvider(String providerName) in setProvider() argument
44 this.helper = new OperatorHelper(new NamedJcaJceHelper(providerName)); in setProvider()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.tests/META-INF/
DMANIFEST.MF6 Bundle-Vendor: %providerName
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/META-INF/
DMANIFEST.MF6 Bundle-Vendor: %providerName
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu/
Dplugin.properties12 providerName = IBM Corporation key
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.tests/
Dplugin.properties12 providerName = IBM Corporation key
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/
Dplugin.properties12 providerName = IBM Corporation key
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/
Dplugin.properties12 providerName = IBM Corporation key
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java1151 String providerName = c.getProvider().getName(); in test_Cipher() local
1152 if (!isSupported(algorithm, providerName)) { in test_Cipher()
1155 String cipherID = algorithm + ":" + providerName; in test_Cipher()
1170 if (isPBE(algorithm) && !"BC".equals(providerName)) { in test_Cipher()
1180 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1189 getExpectedBlockSize(algorithm, encryptMode, providerName), c.getBlockSize()); in test_Cipher()
1191 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1194 assertEquals(getExpectedOutputSize(algorithm, encryptMode, providerName), in test_Cipher()
1218 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1225 assertCorrectAlgorithmParameters(providerName, cipherID, encryptSpec, encParams); in test_Cipher()
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1147 String providerName = c.getProvider().getName(); in test_Cipher() local
1148 if (!isSupported(algorithm, providerName)) { in test_Cipher()
1151 String cipherID = algorithm + ":" + providerName; in test_Cipher()
1166 if (isPBE(algorithm) && !"BC".equals(providerName)) { in test_Cipher()
1176 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1185 getExpectedBlockSize(algorithm, encryptMode, providerName), c.getBlockSize()); in test_Cipher()
1187 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1190 assertEquals(getExpectedOutputSize(algorithm, encryptMode, providerName), in test_Cipher()
1214 if (!("BC".equals(providerName) && isOnlyWrappingAlgorithm(algorithm))) { in test_Cipher()
1221 assertCorrectAlgorithmParameters(providerName, cipherID, encryptSpec, encParams); in test_Cipher()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/META-INF/
DMANIFEST.MF6 Bundle-Vendor: %providerName
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu/META-INF/
DMANIFEST.MF6 Bundle-Vendor: %providerName
/external/dagger2/lib/
Dauto-factory-1.0-20150915.183854-35.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DSignatureTest.java158 private KeyPair keyPair(String sigAlgorithm, String providerName) throws Exception { in keyPair() argument

12