pub fn pub_key_bytes_from_pub_coeff_bytes(
    public_coefficients: &PublicCoefficientsBytes,
) -> PublicKeyBytes {
    public_coefficients
        .coefficients
        .get(0)
        .cloned()
        .unwrap_or_else(|| PublicKeyBytes::from(PublicKey(G2Projective::identity())))
}
/// Returns the public key associated to the given `public_coefficients`.
///
/// Empty public_coefficients represent an all-zero polynomial,
/// so in this case we return a zero-public key.
Returns the public key associated to the given `public_coefficients`.
Empty public_coefficients represent an all-zero polynomial,
so in this case we return a zero-public key.
Returns the public key associated to the given ` public_coefficients ` . Empty public_coefficients represent an all - zero polynomial so in this case we return a zero - public key .
pub fn pub_key_bytes_from_pub_coeff_bytes(
    public_coefficients: &PublicCoefficientsBytes,
) -> PublicKeyBytes {
    public_coefficients
        .coefficients
        .get(0)
        .cloned()
        .unwrap_or_else(|| PublicKeyBytes::from(PublicKey(G2Projective::identity())))
}
pub fn pub_key_bytes_from_pub_coeff_bytes ( public_coefficients : & PublicCoefficientsBytes , ) -> PublicKeyBytes { public_coefficients . coefficients . get ( 0 ) . cloned ( ) . unwrap_or_else ( | | PublicKeyBytes :: from ( PublicKey ( G2Projective :: identity ( ) ) ) ) }
Returns the public key associated to the given `public_coefficients`.
Returns the public key associated to the given ` public_coefficients ` .
public_coefficients
&PublicCoefficientsBytes
public_coefficients
&PublicCoefficientsBytes