Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 030206A0 (0.14 sec)

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

        }.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)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                        )
                          .decodeHex(),
                    ),
                    Extension(
                      id = keyUsage,
                      critical = true,
                      value = "030205a0".decodeHex(),
                    ),
                    Extension(
                      id = extendedKeyUsage,
                      critical = false,
    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