supports static method
Whether ceremony is implemented for scheme.
Implementation
static bool supports(SchemeId scheme, ThresholdCeremonyKind ceremony) {
if (milestone(scheme) == SchemeMilestone.production) {
return switch (ceremony) {
ThresholdCeremonyKind.rootDkg ||
ThresholdCeremonyKind.thresholdSign ||
ThresholdCeremonyKind.rotation =>
scheme == SchemeId.frostEd25519V1,
};
}
// M2 beta: ML-DSA-44 in-process simulate (Tier 2) only.
if (scheme == SchemeId.mlDsa44ThresholdV1 &&
milestone(scheme) == SchemeMilestone.beta) {
return ceremony == ThresholdCeremonyKind.thresholdSign ||
ceremony == ThresholdCeremonyKind.rootDkg;
}
return false;
}