Struct google_api_proto::google::cloud::security::privateca::v1beta1::key_usage::ExtendedKeyUsageOptions
source · pub struct ExtendedKeyUsageOptions {
pub server_auth: bool,
pub client_auth: bool,
pub code_signing: bool,
pub email_protection: bool,
pub time_stamping: bool,
pub ocsp_signing: bool,
}
Expand description
[KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions] has fields that correspond to certain common OIDs that could be specified as an extended key usage value.
Fields§
§server_auth: bool
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as “TLS WWW server authentication”, though regularly used for non-WWW TLS.
client_auth: bool
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as “TLS WWW client authentication”, though regularly used for non-WWW TLS.
code_signing: bool
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as “Signing of downloadable executable code client authentication”.
email_protection: bool
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as “Email protection”.
time_stamping: bool
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as “Binding the hash of an object to a time”.
ocsp_signing: bool
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as “Signing OCSP responses”.
Trait Implementations§
source§impl Clone for ExtendedKeyUsageOptions
impl Clone for ExtendedKeyUsageOptions
source§fn clone(&self) -> ExtendedKeyUsageOptions
fn clone(&self) -> ExtendedKeyUsageOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExtendedKeyUsageOptions
impl Debug for ExtendedKeyUsageOptions
source§impl Default for ExtendedKeyUsageOptions
impl Default for ExtendedKeyUsageOptions
source§impl Message for ExtendedKeyUsageOptions
impl Message for ExtendedKeyUsageOptions
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 ExtendedKeyUsageOptions
impl PartialEq for ExtendedKeyUsageOptions
source§fn eq(&self, other: &ExtendedKeyUsageOptions) -> bool
fn eq(&self, other: &ExtendedKeyUsageOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for ExtendedKeyUsageOptions
impl StructuralPartialEq for ExtendedKeyUsageOptions
Auto Trait Implementations§
impl Freeze for ExtendedKeyUsageOptions
impl RefUnwindSafe for ExtendedKeyUsageOptions
impl Send for ExtendedKeyUsageOptions
impl Sync for ExtendedKeyUsageOptions
impl Unpin for ExtendedKeyUsageOptions
impl UnwindSafe for ExtendedKeyUsageOptions
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