HashAndSign

data class HashAndSign

Hash and signature algorithm pair

Constructors

<init>

HashAndSign(
    hash: HashAlgorithm,
    sign: SignatureAlgorithm,
    oid: OID? = null)

Hash and signature algorithm pair

Properties

hash

val hash: HashAlgorithm

algorithm.

name

val name: String

String representation of this algorithms pair

oid

val oid: OID?

object identifier.

sign

algorithm.

Companion Object Extension Functions

byCode

fun HashAndSign.Companion.byCode(
    hash: Byte,
    sign: Byte
): HashAndSign?