pub type KeyInfo<E> = Valid<DirtyKeyInfo<E>>;Expand description
Public Key Info
Type alias to DirtyKeyInfo wrapped into Valid<T>, meaning that the key info
has been validated that:
- Number of signers
ndoesn’t overflowu16::MAX, and that n >= 2 - Threshold value is within range
2 <= t <= n - All signers commitments sum up to public key
It’s impossible to obtain KeyInfo that doesn’t meet above requirements.
Only immutable access to the key info is provided. If you need to change content of the key info,
you need to obtain dirty key info via Valid::into_inner, modify the key info, and validate it
again to obtain KeyInfo.
Aliased Type§
pub struct KeyInfo<E>(/* private fields */);