pub struct AllowedSubjectAltNames {
pub allow_custom_sans: Option<bool>,
pub allow_globbing_dns_wildcards: Option<bool>,
pub allowed_dns_names: Option<Vec<String>>,
pub allowed_email_addresses: Option<Vec<String>>,
pub allowed_ips: Option<Vec<String>>,
pub allowed_uris: Option<Vec<String>>,
}
Expand description
AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the CertificateAuthority when issuing Certificates.
This type is not used in any activity, and only used as part of another schema.
Fields
allow_custom_sans: Option<bool>
Optional. Specifies if to allow custom X509Extension values.
allow_globbing_dns_wildcards: Option<bool>
Optional. Specifies if glob patterns used for allowed_dns_names allow wildcard certificates. If this is set, certificate requests with wildcard domains will be permitted to match a glob pattern specified in allowed_dns_names. Otherwise, certificate requests with wildcard domains will be permitted only if allowed_dns_names contains a literal wildcard.
allowed_dns_names: Option<Vec<String>>
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \*
). E.g. for globbed entries: *bar.com
will allow foo.bar.com
, but not *.bar.com
, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \*.bar.com
will allow *.bar.com
, but not foo.bar.com
.
allowed_email_addresses: Option<Vec<String>>
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
allowed_ips: Option<Vec<String>>
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the ‘/’ notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
allowed_uris: Option<Vec<String>>
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. ‘/’) use the double star glob pattern (i.e. ‘**’).
Trait Implementations
sourceimpl Clone for AllowedSubjectAltNames
impl Clone for AllowedSubjectAltNames
sourcefn clone(&self) -> AllowedSubjectAltNames
fn clone(&self) -> AllowedSubjectAltNames
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AllowedSubjectAltNames
impl Debug for AllowedSubjectAltNames
sourceimpl Default for AllowedSubjectAltNames
impl Default for AllowedSubjectAltNames
sourcefn default() -> AllowedSubjectAltNames
fn default() -> AllowedSubjectAltNames
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AllowedSubjectAltNames
impl<'de> Deserialize<'de> for AllowedSubjectAltNames
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for AllowedSubjectAltNames
impl Serialize for AllowedSubjectAltNames
impl Part for AllowedSubjectAltNames
Auto Trait Implementations
impl RefUnwindSafe for AllowedSubjectAltNames
impl Send for AllowedSubjectAltNames
impl Sync for AllowedSubjectAltNames
impl Unpin for AllowedSubjectAltNames
impl UnwindSafe for AllowedSubjectAltNames
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more