Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tls_certificate (0.07 sec)

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

       *   extensions      [3]  EXPLICIT Extensions OPTIONAL -- If present, version MUST be v3
       * }
       * ```
       */
      internal val tbsCertificate: BasicDerAdapter<TbsCertificate> =
        Adapters.sequence(
          "TBSCertificate",
          Adapters.INTEGER_AS_LONG
            .withExplicitBox(tag = 0L)
            // v1 == 0.
            .optional(defaultValue = 0),
          Adapters.INTEGER_AS_BIG_INTEGER,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            Signature.getInstance(tbsCertificate.signatureAlgorithmName).run {
              initSign(issuerKeyPair.private)
              update(CertificateAdapters.tbsCertificate.toDer(tbsCertificate).toByteArray())
              sign().toByteString()
            }
    
          // Complete signed certificate.
          val certificate =
            Certificate(
              tbsCertificate = tbsCertificate,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

              "37e8a844db"
          ).decodeHex()
    
        assertThat(okHttpCertificate).isEqualTo(
          Certificate(
            tbsCertificate =
              TbsCertificate(
                // v3.
                version = 2L,
                serialNumber = BigInteger.ONE,
                signature =
                  AlgorithmIdentifier(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top