/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | AES.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 47 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 50 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters; 51 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 52 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 56 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 57 import org.bouncycastle.jcajce.provider.symmetric.util.BlockCipherProvider; 58 import org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters; 59 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 850 public void configure(ConfigurableProvider provider) in configure() argument [all …]
|
D | DESede.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 33 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 36 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 37 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 38 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 39 import org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory; 40 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 41 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 384 public void configure(ConfigurableProvider provider) in configure() argument 386 provider.addAlgorithm("Cipher.DESEDE", PREFIX + "$ECB"); in configure() [all …]
|
D | RC2.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 25 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 29 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 34 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 35 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 469 public void configure(ConfigurableProvider provider) in configure() argument 499 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHMD5ANDRC2-CBC", "PBEWITHMD5ANDRC2"); in configure() 501 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHSHA1ANDRC2-CBC", "PBEWITHSHA1ANDRC2"); in configure() 506 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, "P… in configure() 508 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, "… in configure() [all …]
|
D | ARC4.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 6 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 8 import org.bouncycastle.jcajce.provider.symmetric.util.BaseStreamCipher; 9 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 10 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 96 public void configure(ConfigurableProvider provider) in configure() argument 98 provider.addAlgorithm("Cipher.ARC4", PREFIX + "$Base"); in configure() 99 provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.rc4, "ARC4"); in configure() 100 provider.addAlgorithm("Alg.Alias.Cipher.ARCFOUR", "ARC4"); in configure() [all …]
|
D | DES.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 40 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 41 import org.bouncycastle.jcajce.provider.symmetric.util.BCPBEKey; 42 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator; 43 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 44 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 45 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 46 import org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory; 47 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 48 import org.bouncycastle.jcajce.provider.symmetric.util.PBE; [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
D | AES.java | 2 package com.android.org.bouncycastle.jcajce.provider.symmetric; 48 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 51 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters; 52 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 53 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 57 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 58 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BlockCipherProvider; 59 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters; 60 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 908 public void configure(ConfigurableProvider provider) in configure() argument [all …]
|
D | DESede.java | 2 package com.android.org.bouncycastle.jcajce.provider.symmetric; 34 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 37 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 38 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 39 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 40 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory; 41 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 42 import com.android.org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 414 public void configure(ConfigurableProvider provider) in configure() argument 416 provider.addAlgorithm("Cipher.DESEDE", PREFIX + "$ECB"); in configure() [all …]
|
D | RC2.java | 2 package com.android.org.bouncycastle.jcajce.provider.symmetric; 26 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 30 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 35 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 36 import com.android.org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 484 public void configure(ConfigurableProvider provider) in configure() argument 514 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHMD5ANDRC2-CBC", "PBEWITHMD5ANDRC2"); in configure() 516 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHSHA1ANDRC2-CBC", "PBEWITHSHA1ANDRC2"); in configure() 521 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, "P… in configure() 523 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, "… in configure() [all …]
|
D | ARC4.java | 2 package com.android.org.bouncycastle.jcajce.provider.symmetric; 7 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 8 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 9 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseStreamCipher; 10 import com.android.org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 11 import com.android.org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 113 public void configure(ConfigurableProvider provider) in configure() argument 115 provider.addAlgorithm("Cipher.ARC4", PREFIX + "$Base"); in configure() 116 provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.rc4, "ARC4"); in configure() 117 provider.addAlgorithm("Alg.Alias.Cipher.ARCFOUR", "ARC4"); in configure() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
D | RSA.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 13 import org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi; 14 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 15 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 16 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 37 public void configure(ConfigurableProvider provider) in configure() argument 39 … provider.addAlgorithm("AlgorithmParameters.OAEP", PREFIX + "AlgorithmParametersSpi$OAEP"); in configure() 40 provider.addAlgorithm("AlgorithmParameters.PSS", PREFIX + "AlgorithmParametersSpi$PSS"); in configure() 68 provider.addAttributes("Cipher.RSA", generalRsaAttributes); in configure() 69 provider.addAlgorithm("Cipher.RSA", PREFIX + "CipherSpi$NoPadding"); in configure() [all …]
|
D | DSA.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 4 import org.bouncycastle.jcajce.provider.asymmetric.dsa.DSAUtil; 5 import org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyFactorySpi; 6 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 8 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 21 public void configure(ConfigurableProvider provider) in configure() argument 23 provider.addAlgorithm("AlgorithmParameters.DSA", PREFIX + "AlgorithmParametersSpi"); in configure() 25 …provider.addAlgorithm("AlgorithmParameterGenerator.DSA", PREFIX + "AlgorithmParameterGeneratorSpi"… in configure() 27 provider.addAlgorithm("KeyPairGenerator.DSA", PREFIX + "KeyPairGeneratorSpi"); in configure() [all …]
|
D | EC.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 14 import org.bouncycastle.jcajce.provider.asymmetric.ec.KeyFactorySpi; 15 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 16 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 40 public void configure(ConfigurableProvider provider) in configure() argument 42 provider.addAlgorithm("AlgorithmParameters.EC", PREFIX + "AlgorithmParametersSpi"); in configure() 44 provider.addAttributes("KeyAgreement.ECDH", generalEcAttributes); in configure() 45 provider.addAlgorithm("KeyAgreement.ECDH", PREFIX + "KeyAgreementSpi$DH"); in configure() 120 registerOid(provider, X9ObjectIdentifiers.id_ecPublicKey, "EC", new KeyFactorySpi.EC()); in configure() 180 …registerOid(provider, X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, "EC", new KeyFactoryS… in configure() [all …]
|
D | DH.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 8 import org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi; 9 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 10 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 31 public void configure(ConfigurableProvider provider) in configure() argument 33 provider.addAlgorithm("KeyPairGenerator.DH", PREFIX + "KeyPairGeneratorSpi"); in configure() 34 provider.addAlgorithm("Alg.Alias.KeyPairGenerator.DIFFIEHELLMAN", "DH"); in configure() 36 provider.addAttributes("KeyAgreement.DH", generalDhAttributes); in configure() 37 provider.addAlgorithm("KeyAgreement.DH", PREFIX + "KeyAgreementSpi"); in configure() 38 provider.addAlgorithm("Alg.Alias.KeyAgreement.DIFFIEHELLMAN", "DH"); in configure() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ |
D | RSA.java | 2 package com.android.org.bouncycastle.jcajce.provider.asymmetric; 14 import com.android.org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi; 15 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 16 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 17 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 44 public void configure(ConfigurableProvider provider) in configure() argument 46 … provider.addAlgorithm("AlgorithmParameters.OAEP", PREFIX + "AlgorithmParametersSpi$OAEP"); in configure() 47 provider.addAlgorithm("AlgorithmParameters.PSS", PREFIX + "AlgorithmParametersSpi$PSS"); in configure() 75 provider.addAttributes("Cipher.RSA", generalRsaAttributes); in configure() 76 provider.addAlgorithm("Cipher.RSA", PREFIX + "CipherSpi$NoPadding"); in configure() [all …]
|
D | DSA.java | 2 package com.android.org.bouncycastle.jcajce.provider.asymmetric; 5 import com.android.org.bouncycastle.jcajce.provider.asymmetric.dsa.DSAUtil; 6 import com.android.org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyFactorySpi; 7 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 8 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 9 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 28 public void configure(ConfigurableProvider provider) in configure() argument 30 provider.addAlgorithm("AlgorithmParameters.DSA", PREFIX + "AlgorithmParametersSpi"); in configure() 32 …provider.addAlgorithm("AlgorithmParameterGenerator.DSA", PREFIX + "AlgorithmParameterGeneratorSpi"… in configure() 34 provider.addAlgorithm("KeyPairGenerator.DSA", PREFIX + "KeyPairGeneratorSpi"); in configure() [all …]
|
D | EC.java | 2 package com.android.org.bouncycastle.jcajce.provider.asymmetric; 15 import com.android.org.bouncycastle.jcajce.provider.asymmetric.ec.KeyFactorySpi; 16 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 17 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 47 public void configure(ConfigurableProvider provider) in configure() argument 49 provider.addAlgorithm("AlgorithmParameters.EC", PREFIX + "AlgorithmParametersSpi"); in configure() 51 provider.addAttributes("KeyAgreement.ECDH", generalEcAttributes); in configure() 52 provider.addAlgorithm("KeyAgreement.ECDH", PREFIX + "KeyAgreementSpi$DH"); in configure() 127 registerOid(provider, X9ObjectIdentifiers.id_ecPublicKey, "EC", new KeyFactorySpi.EC()); in configure() 187 …registerOid(provider, X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, "EC", new KeyFactoryS… in configure() [all …]
|
D | DH.java | 2 package com.android.org.bouncycastle.jcajce.provider.asymmetric; 9 import com.android.org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi; 10 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 11 import com.android.org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 38 public void configure(ConfigurableProvider provider) in configure() argument 40 provider.addAlgorithm("KeyPairGenerator.DH", PREFIX + "KeyPairGeneratorSpi"); in configure() 41 provider.addAlgorithm("Alg.Alias.KeyPairGenerator.DIFFIEHELLMAN", "DH"); in configure() 43 provider.addAttributes("KeyAgreement.DH", generalDhAttributes); in configure() 44 provider.addAlgorithm("KeyAgreement.DH", PREFIX + "KeyAgreementSpi"); in configure() 45 provider.addAlgorithm("Alg.Alias.KeyAgreement.DIFFIEHELLMAN", "DH"); in configure() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricAlgorithmProvider.java | 1 package org.bouncycastle.jcajce.provider.util; 4 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 10 ConfigurableProvider provider, in addSignatureAlgorithm() argument 15 provider.addAlgorithm("Signature." + algorithm, className); in addSignatureAlgorithm() 16 provider.addAlgorithm("Alg.Alias.Signature." + oid, algorithm); in addSignatureAlgorithm() 17 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, algorithm); in addSignatureAlgorithm() 21 ConfigurableProvider provider, in addSignatureAlgorithm() argument 32 provider.addAlgorithm("Signature." + mainName, className); in addSignatureAlgorithm() 33 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation1, mainName); in addSignatureAlgorithm() 34 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation2, mainName); in addSignatureAlgorithm() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricAlgorithmProvider.java | 2 package com.android.org.bouncycastle.jcajce.provider.util; 5 import com.android.org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 14 ConfigurableProvider provider, in addSignatureAlgorithm() argument 19 provider.addAlgorithm("Signature." + algorithm, className); in addSignatureAlgorithm() 20 provider.addAlgorithm("Alg.Alias.Signature." + oid, algorithm); in addSignatureAlgorithm() 21 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, algorithm); in addSignatureAlgorithm() 25 ConfigurableProvider provider, in addSignatureAlgorithm() argument 36 provider.addAlgorithm("Signature." + mainName, className); in addSignatureAlgorithm() 37 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation1, mainName); in addSignatureAlgorithm() 38 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation2, mainName); in addSignatureAlgorithm() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_JavaParser.txt | 1 …Line 73) astParser.ReInit(provider) ==> com.github.javaparser.ASTParser.ReInit(com.github.javapars… 2 …Line 90) getParserForProvider(provider) ==> com.github.javaparser.JavaParser.getParserForProvider(… 13 Line 102) provider.close() ==> com.github.javaparser.Provider.close() 14 …Line 119) simplifiedParse(COMPILATION_UNIT, provider(in, encoding)) ==> com.github.javaparser.Java… 15 …Line 119) provider(in, encoding) ==> com.github.javaparser.Providers.provider(java.io.InputStream,… 17 …Line 146) simplifiedParse(COMPILATION_UNIT, provider(file, encoding)) ==> com.github.javaparser.Ja… 18 …Line 146) provider(file, encoding) ==> com.github.javaparser.Providers.provider(java.io.File, java… 19 …Line 160) simplifiedParse(COMPILATION_UNIT, provider(file)) ==> com.github.javaparser.JavaParser.s… 20 Line 160) provider(file) ==> com.github.javaparser.Providers.provider(java.io.File) 21 …Line 174) simplifiedParse(COMPILATION_UNIT, provider(path, encoding)) ==> com.github.javaparser.Ja… [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLocationManager.java | 53 final String provider; field in ShadowLocationManager.ListenerRegistration 57 …ListenerRegistration(String provider, long minTime, float minDistance, Location locationAtCreation, in ListenerRegistration() argument 59 this.provider = provider; in ListenerRegistration() 73 protected boolean isProviderEnabled(String provider) { in isProviderEnabled() argument 74 LocationProviderEntry map = providersEnabled.get(provider); in isProviderEnabled() 100 public void setProviderEnabled(String provider, boolean isEnabled) { in setProviderEnabled() argument 101 setProviderEnabled(provider, isEnabled, null); in setProviderEnabled() 104 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { in setProviderEnabled() argument 105 LocationProviderEntry providerEntry = providersEnabled.get(provider); in setProviderEnabled() 111 providersEnabled.put(provider, providerEntry); in setProviderEnabled() [all …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ExternalSession.java | 52 private final Provider provider; field in ExternalSession 54 public ExternalSession(Provider provider) { in ExternalSession() argument 55 this.provider = provider; in ExternalSession() 60 return provider.provideSession().getRequestedServerName(); in getRequestedServerName() 65 return provider.provideSession().getStatusResponses(); in getStatusResponses() 70 return provider.provideSession().getPeerSignedCertificateTimestamp(); in getPeerSignedCertificateTimestamp() 75 return provider.provideSession().getId(); in getId() 80 return provider.provideSession().getSessionContext(); in getSessionContext() 85 return provider.provideSession().getCreationTime(); in getCreationTime() 90 return provider.provideSession().getLastAccessedTime(); in getLastAccessedTime() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ExternalSession.java | 52 private final Provider provider; field in ExternalSession 54 public ExternalSession(Provider provider) { in ExternalSession() argument 55 this.provider = provider; in ExternalSession() 60 return provider.provideSession().getRequestedServerName(); in getRequestedServerName() 65 return provider.provideSession().getStatusResponses(); in getStatusResponses() 70 return provider.provideSession().getPeerSignedCertificateTimestamp(); in getPeerSignedCertificateTimestamp() 75 return provider.provideSession().getId(); in getId() 80 return provider.provideSession().getSessionContext(); in getSessionContext() 85 return provider.provideSession().getCreationTime(); in getCreationTime() 90 return provider.provideSession().getLastAccessedTime(); in getLastAccessedTime() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
D | SHA1.java | 1 package org.bouncycastle.jcajce.provider.digest; 9 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 10 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 11 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 12 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 94 public void configure(ConfigurableProvider provider) in configure() argument 96 provider.addAlgorithm("MessageDigest.SHA-1", PREFIX + "$Digest"); in configure() 97 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); in configure() 98 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA", "SHA-1"); in configure() 99 … provider.addAlgorithm("Alg.Alias.MessageDigest." + OIWObjectIdentifiers.idSHA1, "SHA-1"); in configure() [all …]
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 172 void testGetAlgorithm(Provider provider) throws Exception { in testGetAlgorithm() argument 173 assertEquals("ECDH", getKeyAgreement(provider).getAlgorithm()); in testGetAlgorithm() 181 void testGetProvider(Provider provider) throws Exception { in testGetProvider() argument 182 assertSame(provider, getKeyAgreement(provider).getProvider()); in testGetProvider() 190 void testInit_withNullPrivateKey(Provider provider) throws Exception { in testInit_withNullPrivateKey() argument 191 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withNullPrivateKey() 203 void testInit_withUnsupportedPrivateKeyType(Provider provider) throws Exception { in testInit_withUnsupportedPrivateKeyType() argument 204 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withUnsupportedPrivateKeyType() 216 void testInit_withUnsupportedAlgorithmParameterSpec(Provider provider) throws Exception { in testInit_withUnsupportedAlgorithmParameterSpec() argument 218 getKeyAgreement(provider).init(KAT_PRIVATE_KEY1, new ECGenParameterSpec("prime256v1")); in testInit_withUnsupportedAlgorithmParameterSpec() [all …]
|