ClientCertChallenge constructor

ClientCertChallenge({
  1. @Deprecated('Use keyTypes instead') List<String>? androidKeyTypes,
  2. @Deprecated('Use principals instead') List<String>? androidPrincipals,
  3. List<String>? keyTypes,
  4. List<String>? principals,
  5. required URLProtectionSpace protectionSpace,
})

Implementation

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