[][src]Struct gcp_client::google::cloud::binaryauthorization::v1beta1::PkixPublicKey

pub struct PkixPublicKey {
    pub public_key_pem: String,
    pub signature_algorithm: i32,
}

A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.

Fields

public_key_pem: String

A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13

signature_algorithm: i32

The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in public_key_pem (i.e. this algorithm must match that of the public key).

Implementations

impl PkixPublicKey[src]

pub fn signature_algorithm(&self) -> SignatureAlgorithm[src]

Returns the enum value of signature_algorithm, or the default if the field is set to an invalid enum value.

pub fn set_signature_algorithm(&mut self, value: SignatureAlgorithm)[src]

Sets signature_algorithm to the provided enum value.

Trait Implementations

impl Clone for PkixPublicKey[src]

impl Debug for PkixPublicKey[src]

impl Default for PkixPublicKey[src]

impl Message for PkixPublicKey[src]

impl PartialEq<PkixPublicKey> for PkixPublicKey[src]

impl StructuralPartialEq for PkixPublicKey[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]