Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BasicDerAdapter (0.26 sec)

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

       * ```
       */
      private val subjectAlternativeName: BasicDerAdapter<List<Pair<DerAdapter<*>, Any?>>> =
        generalName.asSequenceOf()
    
      /**
       * This uses the preceding extension ID to select which adapter to use for the extension value
       * that follows.
       */
      private val extensionValue: BasicDerAdapter<Any?> =
        Adapters.usingTypeHint { typeHint ->
          when (typeHint) {
    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/internal/der/Adapters.kt

    import okio.ByteString
    
    /**
     * Built-in adapters for reading standard ASN.1 types.
     */
    internal object Adapters {
      val BOOLEAN =
        BasicDerAdapter(
          name = "BOOLEAN",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 1L,
          codec =
            object : BasicDerAdapter.Codec<Boolean> {
              override fun decode(reader: DerReader): Boolean = reader.readBoolean()
    
              override fun encode(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top