Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Algorithm (0.25 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val extensions: List<Extension>,
    ) {
      /**
       * Returns the standard name of this certificate's signature algorithm as specified by
       * [Signature.getInstance]. Typical values are like "SHA256WithRSA".
       */
      val signatureAlgorithmName: String
        get() {
          return when (signature.algorithm) {
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            else -> null
          }
        }
    
      /**
       * ```
       * AlgorithmIdentifier ::= SEQUENCE  {
       *   algorithm      OBJECT IDENTIFIER,
       *   parameters     ANY DEFINED BY algorithm OPTIONAL
       * }
       * ```
       */
      internal val algorithmIdentifier: BasicDerAdapter<AlgorithmIdentifier> =
        Adapters.sequence(
          "AlgorithmIdentifier",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          return true
        }
    
        var pos = pos + 4 // 'xn--'.size.
    
        // We'd prefer to operate directly on `result` but it doesn't offer insertCodePoint(), only
        // appendCodePoint(). The Punycode algorithm processes code points in increasing code-point
        // order, not in increasing index order.
        val codePoints = mutableListOf<Int>()
    
        // consume all code points before the last delimiter (if there is one)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.NULL.fromDer(bytes)).isNull()
        assertThat(Adapters.NULL.toDer(null)).isEqualTo(bytes)
      }
    
      @Test fun `sequence algorithm`() {
        val bytes = "300d06092a864886f70d01010b0500".decodeHex()
        val algorithmIdentifier =
          AlgorithmIdentifier(
            algorithm = SHA256_WITH_RSA_ENCRYPTION,
            parameters = null,
          )
        assertThat(CertificateAdapters.algorithmIdentifier.fromDer(bytes))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return when (signedByKeyPair.private) {
            is RSAPrivateKey ->
              AlgorithmIdentifier(
                algorithm = SHA256_WITH_RSA_ENCRYPTION,
                parameters = null,
              )
            else ->
              AlgorithmIdentifier(
                algorithm = SHA256_WITH_ECDSA,
                parameters = ByteString.EMPTY,
              )
          }
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  6. docs/works_with_okhttp.md

     * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs.
     * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests
     * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        )
      }
    
      /** Converts public key bytes to SubjectPublicKeyInfo bytes. */
      private fun encodeKey(
        algorithm: String,
        publicKeyBytes: ByteString,
      ): ByteString {
        val subjectPublicKeyInfo =
          SubjectPublicKeyInfo(
            algorithm = AlgorithmIdentifier(algorithm = algorithm, parameters = null),
            subjectPublicKey = BitString(publicKeyBytes, 0),
          )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  8. docs/features/connections.md

    URLs are abstract:
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
Back to top