pub enum StreamMethod {
VerifiableSegmentInfo,
PerSegment,
}Expand description
The C2PA protection method applied to a fragmented stream.
Variants§
VerifiableSegmentInfo
One manifest in the init segment binds every media segment. Which
binding it used - a C2PA 2.4 c2pa.session-keys delivery whose segments
carry signed emsg verifiable segment information, or a
c2pa.hash.bmff.v3 Merkle tree whose segments carry an auxiliary
merkle box - is read off that manifest, not declared by the caller.
PerSegment
Every segment is an independently signed BMFF asset carrying its own
manifest, linked to its predecessor by a parentOf ingredient.
Implementations§
Source§impl StreamMethod
impl StreamMethod
Trait Implementations§
Source§impl Clone for StreamMethod
impl Clone for StreamMethod
impl Copy for StreamMethod
Source§impl Debug for StreamMethod
impl Debug for StreamMethod
Source§impl<'de> Deserialize<'de> for StreamMethod
impl<'de> Deserialize<'de> for StreamMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StreamMethod
impl Display for StreamMethod
impl Eq for StreamMethod
Source§impl Hash for StreamMethod
impl Hash for StreamMethod
Source§impl PartialEq for StreamMethod
impl PartialEq for StreamMethod
Source§impl Serialize for StreamMethod
impl Serialize for StreamMethod
impl StructuralPartialEq for StreamMethod
Auto Trait Implementations§
impl Freeze for StreamMethod
impl RefUnwindSafe for StreamMethod
impl Send for StreamMethod
impl Sync for StreamMethod
impl Unpin for StreamMethod
impl UnsafeUnpin for StreamMethod
impl UnwindSafe for StreamMethod
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.