ClientCertChallenge constructor

ClientCertChallenge({
  1. List<String>? allowedCertificateAuthorities,
  2. @Deprecated('Use keyTypes instead') List<String>? androidKeyTypes,
  3. @Deprecated('Use principals instead') List<String>? androidPrincipals,
  4. bool? isProxy,
  5. List<String>? keyTypes,
  6. List<SslCertificate>? mutuallyTrustedCertificates,
  7. List<String>? principals,
  8. required URLProtectionSpace protectionSpace,
})

Implementation

ClientCertChallenge({
  this.allowedCertificateAuthorities,
  @Deprecated('Use keyTypes instead') this.androidKeyTypes,
  @Deprecated('Use principals instead') this.androidPrincipals,
  this.isProxy,
  this.keyTypes,
  this.mutuallyTrustedCertificates,
  this.principals,
  required URLProtectionSpace protectionSpace,
}) : super(protectionSpace: protectionSpace) {
  keyTypes = keyTypes ?? androidKeyTypes;
  principals = principals ?? androidPrincipals;
}