TLSCertConfig constructor

const TLSCertConfig({
  1. @JsonKey.new(name: 'certificateFile') String? certFile,
  2. @JsonKey.new(name: 'certificate') List<String>? certStr,
  3. String? keyFile,
  4. @JsonKey.new(name: 'key') List<String>? keyStr,
  5. TLSCertificateUsage? usage,
  6. int? ocspStapling,
  7. bool? oneTimeLoading,
  8. bool? buildChain,
})

Implementation

const factory TLSCertConfig({
  @JsonKey(name: 'certificateFile') String? certFile,
  @JsonKey(name: 'certificate') List<String>? certStr,
  String? keyFile,
  @JsonKey(name: 'key') List<String>? keyStr,
  TLSCertificateUsage? usage,
  int? ocspStapling,
  bool? oneTimeLoading,
  bool? buildChain,
}) = _TLSCertConfig;