Struct der::Header [−][src]
Expand description
ASN.1 DER headers: tag + length component of TLV-encoded values
Fields
tag: Tag
Tag representing the type of the encoded value
length: Length
Length of the encoded value
Implementations
Trait Implementations
Compute the length of this value in bytes when encoded as ASN.1 DER.
Encode this value as ASN.1 DER using the provided Encoder
.
Encode this value to the provided byte slice, returning a sub-slice containing the encoded message. Read more
This is supported on crate feature
alloc
only.Encode this message as ASN.1 DER, appending it to the provided byte vector. Read more
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self