Struct google_api_proto::google::cloud::security::privateca::v1::ca_pool::PublishingOptions
source · pub struct PublishingOptions {
pub publish_ca_cert: bool,
pub publish_crl: bool,
pub encoding_format: i32,
}
Expand description
Options relating to the publication of each [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]’s CA certificate and CRLs and their inclusion as extensions in issued [Certificates][google.cloud.security.privateca.v1.Certificate]. The options set here apply to certificates issued by any [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the [CaPool][google.cloud.security.privateca.v1.CaPool].
Fields§
§publish_ca_cert: bool
Optional. When true, publishes each [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]’s CA certificate and includes its URL in the “Authority Information Access” X.509 extension in all issued [Certificates][google.cloud.security.privateca.v1.Certificate]. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates.
publish_crl: bool
Optional. When true, publishes each [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]’s CRL and includes its URL in the “CRL Distribution Points” X.509 extension in all issued [Certificates][google.cloud.security.privateca.v1.Certificate]. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.
encoding_format: i32
Optional. Specifies the encoding format of each [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] resource’s CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.
Implementations§
source§impl PublishingOptions
impl PublishingOptions
sourcepub fn encoding_format(&self) -> EncodingFormat
pub fn encoding_format(&self) -> EncodingFormat
Returns the enum value of encoding_format
, or the default if the field is set to an invalid enum value.
sourcepub fn set_encoding_format(&mut self, value: EncodingFormat)
pub fn set_encoding_format(&mut self, value: EncodingFormat)
Sets encoding_format
to the provided enum value.
Trait Implementations§
source§impl Clone for PublishingOptions
impl Clone for PublishingOptions
source§fn clone(&self) -> PublishingOptions
fn clone(&self) -> PublishingOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PublishingOptions
impl Debug for PublishingOptions
source§impl Default for PublishingOptions
impl Default for PublishingOptions
source§impl Message for PublishingOptions
impl Message for PublishingOptions
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PublishingOptions
impl PartialEq for PublishingOptions
source§fn eq(&self, other: &PublishingOptions) -> bool
fn eq(&self, other: &PublishingOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for PublishingOptions
impl StructuralPartialEq for PublishingOptions
Auto Trait Implementations§
impl Freeze for PublishingOptions
impl RefUnwindSafe for PublishingOptions
impl Send for PublishingOptions
impl Sync for PublishingOptions
impl Unpin for PublishingOptions
impl UnwindSafe for PublishingOptions
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