pub fn point_to_pubkey(p: G1AffinePoint) -> PublicKey
Expand description

(spec link) Invoke the appropriate serialization routine depending on signature variant For minimal-pubkey-size: point_to_pubkey(P) := point_to_octets_E1(P)

This returns the compressed representation of the public key. If you want the uncompressed representation, see point_to_pubkey_uncompressed.