Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory4Test.java79 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificateLjava_io_InputStream() local
83 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
88 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
94 fact.generateCertificate(is); in test_generateCertificateLjava_io_InputStream()
108 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificatesLjava_io_InputStream() local
113 Collection<? extends Certificate> certs = fact.generateCertificates(is); in test_generateCertificatesLjava_io_InputStream()
130 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLLjava_io_InputStream() local
135 CRL crl = fact.generateCRL(is); in test_generateCRLLjava_io_InputStream()
151 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLsLjava_io_InputStream() local
156 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/luni/src/main/java/libcore/net/
Dandroid.mime.types29 # Note: We rely here on the fact that we're declaring this mapping before the
/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