HomeSort by relevance Sort by last modified time
    Searched full:certificatefactory (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /libcore/luni/src/test/java/tests/security/
CertificateFactoryTest.java 21 import java.security.cert.CertificateFactory;
40 CertificateFactory certificateFactory = CertificateFactory.getInstance(
43 Certificate certificate = certificateFactory.generateCertificate(
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory1Test.java 36 import java.security.cert.CertificateFactory;
51 * Tests for <code>CertificateFactory</code> class methods and constructor
66 public static final String srvCertificateFactory = "CertificateFactory";
90 private static CertificateFactory[] initCertFs() {
96 CertificateFactory[] certFs = new CertificateFactory[3];
97 certFs[0] = CertificateFactory.getInstance(defaultType);
98 certFs[1] = CertificateFactory.getInstance(defaultType,
100 certFs[2] = CertificateFactory.getInstance(defaultType,
115 * Assertion: returns CertificateFactory if type is X.50
    [all...]
CertificateFactory3Test.java 29 import java.security.cert.CertificateFactory;
43 * Tests for <code>CertificateFactory</code> class methods
69 private static CertificateFactory[] initCertFs() throws Exception {
74 CertificateFactory[] certFs = new CertificateFactory[3];
75 certFs[0] = CertificateFactory.getInstance(defaultType);
76 certFs[1] = CertificateFactory.getInstance(defaultType,
78 certFs[2] = CertificateFactory
88 CertificateFactory[] certFs = initCertFs();
89 assertNotNull("CertificateFactory objects were not created", certFs)
    [all...]
CertificateFactory2Test.java 34 import java.security.cert.CertificateFactory;
46 * Tests for CertificateFactory class constructors and methods
94 private void checkResult(CertificateFactory certFactory, boolean mode)
189 * returns CertificateFactory object
193 CertificateFactory.getInstance(null);
200 CertificateFactory.getInstance(invalidValues[i]);
206 CertificateFactory cerF;
208 cerF = CertificateFactory.getInstance(validValues[i]);
222 * returns CertificateFactory object
227 CertificateFactory.getInstance(null, mProv.getName())
    [all...]
X509Certificate2Test.java 22 import java.security.cert.CertificateFactory;
42 CertificateFactory certFact = CertificateFactory.getInstance("X509");
67 CertificateFactory certFact = CertificateFactory.getInstance("X509");
CertificateFactory4Test.java 30 import java.security.cert.CertificateFactory;
52 * @tests java.security.cert.CertificateFactory#generateCertificate(java.io.InputStream)
57 // java.security.cert.CertificateFactory.generateCertificate(java.io.InputStream)
58 CertificateFactory fact = CertificateFactory.getInstance("X.509");
83 * @tests java.security.cert.CertificateFactory#generateCertificates(java.io.InputStream)
87 CertificateFactory fact = CertificateFactory.getInstance("X.509");
106 * @tests java.security.cert.CertificateFactory#generateCRL(java.io.InputStream)
109 CertificateFactory fact = CertificateFactory.getInstance("X.509")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
X509.java 29 provider.addAlgorithm("CertificateFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory");
30 provider.addAlgorithm("Alg.Alias.CertificateFactory.X509", "X.509");
  /libcore/luni/src/test/java/tests/security/cert/
CertificateFactory3Test.java 36 import java.security.cert.CertificateFactory;
43 * Tests for <code>CertificateFactory</code> class methods
68 private static CertificateFactory[] initCertFs() throws Exception {
73 CertificateFactory[] certFs = new CertificateFactory[3];
74 certFs[0] = CertificateFactory.getInstance(defaultType);
75 certFs[1] = CertificateFactory.getInstance(defaultType,
77 certFs[2] = CertificateFactory
87 CertificateFactory[] certFs = initCertFs();
88 assertNotNull("CertificateFactory objects were not created", certFs)
    [all...]
CertificateFactory2Test.java 40 import java.security.cert.CertificateFactory;
46 * Tests for CertificateFactory class constructors and methods
84 private void checkResult(CertificateFactory certFactory, boolean mode)
179 * returns CertificateFactory object
183 CertificateFactory.getInstance(null);
190 CertificateFactory.getInstance(invalidValues[i]);
196 CertificateFactory cerF;
198 cerF = CertificateFactory.getInstance(validValues[i]);
212 * returns CertificateFactory object
218 CertificateFactory.getInstance(null, mProv.getName())
    [all...]
CertificateFactory1Test.java 43 import java.security.cert.CertificateFactory;
51 * Tests for <code>CertificateFactory</code> class methods and constructor
56 public static final String srvCertificateFactory = "CertificateFactory";
80 private static CertificateFactory[] initCertFs() {
86 CertificateFactory[] certFs = new CertificateFactory[3];
87 certFs[0] = CertificateFactory.getInstance(defaultType);
88 certFs[1] = CertificateFactory.getInstance(defaultType,
90 certFs[2] = CertificateFactory.getInstance(defaultType,
105 * Assertion: returns CertificateFactory if type is X.50
    [all...]
CertificateFactory4Test.java 37 import java.security.cert.CertificateFactory;
55 * java.security.cert.CertificateFactory#generateCertificate(java.io.InputStream)
60 // java.security.cert.CertificateFactory.generateCertificate(java.io.InputStream)
61 CertificateFactory fact = CertificateFactory.getInstance("X.509");
86 * java.security.cert.CertificateFactory#generateCertificates(java.io.InputStream)
90 CertificateFactory fact = CertificateFactory.getInstance("X.509");
109 * java.security.cert.CertificateFactory#generateCRL(java.io.InputStream)
112 CertificateFactory fact = CertificateFactory.getInstance("X.509")
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CertificateFactory.java 38 public class CertificateFactory {
40 // Store CertificateFactory service name
41 private static final String SERVICE = "CertificateFactory";
56 * Creates a new {@code CertificateFactory} instance.
65 protected CertificateFactory(CertificateFactorySpi certFacSpi,
73 * Creates a new {@code CertificateFactory} instance that provides the
78 * @return the new {@code CertificateFactory} instance.
84 public static final CertificateFactory getInstance(String type)
91 return new CertificateFactory((CertificateFactorySpi) sap.spi, sap.provider, type);
98 * Creates a new {@code CertificateFactory} instance from the specifie
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CRLTest.java 33 import java.security.cert.CertificateFactory;
75 private final X509Certificate getCertificate(CertificateFactory f, String name)
91 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception {
153 CertificateFactory f = CertificateFactory.getInstance("X.509", p);
181 private void verify(CertificateFactory f) throws Exception {
195 private void getType(CertificateFactory f) throws Exception {
201 private void isRevoked(CertificateFactory f) throws Exception {
225 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception {
255 private void getSigAlgName(CertificateFactory f) throws Exception
    [all...]
X509CertificateTest.java 44 import java.security.cert.CertificateFactory;
123 private final X509Certificate getCertificate(CertificateFactory f, String name)
137 private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String name)
245 CertificateFactory f = CertificateFactory.getInstance("X.509", p);
308 private void getPublicKey(CertificateFactory f) throws Exception {
318 private void getType(CertificateFactory f) throws Exception {
323 private void verify(CertificateFactory f) throws Exception {
351 private void check_equals(CertificateFactory f) throws Exception {
362 private void check_toString(CertificateFactory f) throws Exception
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DefaultJcaJceHelper.java 11 import java.security.cert.CertificateFactory;
90 public CertificateFactory createCertificateFactory(String algorithm)
93 return CertificateFactory.getInstance(algorithm);
NamedJcaJceHelper.java 12 import java.security.cert.CertificateFactory;
98 public CertificateFactory createCertificateFactory(String algorithm)
101 return CertificateFactory.getInstance(algorithm, providerName);
ProviderJcaJceHelper.java 12 import java.security.cert.CertificateFactory;
98 public CertificateFactory createCertificateFactory(String algorithm)
101 return CertificateFactory.getInstance(algorithm, provider);
JcaJceHelper.java 12 import java.security.cert.CertificateFactory;
57 CertificateFactory createCertificateFactory(String algorithm)
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/
CertificateTest.java 27 import java.security.cert.CertificateFactory;
48 CertificateFactory cf = CertificateFactory.getInstance(certType);
61 CertificateFactory cf = CertificateFactory.getInstance(certType);
CertPathTest.java 26 import java.security.cert.CertificateFactory;
55 CertificateFactory cf = CertificateFactory.getInstance(certType);
68 CertificateFactory cf = CertificateFactory.getInstance(certType);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Identity2Test.java 30 import java.security.cert.CertificateFactory;
217 CertificateFactory cf = CertificateFactory.getInstance("X.509");
234 CertificateFactory cf = CertificateFactory.getInstance("X.509");
248 CertificateFactory cf = CertificateFactory.getInstance("X.509");
265 CertificateFactory cf = CertificateFactory.getInstance("X.509");
281 CertificateFactory cf = CertificateFactory.getInstance("X.509")
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
DRLCertFactory.java 40 put("CertificateFactory.X509", "org.apache.harmony.security.provider.cert.X509CertFactoryImpl");
42 put("Alg.Alias.CertificateFactory.X.509", "X509");
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
X509TrustManagerTest.java 5 import java.security.cert.CertificateFactory;
15 CertificateFactory certFact = CertificateFactory.getInstance("X.509");
23 CertificateFactory certFact = CertificateFactory.getInstance("X.509");
  /libcore/luni/src/test/java/tests/targets/security/cert/
CertPathBuilderTestPKIX.java 25 import java.security.cert.CertificateFactory;
47 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509");
50 (X509Certificate) certificateFactory.generateCertificate(
CertPathValidatorTestPKIX.java 28 import java.security.cert.CertificateFactory;
59 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509");
62 (X509Certificate) certificateFactory.generateCertificate(

Completed in 636 milliseconds

1 2 3 4 5 6 7