Skip to main content

Model9

Struct Model9 

Source
pub struct Model9 {
Show 92 fields pub cert_uid: u16, pub cert_role: u16, pub fmt: Fmt, pub typ: Typ, pub tot_ln: u16, pub frg_ln: u16, pub frg1: u16, pub frg2: u16, pub frg3: u16, pub frg4: u16, pub frg5: u16, pub frg6: u16, pub frg7: u16, pub frg8: u16, pub frg9: u16, pub frg10: u16, pub frg11: u16, pub frg12: u16, pub frg13: u16, pub frg14: u16, pub frg15: u16, pub frg16: u16, pub frg17: u16, pub frg18: u16, pub frg19: u16, pub frg20: u16, pub frg21: u16, pub frg22: u16, pub frg23: u16, pub frg24: u16, pub frg25: u16, pub frg26: u16, pub frg27: u16, pub frg28: u16, pub frg29: u16, pub frg30: u16, pub frg31: u16, pub frg32: u16, pub frg33: u16, pub frg34: u16, pub frg35: u16, pub frg36: u16, pub frg37: u16, pub frg38: u16, pub frg39: u16, pub frg40: u16, pub frg41: u16, pub frg42: u16, pub frg43: u16, pub frg44: u16, pub frg45: u16, pub frg46: u16, pub frg47: u16, pub frg48: u16, pub frg49: u16, pub frg50: u16, pub frg51: u16, pub frg52: u16, pub frg53: u16, pub frg54: u16, pub frg55: u16, pub frg56: u16, pub frg57: u16, pub frg58: u16, pub frg59: u16, pub frg60: u16, pub frg61: u16, pub frg62: u16, pub frg63: u16, pub frg64: u16, pub frg65: u16, pub frg66: u16, pub frg67: u16, pub frg68: u16, pub frg69: u16, pub frg70: u16, pub frg71: u16, pub frg72: u16, pub frg73: u16, pub frg74: u16, pub frg75: u16, pub frg78: u16, pub frg79: u16, pub frg80: u16, pub ts: u32, pub ms: u16, pub seq: u16, pub uid: u16, pub role: u16, pub alg: Alg, pub n: u16, pub repeating: Vec<Repeating>,
}
Available on crate feature model9 only.
Expand description

Set Operator Security Certificate

Security model for PKI

Fields§

§cert_uid: u16

Cert_UID

User ID for this certificate

§cert_role: u16

Cert_Role

Role for this certificate

§fmt: Fmt

Format

Format of this certificate

§typ: Typ

Type

Type of this certificate

§tot_ln: u16

Total Length

Total Length of the Certificate

Detail: In registers, zero padded.

§frg_ln: u16

Fragment length

Length of this fragment

Detail: Maximum fragment length is 80 registers

§frg1: u16

Frag1

First word of this fragment

§frg2: u16§frg3: u16§frg4: u16§frg5: u16§frg6: u16§frg7: u16§frg8: u16§frg9: u16§frg10: u16§frg11: u16§frg12: u16§frg13: u16§frg14: u16§frg15: u16§frg16: u16§frg17: u16§frg18: u16§frg19: u16§frg20: u16§frg21: u16§frg22: u16§frg23: u16§frg24: u16§frg25: u16§frg26: u16§frg27: u16§frg28: u16§frg29: u16§frg30: u16§frg31: u16§frg32: u16§frg33: u16§frg34: u16§frg35: u16§frg36: u16§frg37: u16§frg38: u16§frg39: u16§frg40: u16§frg41: u16§frg42: u16§frg43: u16§frg44: u16§frg45: u16§frg46: u16§frg47: u16§frg48: u16§frg49: u16§frg50: u16§frg51: u16§frg52: u16§frg53: u16§frg54: u16§frg55: u16§frg56: u16§frg57: u16§frg58: u16§frg59: u16§frg60: u16§frg61: u16§frg62: u16§frg63: u16§frg64: u16§frg65: u16§frg66: u16§frg67: u16§frg68: u16§frg69: u16§frg70: u16§frg71: u16§frg72: u16§frg73: u16§frg74: u16§frg75: u16§frg78: u16§frg79: u16§frg80: u16

Frag80

Last word of this fragment

§ts: u32

Timestamp

Timestamp value is the number of seconds since January 1, 2000

§ms: u16

Milliseconds

Millisecond counter 0-999

§seq: u16

Sequence

Sequence number of request

Detail: Shall be advanced for each request

§uid: u16

UID

User ID for the request signature

§role: u16

Role

Signing key used 0-5

Detail: Each controller is assigned a key index that maps to their access control role

§alg: Alg

Algorithm

Algorithm used to compute the digital signature

Detail: For future proof

§n: u16

N

Number of registers to follow for the certificate

§repeating: Vec<Repeating>

Implementations§

Source§

impl Model9

Source

pub const CERT_UID: Point<Self, u16>

Source

pub const CERT_ROLE: Point<Self, u16>

Source

pub const FMT: Point<Self, Fmt>

Source

pub const TYP: Point<Self, Typ>

Source

pub const TOT_LN: Point<Self, u16>

Source

pub const FRG_LN: Point<Self, u16>

Source

pub const FRG1: Point<Self, u16>

Source

pub const FRG2: Point<Self, u16>

Source

pub const FRG3: Point<Self, u16>

Source

pub const FRG4: Point<Self, u16>

Source

pub const FRG5: Point<Self, u16>

Source

pub const FRG6: Point<Self, u16>

Source

pub const FRG7: Point<Self, u16>

Source

pub const FRG8: Point<Self, u16>

Source

pub const FRG9: Point<Self, u16>

Source

pub const FRG10: Point<Self, u16>

Source

pub const FRG11: Point<Self, u16>

Source

pub const FRG12: Point<Self, u16>

Source

pub const FRG13: Point<Self, u16>

Source

pub const FRG14: Point<Self, u16>

Source

pub const FRG15: Point<Self, u16>

Source

pub const FRG16: Point<Self, u16>

Source

pub const FRG17: Point<Self, u16>

Source

pub const FRG18: Point<Self, u16>

Source

pub const FRG19: Point<Self, u16>

Source

pub const FRG20: Point<Self, u16>

Source

pub const FRG21: Point<Self, u16>

Source

pub const FRG22: Point<Self, u16>

Source

pub const FRG23: Point<Self, u16>

Source

pub const FRG24: Point<Self, u16>

Source

pub const FRG25: Point<Self, u16>

Source

pub const FRG26: Point<Self, u16>

Source

pub const FRG27: Point<Self, u16>

Source

pub const FRG28: Point<Self, u16>

Source

pub const FRG29: Point<Self, u16>

Source

pub const FRG30: Point<Self, u16>

Source

pub const FRG31: Point<Self, u16>

Source

pub const FRG32: Point<Self, u16>

Source

pub const FRG33: Point<Self, u16>

Source

pub const FRG34: Point<Self, u16>

Source

pub const FRG35: Point<Self, u16>

Source

pub const FRG36: Point<Self, u16>

Source

pub const FRG37: Point<Self, u16>

Source

pub const FRG38: Point<Self, u16>

Source

pub const FRG39: Point<Self, u16>

Source

pub const FRG40: Point<Self, u16>

Source

pub const FRG41: Point<Self, u16>

Source

pub const FRG42: Point<Self, u16>

Source

pub const FRG43: Point<Self, u16>

Source

pub const FRG44: Point<Self, u16>

Source

pub const FRG45: Point<Self, u16>

Source

pub const FRG46: Point<Self, u16>

Source

pub const FRG47: Point<Self, u16>

Source

pub const FRG48: Point<Self, u16>

Source

pub const FRG49: Point<Self, u16>

Source

pub const FRG50: Point<Self, u16>

Source

pub const FRG51: Point<Self, u16>

Source

pub const FRG52: Point<Self, u16>

Source

pub const FRG53: Point<Self, u16>

Source

pub const FRG54: Point<Self, u16>

Source

pub const FRG55: Point<Self, u16>

Source

pub const FRG56: Point<Self, u16>

Source

pub const FRG57: Point<Self, u16>

Source

pub const FRG58: Point<Self, u16>

Source

pub const FRG59: Point<Self, u16>

Source

pub const FRG60: Point<Self, u16>

Source

pub const FRG61: Point<Self, u16>

Source

pub const FRG62: Point<Self, u16>

Source

pub const FRG63: Point<Self, u16>

Source

pub const FRG64: Point<Self, u16>

Source

pub const FRG65: Point<Self, u16>

Source

pub const FRG66: Point<Self, u16>

Source

pub const FRG67: Point<Self, u16>

Source

pub const FRG68: Point<Self, u16>

Source

pub const FRG69: Point<Self, u16>

Source

pub const FRG70: Point<Self, u16>

Source

pub const FRG71: Point<Self, u16>

Source

pub const FRG72: Point<Self, u16>

Source

pub const FRG73: Point<Self, u16>

Source

pub const FRG74: Point<Self, u16>

Source

pub const FRG75: Point<Self, u16>

Source

pub const FRG78: Point<Self, u16>

Source

pub const FRG79: Point<Self, u16>

Source

pub const FRG80: Point<Self, u16>

Source

pub const TS: Point<Self, u32>

Source

pub const MS: Point<Self, u16>

Source

pub const SEQ: Point<Self, u16>

Source

pub const UID: Point<Self, u16>

Source

pub const ROLE: Point<Self, u16>

Source

pub const ALG: Point<Self, Alg>

Source

pub const N: Point<Self, u16>

Trait Implementations§

Source§

impl Debug for Model9

Source§

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

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

impl Group for Model9

Source§

const LEN: u16 = 92

Group length (without nested and repeating groups)
Source§

impl Model for Model9

Source§

const ID: u16 = 9

Model ID
Source§

fn addr(models: &Models) -> ModelAddr<Self>

Get model address from discovered models struct
Source§

fn parse(data: &[u16]) -> Result<Self, ParseError<Self>>

Parse model data from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.