pub fn public_key(&self) -> CspThresholdSigPublicKey {
        match &self.transcript {
            CspNiDkgTranscript::Groth20_Bls12_381(transcript) => {
                CspThresholdSigPublicKey::from(transcript.public_coefficients.coefficients[0])
            }
        }
    }
/// This should return a generic CspPublicKey, so that the
/// threshold key is not tied to the specific algorithm, however threshold
/// public keys are internal types, so cannot be added as a variant without
/// pulling another bunch of types into internal_types.
This should return a generic CspPublicKey, so that the
threshold key is not tied to the specific algorithm, however threshold
public keys are internal types, so cannot be added as a variant without
pulling another bunch of types into internal_types.
This should return a generic CspPublicKey so that the threshold key is not tied to the specific algorithm however threshold public keys are internal types so cannot be added as a variant without pulling another bunch of types into internal_types .
pub fn public_key(&self) -> CspThresholdSigPublicKey {
        match &self.transcript {
            CspNiDkgTranscript::Groth20_Bls12_381(transcript) => {
                CspThresholdSigPublicKey::from(transcript.public_coefficients.coefficients[0])
            }
        }
    }
pub fn public_key ( & self ) -> CspThresholdSigPublicKey { match & self . transcript { CspNiDkgTranscript :: Groth20_Bls12_381 ( transcript ) => { CspThresholdSigPublicKey :: from ( transcript . public_coefficients . coefficients [ 0 ] ) } } }
This should return a generic CspPublicKey, so that the
threshold key is not tied to the specific algorithm, however threshold
public keys are internal types, so cannot be added as a variant without
pulling another bunch of types into internal_types.
This should return a generic CspPublicKey so that the threshold key is not tied to the specific algorithm however threshold public keys are internal types so cannot be added as a variant without pulling another bunch of types into internal_types .
&self
&self