DerClass

Type Alias DerClass 

Source
pub type DerClass = Class;
👎Deprecated since 7.0.0: Use Class instead
Expand description

DER Object class of tag (same as BerClass)

Aliased Type§

#[repr(u8)]
pub enum DerClass { Universal = 0, Application = 1, ContextSpecific = 2, Private = 3, }

Variants§

§

Universal = 0

Universal class of tags (0b00)

§

Application = 1

Application class of tags (0b01)

§

ContextSpecific = 2

Context-Specific class of tags (0b10)

§

Private = 3

Private class of tags (0b11)

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 1 byte

Size for each variant:

  • Universal: 0 bytes
  • Application: 0 bytes
  • ContextSpecific: 0 bytes
  • Private: 0 bytes