ktor-network-tls / io.ktor.network.tls.extensions / HashAlgorithm / byCode

byCode

fun byCode(code: Byte): HashAlgorithm

Find hash algorithm instance by it's numeric code

Exceptions

TLSExtension - if no hash algorithm found by code