Struct der::asn1::OptionalRef
source · [−]Expand description
A reference to an ASN.1 OPTIONAL
type, used for encoding only.
Tuple Fields
0: Option<&'a T>
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