Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for pems (0.05 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo(
          "CN=cash.app,OU=cash",
        )
      }
    
      /** Confirm golden values of encoded PEMs.  */
      @Test
      fun pems() {
        val keyFactory = KeyFactory.getInstance("RSA")
        val publicKeyBytes =
          (
            "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCApFHhtrLan28q+oMolZuaTfWBA0V5aM" +
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      public static class AdjustablePolicy extends Policy {
        Permissions perms = new Permissions();
    
        AdjustablePolicy(Permission... permissions) {
          for (Permission permission : permissions) perms.add(permission);
        }
    
        void addPermission(Permission perm) {
          perms.add(perm);
        }
    
        void clearPermissions() {
          perms = new Permissions();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.toByteString
    
    /**
     * Decodes a multiline string that contains a [certificate][certificatePem] which is
     * [PEM-encoded][rfc_7468]. A typical input string looks like this:
     *
     * ```
     * -----BEGIN CERTIFICATE-----
     * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

    import okhttp3.tls.decodeCertificatePem
    
    class CustomTrust {
      // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view
      // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't
      // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
      // Typically developers will need to get a PEM file from their organization's TLS administrator.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

      )
      fun keyPair(): KeyPair = keyPair
    
      /**
       * Returns the certificate encoded in [PEM format][rfc_7468].
       *
       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
      fun certificatePem(): String = certificate.certificatePem()
    
      /**
       * Returns the private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468].
       *
       * [rfc_5208]: https://tools.ietf.org/html/rfc5208
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

    public final class CustomTrust {
      // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view
      // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't
      // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
      // Typically developers will need to get a PEM file from their organization's TLS administrator.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1
        //
        // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \
        //     -newkey rsa:512 -out cert.pem
        val certificate =
          certificate(
            """
            -----BEGIN CERTIFICATE-----
            MIIBWDCCAQKgAwIBAgIJANS1EtICX2AZMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/ca/stopwords.txt

    meves
    molt
    molta
    moltes
    molts
    mon
    mons
    n'he
    n'hi
    ne
    ni
    no
    nogensmenys
    només
    nosaltres
    nostra
    nostre
    nostres
    o
    oh
    oi
    on
    pas
    pel
    pels
    per
    però
    perquè
    poc 
    poca
    pocs
    poques
    potser
    propi
    qual
    quals
    quan
    quant 
    que
    què
    quelcom
    qui
    quin
    quina
    quines
    quins
    s'ha
    s'han
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

                        for (int ei = 0; ei < rpc.sam.count; ei++) {
                            final samr.SamrSamEntry entry = rpc.sam.entries[ei];
    
                            final SID[] mems = getGroupMemberSids(tc, authorityServerName, domSid, entry.idx, flags);
                            final SID groupSid = new SID(domSid, entry.idx);
                            groupSid.type = jcifs.SID.SID_TYPE_ALIAS;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. okhttp-tls/README.md

        .build();
    OkHttpClient client = new OkHttpClient.Builder()
        .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
        .build();
    ```
    
    PEM files
    ---------
    
    You can encode a `HeldCertificate` in PEM format:
    
    ```java
    HeldCertificate heldCertificate = ...
    System.out.println(heldCertificate.certificatePem())
    ```
    
    ```
    -----BEGIN CERTIFICATE-----
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top