Type Alias SigScheme

Source
pub type SigScheme = (SignatureScheme, &'static SignatureAlgorithm);
Expand description

A signature scheme for generating and using an EndpointKey.

Different endpoints can have different sigschemes and interoperate.

A SigScheme is the tuple of the rustls type (for TLS) and the corresponding rcgen type (for generating certificates). The SIGSCHEME_* constants provide for common schemes but it is possible to make your own should the libraries support more.