gossamer/key_algorithm

Types

pub type KeyAlgorithm {
  Aes(name: aes_algorithm.AesAlgorithm, length: Int)
  Ec(
    name: ec_algorithm.EcAlgorithm,
    named_curve: named_curve.NamedCurve,
  )
  Hmac(hash: hash_algorithm.HashAlgorithm, length: Int)
  Rsa(
    name: rsa_algorithm.RsaAlgorithm,
    modulus_length: Int,
    public_exponent: uint8_array.Uint8Array,
    hash: hash_algorithm.HashAlgorithm,
  )
}

Constructors

Search Document