Struct google_api_proto::google::cloud::security::privateca::v1beta1::certificate_authority::certificate_authority_policy::AllowedSubjectAltNames
source · pub struct AllowedSubjectAltNames {
pub allowed_dns_names: Vec<String>,
pub allowed_uris: Vec<String>,
pub allowed_email_addresses: Vec<String>,
pub allowed_ips: Vec<String>,
pub allow_globbing_dns_wildcards: bool,
pub allow_custom_sans: bool,
}
Expand description
[AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] specifies the allowed values for [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
Fields§
§allowed_dns_names: 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][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set.
E.g. for wildcard entries: \*.bar.com
will allow *.bar.com
, but not
foo.bar.com
.
allowed_uris: 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. ‘**’).
allowed_email_addresses: Vec<String>
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
allowed_ips: 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).
allow_globbing_dns_wildcards: bool
Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows wildcard certificates.
allow_custom_sans: bool
Optional. Specifies if to allow custom X509Extension values.
Trait Implementations§
source§impl Clone for AllowedSubjectAltNames
impl Clone for AllowedSubjectAltNames
source§fn clone(&self) -> AllowedSubjectAltNames
fn clone(&self) -> AllowedSubjectAltNames
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AllowedSubjectAltNames
impl Debug for AllowedSubjectAltNames
source§impl Default for AllowedSubjectAltNames
impl Default for AllowedSubjectAltNames
source§impl Message for AllowedSubjectAltNames
impl Message for AllowedSubjectAltNames
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for AllowedSubjectAltNames
impl PartialEq for AllowedSubjectAltNames
source§fn eq(&self, other: &AllowedSubjectAltNames) -> bool
fn eq(&self, other: &AllowedSubjectAltNames) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AllowedSubjectAltNames
Auto Trait Implementations§
impl Freeze for AllowedSubjectAltNames
impl RefUnwindSafe for AllowedSubjectAltNames
impl Send for AllowedSubjectAltNames
impl Sync for AllowedSubjectAltNames
impl Unpin for AllowedSubjectAltNames
impl UnwindSafe for AllowedSubjectAltNames
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request