[][src]Struct google_containeranalysis1_beta1::GenericSignedAttestation

pub struct GenericSignedAttestation {
    pub signatures: Option<Vec<Signature>>,
    pub content_type: Option<String>,
    pub serialized_payload: Option<String>,
}

An attestation wrapper that uses the Grafeas Signature message. This attestation must define the serialized_payload that the signatures verify and any metadata necessary to interpret that plaintext. The signatures should always be over the serialized_payload bytestring.

This type is not used in any activity, and only used as part of another schema.

Fields

signatures: Option<Vec<Signature>>

One or more signatures over serialized_payload. Verifier implementations should consider this attestation message verified if at least one signature verifies serialized_payload. See Signature in common.proto for more details on signature structure and verification.

content_type: Option<String>

Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).

serialized_payload: Option<String>

The serialized payload that is verified by one or more signatures. The encoding and semantic meaning of this payload must match what is set in content_type.

Trait Implementations

impl Part for GenericSignedAttestation[src]

impl Default for GenericSignedAttestation[src]

impl Clone for GenericSignedAttestation[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GenericSignedAttestation[src]

impl Serialize for GenericSignedAttestation[src]

impl<'de> Deserialize<'de> for GenericSignedAttestation[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]