Struct H274 Digitally Signed Content Initialization
Source pub struct H274DigitallySignedContentInitialization(/* private fields */);Implementations§
Source§impl H274DigitallySignedContentInitialization
impl H274DigitallySignedContentInitialization
pub fn new( hash_method_type: u8, content_uuid: Option<[u8; 16]>, key_source_uri: Option<&str>, ) -> Self
pub fn id(&self) -> u8
pub fn hash_method_type(&self) -> u8
pub fn key_retrieval_mode_idc(&self) -> u32
pub fn use_key_register_idx_flag(&self) -> bool
pub fn key_register_idx(&self) -> u32
pub fn content_uuid_present_flag(&self) -> bool
pub fn content_uuid(&self) -> &[u8; 16]
pub fn num_verification_substreams(&self) -> u32
pub fn ref_substream_flag(&self) -> &[u8] ⓘ
pub fn vss_implicit_association_mode_flag(&self) -> bool
pub fn signed_content_start_flag(&self) -> bool
pub fn sei_signing_flag(&self) -> bool
pub fn key_source_uri(&self) -> Option<&str>
pub unsafe fn from_glib_ptr_borrow( ptr: &GstH274DigitallySignedContentInitialization, ) -> &Self
pub fn as_ptr(&self) -> *const GstH274DigitallySignedContentInitialization
Sourcepub fn set_key_retrieval_mode_idc(&mut self, mode_idc: u32)
pub fn set_key_retrieval_mode_idc(&mut self, mode_idc: u32)
Set the key_retrieval_mode_idc field (H.274 §D.3.24).
0 = trust record (e.g. C2PA manifest), 1 = certificate (X.509 PEM).
Trait Implementations§
Auto Trait Implementations§
impl !Send for H274DigitallySignedContentInitialization
impl !Sync for H274DigitallySignedContentInitialization
impl Freeze for H274DigitallySignedContentInitialization
impl RefUnwindSafe for H274DigitallySignedContentInitialization
impl Unpin for H274DigitallySignedContentInitialization
impl UnsafeUnpin for H274DigitallySignedContentInitialization
impl UnwindSafe for H274DigitallySignedContentInitialization
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more