pub struct RelativeDistinguishedName<'a>(pub SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>);Expand description
RelativeDistinguishedName as defined in RFC 5280 Section 4.1.2.4.
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValueNote that we follow the more common definition above. This technically differs from the definition in X.501, which is:
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndDistinguishedValue
AttributeTypeAndDistinguishedValue ::= SEQUENCE {
type ATTRIBUTE.&id ({SupportedAttributes}),
value ATTRIBUTE.&Type({SupportedAttributes}{@type}),
primaryDistinguished BOOLEAN DEFAULT TRUE,
valuesWithContext SET SIZE (1..MAX) OF SEQUENCE {
distingAttrValue [0] ATTRIBUTE.&Type ({SupportedAttributes}{@type}) OPTIONAL,
contextList SET SIZE (1..MAX) OF Context
} OPTIONAL
}Tuple Fields§
§0: SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>Trait Implementations§
Source§impl<'a> AsMut<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
impl<'a> AsMut<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
Source§fn as_mut(&mut self) -> &mut SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
fn as_mut(&mut self) -> &mut SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
impl<'a> AsRef<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
Source§fn as_ref(&self) -> &SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
fn as_ref(&self) -> &SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'a> Clone for RelativeDistinguishedName<'a>
impl<'a> Clone for RelativeDistinguishedName<'a>
Source§impl<'a> Debug for RelativeDistinguishedName<'a>
impl<'a> Debug for RelativeDistinguishedName<'a>
Source§impl<'a> DecodeValue<'a> for RelativeDistinguishedName<'a>
impl<'a> DecodeValue<'a> for RelativeDistinguishedName<'a>
Source§impl<'a> Default for RelativeDistinguishedName<'a>
impl<'a> Default for RelativeDistinguishedName<'a>
Source§impl<'a> EncodeValue for RelativeDistinguishedName<'a>
impl<'a> EncodeValue for RelativeDistinguishedName<'a>
impl<'a> Eq for RelativeDistinguishedName<'a>
Source§impl<'a> FixedTag for RelativeDistinguishedName<'a>
impl<'a> FixedTag for RelativeDistinguishedName<'a>
Source§impl<'a> From<RelativeDistinguishedName<'a>> for SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
impl<'a> From<RelativeDistinguishedName<'a>> for SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>
Source§fn from(value: RelativeDistinguishedName<'a>) -> Self
fn from(value: RelativeDistinguishedName<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
impl<'a> From<SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>> for RelativeDistinguishedName<'a>
Source§fn from(value: SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>) -> Self
fn from(value: SetOf<AttributeTypeAndValue<'a>, MAX_RDN_ATTRS>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for RelativeDistinguishedName<'a>
impl<'a> PartialEq for RelativeDistinguishedName<'a>
impl<'a> StructuralPartialEq for RelativeDistinguishedName<'a>
Auto Trait Implementations§
impl<'a> Forget for RelativeDistinguishedName<'a>
impl<'a> Freeze for RelativeDistinguishedName<'a>
impl<'a> Move for RelativeDistinguishedName<'a>
impl<'a> RefUnwindSafe for RelativeDistinguishedName<'a>
impl<'a> Send for RelativeDistinguishedName<'a>
impl<'a> Sync for RelativeDistinguishedName<'a>
impl<'a> Unpin for RelativeDistinguishedName<'a>
impl<'a> UnsafeUnpin for RelativeDistinguishedName<'a>
impl<'a> UnwindSafe for RelativeDistinguishedName<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more