Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 0404030206A0 (0.04 sec)

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

          Adapters.BIT_STRING.fromDer(bytes)
        }.also { expected ->
          assertThat(expected).hasMessage("malformed bit string")
        }
      }
    
      @Test fun `octet string`() {
        val bytes = "0404030206A0".decodeHex()
        val octetString = "030206A0".decodeHex()
        assertThat(Adapters.OCTET_STRING.fromDer(bytes)).isEqualTo(octetString)
        assertThat(Adapters.OCTET_STRING.toDer(octetString)).isEqualTo(bytes)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top