WithTLSConfig configures the CUPS server with the given TLS config that will be used to lookup CUPS/LNS Root CAs.
(tlsConfig *tls.Config)
| 138 | // WithTLSConfig configures the CUPS server with the given TLS config that will |
| 139 | // be used to lookup CUPS/LNS Root CAs. |
| 140 | func WithTLSConfig(tlsConfig *tls.Config) Option { |
| 141 | return func(s *Server) { |
| 142 | s.tlsConfig = tlsConfig |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | // WithSigner configures the CUPS server with a firmware signer. |
| 147 | func WithSigner(keyCRC uint32, signer stdcrypto.Signer) Option { |