/libcore/support/src/test/java/tests/security/ |
AlgorithmParametersTest.java | 18 import java.security.AlgorithmParameters; 27 private final TestHelper<AlgorithmParameters> helper; 31 TestHelper<AlgorithmParameters> helper, AlgorithmParameterSpec parameterData) { 38 AlgorithmParameters algorithmParameters = AlgorithmParameters.getInstance(algorithmName); 39 algorithmParameters.init(parameterData); 40 helper.test(algorithmParameters);
|
AlgorithmParameterGeneratorTest.java | 19 import java.security.AlgorithmParameters; 26 private final TestHelper<AlgorithmParameters> helper; 28 protected AlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParameters> helper) { 37 AlgorithmParameters parameters = generator.generateParameters();
|
AlgorithmParameterKeyAgreementHelper.java | 19 import java.security.AlgorithmParameters; 27 public class AlgorithmParameterKeyAgreementHelper extends TestHelper<AlgorithmParameters> { 36 public void test(AlgorithmParameters parameters) throws Exception {
|
AlgorithmParameterAsymmetricHelper.java | 19 import java.security.AlgorithmParameters; 32 public class AlgorithmParameterAsymmetricHelper extends TestHelper<AlgorithmParameters> { 42 public void test(AlgorithmParameters parameters) throws Exception {
|
AlgorithmParameterSignatureHelper.java | 19 import java.security.AlgorithmParameters; 32 extends TestHelper<AlgorithmParameters> { 44 public void test(AlgorithmParameters parameters) throws Exception {
|
AlgorithmParameterSymmetricHelper.java | 19 import java.security.AlgorithmParameters; 32 public class AlgorithmParameterSymmetricHelper extends TestHelper<AlgorithmParameters> { 50 public void test(AlgorithmParameters parameters) throws Exception {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 27 import java.security.AlgorithmParameters; 43 * Tests for <code>AlgorithmParameters</code> class constructors and 72 * java.security.AlgorithmParameters#getAlgorithm() 77 AlgorithmParameters ap = new DummyAlgorithmParameters(null, p, null); 86 * java.security.AlgorithmParameters#getEncoded() 98 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, 119 * java.security.AlgorithmParameters#getEncoded(String) 134 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, 170 * java.security.AlgorithmParameters#getInstance(String) 175 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
AlgorithmParametersUtils.java | 4 import java.security.AlgorithmParameters; 22 * Extract an ASN.1 encodable from an AlgorithmParameters object. 28 public static ASN1Encodable extractParameters(AlgorithmParameters params) 46 * Load an AlgorithmParameters object with the passed in ASN.1 encodable - if possible. 48 * @param params the AlgorithmParameters object to be initialised. 52 public static void loadParameters(AlgorithmParameters params, ASN1Encodable sParams)
|
JcaJceUtils.java | 4 import java.security.AlgorithmParameters; 30 * Extract an ASN.1 encodable from an AlgorithmParameters object. 35 * @deprecated use AlgorithmParametersUtils.extractParameters(AlgorithmParameters params) 37 public static ASN1Encodable extractParameters(AlgorithmParameters params) 55 * Load an AlgorithmParameters object with the passed in ASN.1 encodable - if possible. 57 * @param params the AlgorithmParameters object to be initialised. 60 * @deprecated use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams) 62 public static void loadParameters(AlgorithmParameters params, ASN1Encodable sParams)
|
DefaultJcaJceHelper.java | 4 import java.security.AlgorithmParameters; 53 public AlgorithmParameters createAlgorithmParameters(String algorithm) 56 return AlgorithmParameters.getInstance(algorithm);
|
NamedJcaJceHelper.java | 4 import java.security.AlgorithmParameters; 60 public AlgorithmParameters createAlgorithmParameters(String algorithm) 63 return AlgorithmParameters.getInstance(algorithm, providerName);
|
ProviderJcaJceHelper.java | 4 import java.security.AlgorithmParameters; 60 public AlgorithmParameters createAlgorithmParameters(String algorithm) 63 return AlgorithmParameters.getInstance(algorithm, provider);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseAlgorithmParameterGeneratorSpi.java | 4 import java.security.AlgorithmParameters; 20 protected final AlgorithmParameters createParametersInstance(String algorithm)
|
/libcore/luni/src/test/java/libcore/java/security/spec/ |
AlgorithmParametersPSSTest.java | 20 import java.security.AlgorithmParameters; 37 // Bouncy Castle 1.52 AlgorithmParameters of type "PSS" and checked for correctness using ASN.1 69 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); 74 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); 79 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); 85 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS") [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
OldDHTest.java | 19 import java.security.AlgorithmParameters; 40 AlgorithmParameters algorithmparameters = algorithmparametergenerator.generateParameters(); local 41 DHParameterSpec dhparameterspec = algorithmparameters.getParameterSpec(DHParameterSpec.class);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseAlgorithmParameterGenerator.java | 4 import java.security.AlgorithmParameters; 24 protected final AlgorithmParameters createParametersInstance(String algorithm)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
AlgorithmParameterGeneratorSpi.java | 3 import java.security.AlgorithmParameters; 47 protected AlgorithmParameters engineGenerateParameters() 62 AlgorithmParameters params;
|
/libcore/ojluni/src/main/java/java/security/ |
AlgorithmParameters.java | 35 * <p>An {@code AlgorithmParameters} object for managing the parameters 40 * <p>Once an {@code AlgorithmParameters} object is obtained, it must be 45 * {@code AlgorithmParameters} object via a call to 49 * <p> Android provides the following <code>AlgorithmParameters</code> algorithms: 150 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#AlgorithmParameters"> 151 * AlgorithmParameters section</a> of the 164 public class AlgorithmParameters { 179 * Creates an AlgorithmParameters object. 185 protected AlgorithmParameters(AlgorithmParametersSpi paramSpi, 207 * A new AlgorithmParameters object encapsulating th [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
RSA.java | 29 provider.addAlgorithm("AlgorithmParameters.OAEP", PREFIX + "AlgorithmParametersSpi$OAEP"); 30 provider.addAlgorithm("AlgorithmParameters.PSS", PREFIX + "AlgorithmParametersSpi$PSS"); 33 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.RSAPSS", "PSS"); 34 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.RSASSA-PSS", "PSS"); 36 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA224withRSA/PSS", "PSS"); 37 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA256withRSA/PSS", "PSS"); 38 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA384withRSA/PSS", "PSS"); 39 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA512withRSA/PSS", "PSS"); 41 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA224WITHRSAANDMGF1", "PSS"); 42 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.SHA256WITHRSAANDMGF1", "PSS") [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MockCipherSpi.java | 19 import java.security.AlgorithmParameters; 81 public void checkAlgorithmParameters(AlgorithmParameters ap) 91 public void checkAlgorithmParameters(AlgorithmParameters ap) 116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 180 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 195 public void checkAlgorithmParameters(AlgorithmParameters ap) 230 protected AlgorithmParameters engineGetParameters() { 247 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
AlgorithmParameterGeneratorSpi.java | 3 import java.security.AlgorithmParameters; 54 protected AlgorithmParameters engineGenerateParameters() 89 AlgorithmParameters params;
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 24 import java.security.AlgorithmParameters; 148 + ". Use IvParameterSpec or AlgorithmParameters to provide it."); 181 protected final void initAlgorithmSpecificParameters(AlgorithmParameters params) 195 + ". Use IvParameterSpec or AlgorithmParameters to provide it."); 202 "Unsupported AlgorithmParameters algorithm: " + params.getAlgorithm() 220 throw new InvalidAlgorithmParameterException("Null IV in AlgorithmParameters"); 299 protected final AlgorithmParameters engineGetParameters() { 305 AlgorithmParameters params = AlgorithmParameters.getInstance("AES"); 310 "Failed to obtain AES AlgorithmParameters", e) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
AES.java | 8 // import java.security.AlgorithmParameters; 521 // protected AlgorithmParameters engineGenerateParameters() 532 // AlgorithmParameters params; 560 // protected AlgorithmParameters engineGenerateParameters() 571 // AlgorithmParameters params; 599 // protected AlgorithmParameters engineGenerateParameters() 610 // AlgorithmParameters params; 828 provider.addAlgorithm("AlgorithmParameters.AES", PREFIX + "$AlgParams"); 829 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + wrongAES128, "AES"); 830 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + wrongAES192, "AES") [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCBCCipherTestBase.java | 19 import java.security.AlgorithmParameters; 53 protected byte[] getIv(AlgorithmParameters params) throws InvalidParameterSpecException {
|
AESCTRCipherTestBase.java | 19 import java.security.AlgorithmParameters; 53 protected byte[] getIv(AlgorithmParameters params) throws InvalidParameterSpecException {
|