Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for identifier (0.17 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo("20990101000000Z")
      }
    
      @Test fun `decode object identifier`() {
        val bytes = "06092a864886f70d01010b".decodeHex()
        assertThat(Adapters.OBJECT_IDENTIFIER.fromDer(bytes)).isEqualTo(SHA256_WITH_RSA_ENCRYPTION)
        assertThat(Adapters.OBJECT_IDENTIFIER.toDer(SHA256_WITH_RSA_ENCRYPTION)).isEqualTo(bytes)
      }
    
      @Test fun `null value`() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            ObjectIdentifiers.RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.EC_PUBLIC_KEY -> Adapters.OBJECT_IDENTIFIER
            else -> null
          }
        }
    
      /**
       * ```
       * AlgorithmIdentifier ::= SEQUENCE  {
       *   algorithm      OBJECT IDENTIFIER,
       *   parameters     ANY DEFINED BY algorithm OPTIONAL
       * }
       * ```
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              override fun encode(
                writer: DerWriter,
                value: Unit?,
              ) {
              }
            },
        )
    
      val OBJECT_IDENTIFIER =
        BasicDerAdapter(
          name = "OBJECT IDENTIFIER",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 6L,
          codec =
            object : BasicDerAdapter.Codec<String> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

    import okio.ByteString.Companion.toByteString
    
    /**
     * A certificate and its private key. These are some properties of certificates that are used with
     * TLS:
     *
     *  * **A common name.** This is a string identifier for the certificate. It usually describes the
     *    purpose of the certificate like "Entrust Root Certification Authority - G2" or
     *    "www.squareup.com".
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        // +---------------+---------------+---------------+
        // |   Type (8)    |   Flags (8)   |
        // +-+-+-----------+---------------+-------------------------------+
        // |R|                 Stream Identifier (31)                      |
        // +=+=============================================================+
        // |                   Frame Payload (0...)                      ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
         *     name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
         * @param value the integer identifier for this cipher suite. (Documentation only.)
         */
        private fun init(
          javaName: String,
          value: Int,
        ): CipherSuite {
          val suite = CipherSuite(javaName)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

                labelIndex,
              )
            if (rule != null) {
              exception = rule
              break
            }
          }
        }
    
        if (exception != null) {
          // Signal we've identified an exception rule.
          exception = "!$exception"
          return exception.split('.')
        } else if (exactMatch == null && wildcardMatch == null) {
          return PREVAILING_RULE
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top