/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/ojluni/src/main/java/java/security/ |
AlgorithmConstraints.java | 70 String algorithm, AlgorithmParameters parameters); 106 String algorithm, Key key, AlgorithmParameters parameters);
|
AlgorithmParameterGeneratorSpi.java | 49 * @see AlgorithmParameters 83 * @return the new AlgorithmParameters object. 85 protected abstract AlgorithmParameters engineGenerateParameters();
|
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...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyAlgorithmParameterGeneratorSpi.java | 26 import java.security.AlgorithmParameters; 52 public AlgorithmParameters engineGenerateParameters() {
|
/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...] |
/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)
|
/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 {
|
AESECBCipherTestBase.java | 19 import java.security.AlgorithmParameters; 51 protected byte[] getIv(AlgorithmParameters params) throws InvalidParameterSpecException {
|
/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/ojluni/src/main/java/javax/crypto/ |
ExemptionMechanismSpi.java | 29 import java.security.AlgorithmParameters; 130 protected abstract void engineInit(Key key, AlgorithmParameters params)
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
AlgorithmParametersTestPBES2.java | 18 import java.security.AlgorithmParameters; 44 // AlgorithmParameters ap = AlgorithmParameters.getInstance( 169 AlgorithmParameters ap = AlgorithmParameters.getInstance( 181 AlgorithmParameters ap = AlgorithmParameters.getInstance( 184 AlgorithmParameters ap2 = AlgorithmParameters.getInstance( 206 AlgorithmParameters ap = AlgorithmParameters.getInstance(algorithmName, "BC") [all...] |
/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/provider/symmetric/util/ |
BaseAlgorithmParameterGenerator.java | 4 import java.security.AlgorithmParameters; 24 protected final AlgorithmParameters createParametersInstance(String algorithm)
|
/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);
|
/libcore/luni/src/test/java/tests/java/security/ |
AlgorithmParameterGeneratorSpiTest.java | 25 import java.security.AlgorithmParameters; 48 AlgorithmParameters param = algParGen.engineGenerateParameters();
|
/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/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...] |