Struct gapi_grpc::google::cloud::security::privateca::v1beta1::key_usage::KeyUsageOptions[][src]

pub struct KeyUsageOptions {
    pub digital_signature: bool,
    pub content_commitment: bool,
    pub key_encipherment: bool,
    pub data_encipherment: bool,
    pub key_agreement: bool,
    pub cert_sign: bool,
    pub crl_sign: bool,
    pub encipher_only: bool,
    pub decipher_only: bool,
}

[KeyUsage.KeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions] corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.

Fields

digital_signature: bool

The key may be used for digital signatures.

content_commitment: bool

The key may be used for cryptographic commitments. Note that this may also be referred to as “non-repudiation”.

key_encipherment: bool

The key may be used to encipher other keys.

data_encipherment: bool

The key may be used to encipher data.

key_agreement: bool

The key may be used in a key agreement protocol.

cert_sign: bool

The key may be used to sign certificates.

crl_sign: bool

The key may be used sign certificate revocation lists.

encipher_only: bool

The key may be used to encipher only.

decipher_only: bool

The key may be used to decipher only.

Trait Implementations

impl Clone for KeyUsageOptions[src]

impl Debug for KeyUsageOptions[src]

impl Default for KeyUsageOptions[src]

impl Message for KeyUsageOptions[src]

impl PartialEq<KeyUsageOptions> for KeyUsageOptions[src]

impl StructuralPartialEq for KeyUsageOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyUsageOptions

impl Send for KeyUsageOptions

impl Sync for KeyUsageOptions

impl Unpin for KeyUsageOptions

impl UnwindSafe for KeyUsageOptions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]