Struct google_api_proto::google::cloud::security::privateca::v1::X509Parameters
source · pub struct X509Parameters {
pub key_usage: Option<KeyUsage>,
pub ca_options: Option<CaOptions>,
pub policy_ids: Vec<ObjectId>,
pub aia_ocsp_servers: Vec<String>,
pub name_constraints: Option<NameConstraints>,
pub additional_extensions: Vec<X509Extension>,
}
Expand description
An [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Fields§
§key_usage: Option<KeyUsage>
Optional. Indicates the intended use for keys that correspond to a certificate.
ca_options: Option<CaOptions>
Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate.
policy_ids: Vec<ObjectId>
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
aia_ocsp_servers: Vec<String>
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the “Authority Information Access” extension in the certificate.
name_constraints: Option<NameConstraints>
Optional. Describes the X.509 name constraints extension.
additional_extensions: Vec<X509Extension>
Optional. Describes custom X.509 extensions.
Trait Implementations§
source§impl Clone for X509Parameters
impl Clone for X509Parameters
source§fn clone(&self) -> X509Parameters
fn clone(&self) -> X509Parameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for X509Parameters
impl Debug for X509Parameters
source§impl Default for X509Parameters
impl Default for X509Parameters
source§impl Message for X509Parameters
impl Message for X509Parameters
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 X509Parameters
impl PartialEq for X509Parameters
source§fn eq(&self, other: &X509Parameters) -> bool
fn eq(&self, other: &X509Parameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for X509Parameters
Auto Trait Implementations§
impl Freeze for X509Parameters
impl RefUnwindSafe for X509Parameters
impl Send for X509Parameters
impl Sync for X509Parameters
impl Unpin for X509Parameters
impl UnwindSafe for X509Parameters
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