Home
last modified time | relevance | path

Searched refs:fact (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory4Test.java61 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificateLjava_io_InputStream() local
65 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
70 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
76 fact.generateCertificate(is); in test_generateCertificateLjava_io_InputStream()
90 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificatesLjava_io_InputStream() local
95 Collection<? extends Certificate> certs = fact.generateCertificates(is); in test_generateCertificatesLjava_io_InputStream()
112 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLLjava_io_InputStream() local
117 CRL crl = fact.generateCRL(is); in test_generateCRLLjava_io_InputStream()
133 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLsLjava_io_InputStream() local
138 Collection<? extends CRL> crls = fact.generateCRLs(is); in test_generateCRLsLjava_io_InputStream()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java111 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], providerName); in test_generatePrivateLjava_security_spec_KeySpec() local
122 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), in test_generatePrivateLjava_security_spec_KeySpec()
124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); in test_generatePrivateLjava_security_spec_KeySpec()
128 … privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec()
139 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], in test_generatePublicLjava_security_spec_KeySpec() local
151 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), in test_generatePublicLjava_security_spec_KeySpec()
153 PublicKey publicKey = fact.generatePublic(publicKeySpec); in test_generatePublicLjava_security_spec_KeySpec()
157 + fact.getProvider().getName() + ")", in test_generatePublicLjava_security_spec_KeySpec()
167 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], in test_getAlgorithm() local
170 fact.getAlgorithm().equals(keyfactAlgs[i])); in test_getAlgorithm()
[all …]
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java275 public FtpDirEntry addFact(String fact, String value) { in addFact() argument
276 facts.put(fact.toLowerCase(), value); in addFact()
287 public String getFact(String fact) { in getFact() argument
288 return facts.get(fact.toLowerCase()); in getFact()
/libcore/luni/src/test/java/tests/security/spec/
DEncodedKeySpec2Test.java45 KeyFactory fact = KeyFactory.getInstance("DSA"); in test_getEncoded() local
50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); in test_getEncoded()
57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in test_getEncoded()
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java319 String fact = s.substring(0, i); in parseLine() local
321 file.addFact(fact, value); in parseLine()
/libcore/expectations/
Dknownfailures.txt3 * TODO: Rename this file to account for the fact that it has both tags and known failures