ClientCertificateRequest constructor
ClientCertificateRequest({
- required List<
ClientCertificateType> certificateTypes, - required List<
ByteBuffer> certificateAuthorities,
Implementation
ClientCertificateRequest({
/// This field is a list of the types of certificates requested, sorted in
/// order of the server's preference. Only certificates of a type contained
/// in this list will be retrieved. If `certificateTypes` is the
/// empty list, however, certificates of any type will be returned.
required List<ClientCertificateType> certificateTypes,
/// List of distinguished names of certificate authorities allowed by the
/// server. Each entry must be a DER-encoded X.509 DistinguishedName.
required List<ByteBuffer> certificateAuthorities,
}) : _wrapped = $js.ClientCertificateRequest(
certificateTypes: certificateTypes.toJSArray((e) => e.toJS),
certificateAuthorities:
certificateAuthorities.toJSArray((e) => e.toJS),
);