pub const MAX_SIGNATURE_SIZE: u32 = 139;
Expand description

The maximum size of a signature supported by Weave.

Currently, Weave only supports ECDSA signatures using the P224 curve, however, to allow this protocol to support future changes to supported Weave signatures the maximum size of the returned signature is set to 139 bytes which is the largest amount of space needed to return an encoded ECDSA P521 signature.