Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for generateCertificates (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

     * ```
     */
    fun String.decodeCertificatePem(): X509Certificate {
      try {
        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
        return certificates.single() as X509Certificate
      } catch (nsee: NoSuchElementException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

                  "-----END CERTIFICATE-----";
    
          CertificateFactory cf = CertificateFactory.getInstance("X.509");
          Certificate isgCertificate = cf.generateCertificate(new ByteArrayInputStream(isgCert.getBytes("UTF-8")));
    
          HandshakeCertificates certificates = new HandshakeCertificates.Builder()
                  .addTrustedCertificate((X509Certificate) isgCertificate)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                }
                try (final InputStream in = new FileInputStream(authorities)) {
                    final Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in);
    
                    final KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
                    keyStore.load(null, null);
                    keyStore.setCertificateEntry("server", certificate);
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top