- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for pems (0.03 sec)
-
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) -
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(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
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) -
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) -
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) -
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----- MIIBWDCCAQKgAwIBAgIJANS1EtICX2AZMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
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) -
.github/workflows/build.yml
java-version: 11 - name: Configure JDK uses: actions/setup-java@v5 with: distribution: 'zulu' java-version: 17 - name: Enable KVM group perms # https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/ run: |Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 12 04:49:37 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
final Map map = new HashMap(); for (int ei = 0; ei < rpc.sam.count; ei++) { final samr.SamrSamEntry entry = rpc.sam.entries[ei]; final SID[] mems = SID.getGroupMemberSids0(handle, domainHandle, domsid, entry.idx, flags); final SID groupSid = new SID(domsid, entry.idx); groupSid.type = SID_TYPE_ALIAS;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0)