NameConstraints class
Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10
Constructors
-
NameConstraints({Input<
bool> ? critical, Input<List< ? excludedDnsNames, Input<String> >List< ? excludedEmailAddresses, Input<String> >List< ? excludedIpRanges, Input<String> >List< ? excludedUris, Input<String> >List< ? permittedDnsNames, Input<String> >List< ? permittedEmailAddresses, Input<String> >List< ? permittedIpRanges, Input<String> >List< ? permittedUris})String> > -
Creates a new NameConstraints.
criticalIndicates whether or not the name constraints are marked critical.excludedDnsNamesContains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,example.com,www.example.com,www.sub.example.comwould satisfyexample.comwhileexample1.comdoes not.excludedEmailAddressesContains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g..example.com) to indicate all email addresses in that domain.excludedIpRangesContains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.excludedUrisContains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like.example.com)permittedDnsNamesContains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,example.com,www.example.com,www.sub.example.comwould satisfyexample.comwhileexample1.comdoes not.permittedEmailAddressesContains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g..example.com) to indicate all email addresses in that domain.permittedIpRangesContains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.permittedUrisContains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like.example.com)const -
NameConstraints.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
critical
→ Input<
bool> ? -
Indicates whether or not the name constraints are marked critical.
final
-
excludedDnsNames
→ Input<
List< ?String> > -
Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,
example.com,www.example.com,www.sub.example.comwould satisfyexample.comwhileexample1.comdoes not.final -
excludedEmailAddresses
→ Input<
List< ?String> > -
Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g.
.example.com) to indicate all email addresses in that domain.final -
excludedIpRanges
→ Input<
List< ?String> > -
Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.
final
-
excludedUris
→ Input<
List< ?String> > -
Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like
.example.com)final - hashCode → int
-
The hash code for this object.
no setterinherited
-
permittedDnsNames
→ Input<
List< ?String> > -
Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,
example.com,www.example.com,www.sub.example.comwould satisfyexample.comwhileexample1.comdoes not.final -
permittedEmailAddresses
→ Input<
List< ?String> > -
Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g.
.example.com) to indicate all email addresses in that domain.final -
permittedIpRanges
→ Input<
List< ?String> > -
Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.
final
-
permittedUris
→ Input<
List< ?String> > -
Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like
.example.com)final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited