Function bls_on_arkworks::point_to_signature
source · pub fn point_to_signature(p: G2AffinePoint) -> Signature
Expand description
(spec link)
Invoke the appropriate serialization routine depending on signature variant
For minimal-pubkey-size: point_to_signature(P) := point_to_octets_E2(P)
This returns the compressed representation of the signature.
If you want the uncompressed representation, see point_to_signature_uncompressed
.