pub enum ContentConstraint {
Containing(ASN1Type),
EncodedBy(ASN1Value),
ContainingEncodedBy {
containing: ASN1Type,
encoded_by: ASN1Value,
},
}
Expand description
A ContentConstraint.
See: ITU-T X.682 (02/2021) 11
Variants§
Containing(ASN1Type)
X.682 11.4 The abstract value of the octet string or bit string is the encoding of an (any) abstract value of “Type” that is produced by the encoding rules that are applied to the octet string or bit string.
EncodedBy(ASN1Value)
X.682 11.5 The procedures identified by the object identifier value “Value” shall be used to produce and to interpret the contents of the bit string or octet string. If the bit string or octet string is already constrained, it is a specification error if these procedures do not produce encodings that satisfy the constraint.
ContainingEncodedBy
X.682 11.6 The abstract value of the octet string or bit string is the encoding of an (any) abstract value of “Type” that is produced by the encoding rules identified by the object identifier value “Value”.
Trait Implementations§
Source§impl Clone for ContentConstraint
impl Clone for ContentConstraint
Source§fn clone(&self) -> ContentConstraint
fn clone(&self) -> ContentConstraint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more