Type Alias SignatureBlockFormat1

Source
pub type SignatureBlockFormat1<'a> = TableRef<'a, SignatureBlockFormat1Marker>;
Expand description

Aliased Type§

pub struct SignatureBlockFormat1<'a> {
    pub(crate) shape: SignatureBlockFormat1Marker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: SignatureBlockFormat1Marker§data: FontData<'a>

Implementations§

Source§

impl<'a> SignatureBlockFormat1<'a>

Source

pub fn signature_length(&self) -> u32

Length (in bytes) of the PKCS#7 packet in the signature field.

Source

pub fn signature(&self) -> &'a [u8]

PKCS#7 packet

Source§

impl SignatureBlockFormat1<'_>

Source

fn compute_len(&self) -> usize

Return the exact byte length of this table.

Trait Implementations§

Source§

impl<'a> Debug for SignatureBlockFormat1<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> FontRead<'a> for SignatureBlockFormat1<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more
Source§

impl<'a> SomeTable<'a> for SignatureBlockFormat1<'a>

Source§

fn type_name(&self) -> &str

The name of this table
Source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.