- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for usingTypeHint (0.07 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
notAfter = it[1] as Long, ) }, ) /** The type of the parameters depends on the algorithm that precedes it. */ private val algorithmParameters: DerAdapter<Any?> = Adapters.usingTypeHint { typeHint -> when (typeHint) { // This type is pretty strange. The spec says that for certain algorithms we must encode null // when it is present, and for others we must omit it!
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
* * If the hint is unknown [chooser] should return null which will cause the value to be decoded as * an opaque byte string. * * This may optionally wrap the contents in a tag. */ fun usingTypeHint(chooser: (Any?) -> DerAdapter<*>?): DerAdapter<Any?> { return object : DerAdapter<Any?> { override fun matches(header: DerHeader): Boolean = true override fun toDer( writer: DerWriter,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Click Count (0)