HomeSort by relevance Sort by last modified time
    Searched defs:validValues (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 43 public static String[] validValues = { "bks", "BKS", "bKS", "Bks", "bKs",
  /libcore/luni/src/test/java/tests/security/cert/
CRLTest.java 38 public static final String[] validValues = { "X.509", "x.509" };
50 for (int i = 0; i< validValues.length; i++) {
51 CRL crl = new MyCRL(validValues[i]);
52 assertEquals(validValues[i], crl.getType());
CertPathBuilder2Test.java 49 private static final String[] validValues;
52 validValues = new String[4];
53 validValues[0] = defaultAlg;
54 validValues[1] = defaultAlg.toLowerCase();
55 validValues[2] = "CeRtPb";
56 validValues[3] = "cERTpb";
129 for (int i = 0; i < validValues.length; i++) {
130 cerPB = CertPathBuilder.getInstance(validValues[i]);
131 assertEquals("Incorrect type", cerPB.getAlgorithm(), validValues[i]);
165 for (int i = 0; i < validValues.length; i++)
    [all...]
CertPathValidator2Test.java 52 private static final String[] validValues;
55 validValues = new String[4];
56 validValues[0] = defaultAlg;
57 validValues[1] = defaultAlg.toLowerCase();
58 validValues[2] = "CeRtPb";
59 validValues[3] = "cERTpb";
125 for (int i = 0; i < validValues.length; i++) {
126 cerPV = CertPathValidator.getInstance(validValues[i]);
127 assertEquals("Incorrect type", cerPV.getAlgorithm(), validValues[i]);
159 for (int i = 0; i < validValues.length; i++)
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 43 public static String[] validValues = { "bks", "BKS", "bKS", "Bks", "bKs",
  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreement_ImplTest.java 57 private static final String[] validValues;
60 validValues = new String[4];
61 validValues[0] = defaultAlg;
62 validValues[1] = defaultAlg.toLowerCase();
63 validValues[2] = "myKeyagr";
64 validValues[3] = "mYkeYAGR";
145 for (int i = 0; i < validValues.length; i++) {
146 keyAgr = KeyAgreement.getInstance(validValues[i]);
148 validValues[i]);
183 for (int i = 0; i < validValues.length; i++)
    [all...]
KeyGenerator_ImplTest.java 55 private static final String[] validValues;
58 validValues = new String[4];
59 validValues[0] = defaultAlg;
60 validValues[1] = defaultAlg.toLowerCase();
61 validValues[2] = "myKeyGen";
62 validValues[3] = "mYkeYgeN";
149 for (int i = 0; i < validValues.length; i++) {
150 keyGen = KeyGenerator.getInstance(validValues[i]);
152 validValues[i]);
187 for (int i = 0; i < validValues.length; i++)
    [all...]
SecretKeyFactory_ImplTest.java 52 private static final String[] validValues;
55 validValues = new String[4];
56 validValues[0] = defaultAlg;
57 validValues[1] = defaultAlg.toLowerCase();
58 validValues[2] = "mySECRETkey";
59 validValues[3] = "MYSECretkey";
115 for (int i = 0; i < validValues.length; i++) {
116 skf = SecretKeyFactory.getInstance(validValues[i]);
118 validValues[i]);
153 for (int i = 0; i < validValues.length; i++)
    [all...]
ExemptionMechanism_ImplTest.java 56 private static final String[] validValues;
59 validValues = new String[4];
60 validValues[0] = defaultAlg;
61 validValues[1] = defaultAlg.toLowerCase();
62 validValues[2] = "eMEch";
63 validValues[3] = "emecH";
169 for (int i = 0; i < validValues.length; i++) {
170 exMech = ExemptionMechanism.getInstance(validValues[i]);
172 validValues[i]);
208 for (int i = 0; i < validValues.length; i++)
    [all...]
Mac_ImplTest.java 55 private static final String[] validValues;
58 validValues = new String[5];
59 validValues[0] = defaultAlg;
60 validValues[1] = defaultAlg.toUpperCase();
61 validValues[2] = defaultAlg.toLowerCase();
62 validValues[3] = "myMACprov";
63 validValues[4] = "MyMaCpRoV";
148 for (int i = 0; i < validValues.length; i++) {
149 keyAgr = Mac.getInstance(validValues[i]);
151 validValues[i])
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator2Test.java 48 private static final String[] validValues;
51 validValues = new String[4];
52 validValues[0] = defaultAlg;
53 validValues[1] = defaultAlg.toLowerCase();
54 validValues[2] = "apG";
55 validValues[3] = "ApG";
135 for (int i = 0; i < validValues.length; i++) {
136 apG = AlgorithmParameterGenerator.getInstance(validValues[i]);
138 validValues[i]);
173 for (int i = 0; i < validValues.length; i++)
    [all...]
KeyPairGenerator2Test.java 50 private static final String[] validValues;
55 validValues = new String[4];
56 validValues[0] = defaultAlg;
57 validValues[1] = defaultAlg.toLowerCase();
58 validValues[2] = "kpGEN";
59 validValues[3] = "kPGEn";
198 for (int i = 0; i < validValues.length; i++) {
199 String alg = validValues[i].concat(post);
237 for (int i = 0; i < validValues.length; i++) {
238 String alg = validValues[i].concat(post)
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathBuilder2Test.java 49 private static final String[] validValues;
52 validValues = new String[4];
53 validValues[0] = defaultAlg;
54 validValues[1] = defaultAlg.toLowerCase();
55 validValues[2] = "CeRtPb";
56 validValues[3] = "cERTpb";
137 for (int i = 0; i < validValues.length; i++) {
138 cerPB = CertPathBuilder.getInstance(validValues[i]);
139 assertEquals("Incorrect type", cerPB.getAlgorithm(), validValues[i]);
173 for (int i = 0; i < validValues.length; i++)
    [all...]
CertPathValidator2Test.java 50 private static final String[] validValues;
53 validValues = new String[4];
54 validValues[0] = defaultAlg;
55 validValues[1] = defaultAlg.toLowerCase();
56 validValues[2] = "CeRtPb";
57 validValues[3] = "cERTpb";
135 for (int i = 0; i < validValues.length; i++) {
136 cerPV = CertPathValidator.getInstance(validValues[i]);
137 assertEquals("Incorrect type", cerPV.getAlgorithm(), validValues[i]);
171 for (int i = 0; i < validValues.length; i++)
    [all...]
CertPathBuilder1Test.java 59 public static final String [] validValues = {
157 for (int i = 0; i < validValues.length; i++) {
158 CertPathBuilder cpb = CertPathBuilder.getInstance(validValues[i]);
159 assertEquals("Incorrect algorithm", cpb.getAlgorithm(), validValues[i]);
175 for (int i = 0; i < validValues.length; i++) {
177 CertPathBuilder.getInstance(validValues[i], provider);
182 CertPathBuilder.getInstance(validValues[i], "");
200 for (int i = 0; i < validValues.length; i++ ) {
203 CertPathBuilder.getInstance(validValues[i], invalidValues[j]);
247 for (int i = 0; i < validValues.length; i++)
    [all...]
CertPathValidator1Test.java 59 public static final String [] validValues = {
161 for (int i = 0; i < validValues.length; i++) {
162 certPV = CertPathValidator.getInstance(validValues[i]);
163 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), validValues[i]);
179 for (int i = 0; i < validValues.length; i++) {
181 CertPathValidator.getInstance(validValues[i], provider);
186 CertPathValidator.getInstance(validValues[i], "");
202 for (int t = 0; t < validValues.length; t++) {
205 CertPathValidator.getInstance(validValues[t],
251 for (int i = 0; i < validValues.length; i++)
    [all...]
CertStore1Test.java 61 public static final String [] validValues = {
113 dValid = (CollectionSupport ? validValuesC : validValues );
CertificateFactory2Test.java 56 private static final String[] validValues;
59 validValues = new String[4];
60 validValues[0] = defaultAlg;
61 validValues[1] = defaultAlg.toLowerCase();
62 validValues[2] = "CeRtFaC";
63 validValues[3] = "cerTFac";
207 for (int i = 0; i < validValues.length; i++) {
208 cerF = CertificateFactory.getInstance(validValues[i]);
209 assertEquals("Incorrect type", cerF.getType(), validValues[i]);
242 for (int i = 0; i < validValues.length; i++)
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
TrustManagerFactory2Test.java 47 private static final String[] validValues;
50 validValues = new String[4];
51 validValues[0] = defaultAlg;
52 validValues[1] = defaultAlg.toLowerCase();
53 validValues[2] = "Tmf";
54 validValues[3] = "tMF";
136 for (int i = 0; i < validValues.length; i++) {
137 tmf = TrustManagerFactory.getInstance(validValues[i]);
141 validValues[i]);
174 for (int i = 0; i < validValues.length; i++)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator2Test.java 51 private static final String[] validValues;
54 validValues = new String[4];
55 validValues[0] = defaultAlg;
56 validValues[1] = defaultAlg.toLowerCase();
57 validValues[2] = "apG";
58 validValues[3] = "ApG";
134 for (int i = 0; i < validValues.length; i++) {
135 apG = AlgorithmParameterGenerator.getInstance(validValues[i]);
137 validValues[i]);
172 for (int i = 0; i < validValues.length; i++)
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
KeyManagerFactory2Test.java 49 private static final String[] validValues;
52 validValues = new String[4];
53 validValues[0] = defaultAlg;
54 validValues[1] = defaultAlg.toLowerCase();
55 validValues[2] = "Keymf";
56 validValues[3] = "kEYMF";
143 for (int i = 0; i < validValues.length; i++) {
144 keyMF = KeyManagerFactory.getInstance(validValues[i]);
146 validValues[i]);
181 for (int i = 0; i < validValues.length; i++)
    [all...]
TrustManagerFactory2Test.java 46 private static final String[] validValues;
49 validValues = new String[4];
50 validValues[0] = defaultAlg;
51 validValues[1] = defaultAlg.toLowerCase();
52 validValues[2] = "Tmf";
53 validValues[3] = "tMF";
133 for (int i = 0; i < validValues.length; i++) {
134 tmf = TrustManagerFactory.getInstance(validValues[i]);
138 validValues[i]);
171 for (int i = 0; i < validValues.length; i++)
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 69 private static String[] validValues = { "DH", "dH",
143 for (int i = 0; i < validValues.length; i++) {
144 keyA = KeyAgreement.getInstance(validValues[i]);
146 validValues[i]);
191 for (int i = 0; i < validValues.length; i++) {
193 KeyAgreement.getInstance(validValues[i], provider);
198 KeyAgreement.getInstance(validValues[i], "");
204 KeyAgreement.getInstance(validValues[i], invalidValues[j]);
206 .concat(validValues[i]).concat(" provider: ")
226 for (int i = 0; i < validValues.length; i++)
    [all...]
KeyGeneratorTest.java 70 private static String[] validValues = new String[3];
81 validValues[0] = defaultAlgorithm;
82 validValues[1] = defaultAlgorithm.toUpperCase();
83 validValues[2] = defaultAlgorithm.toLowerCase();
178 for (int i = 0; i < validValues.length; i++) {
179 keyG = KeyGenerator.getInstance(validValues[i]);
180 assertEquals("Incorrect algorithm", keyG.getAlgorithm(), validValues[i]);
225 for (int i = 0; i < validValues.length; i++) {
227 KeyGenerator.getInstance(validValues[i], provider);
232 KeyGenerator.getInstance(validValues[i], "")
    [all...]
SecretKeyFactoryTest.java 64 public static final String[] validValues = new String[2];
75 validValues[0] = defaultAlgorithm.toUpperCase();
76 validValues[1] = defaultAlgorithm.toLowerCase();
84 validValues[0] = defaultAlgorithm.toUpperCase();
85 validValues[2] = defaultAlgorithm.toLowerCase();
174 for (int i = 0; i < validValues.length; i++) {
176 .getInstance(validValues[i]);
178 validValues[i]);
226 for (int i = 0; i < validValues.length; i++) {
228 SecretKeyFactory.getInstance(validValues[i], prov)
    [all...]

Completed in 1850 milliseconds

1 2 3