pub struct IssuerAltName(pub GeneralNames);Expand description
IssuerAltName as defined in RFC 5280 Section 4.2.1.7.
IssuerAltName ::= GeneralNamesTuple Fields§
§0: GeneralNamesTrait Implementations§
Source§impl AsExtension for IssuerAltName
impl AsExtension for IssuerAltName
Source§impl<'a> AsMut<Vec<GeneralName>> for IssuerAltName
impl<'a> AsMut<Vec<GeneralName>> for IssuerAltName
Source§fn as_mut(&mut self) -> &mut GeneralNames
fn as_mut(&mut self) -> &mut GeneralNames
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<GeneralName>> for IssuerAltName
impl<'a> AsRef<Vec<GeneralName>> for IssuerAltName
Source§fn as_ref(&self) -> &GeneralNames
fn as_ref(&self) -> &GeneralNames
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for IssuerAltName
impl AssociatedOid for IssuerAltName
Source§const OID: ObjectIdentifier = ID_CE_ISSUER_ALT_NAME
const OID: ObjectIdentifier = ID_CE_ISSUER_ALT_NAME
The OID associated with this type.
Source§impl Clone for IssuerAltName
impl Clone for IssuerAltName
Source§fn clone(&self) -> IssuerAltName
fn clone(&self) -> IssuerAltName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssuerAltName
impl Debug for IssuerAltName
Source§impl<'a> DecodeValue<'a> for IssuerAltName
impl<'a> DecodeValue<'a> for IssuerAltName
Source§fn decode_value<R: Reader<'a>>(decoder: &mut R, header: Header) -> Result<Self>
fn decode_value<R: Reader<'a>>(decoder: &mut R, header: Header) -> Result<Self>
Attempt to decode this message using the provided [
Reader].Source§impl Default for IssuerAltName
impl Default for IssuerAltName
Source§fn default() -> IssuerAltName
fn default() -> IssuerAltName
Returns the “default value” for a type. Read more
Source§impl<'a> EncodeValue for IssuerAltName
impl<'a> EncodeValue for IssuerAltName
Source§impl<'a> FixedTag for IssuerAltName
impl<'a> FixedTag for IssuerAltName
Source§impl<'a> From<IssuerAltName> for GeneralNames
impl<'a> From<IssuerAltName> for GeneralNames
Source§fn from(value: IssuerAltName) -> Self
fn from(value: IssuerAltName) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<GeneralName>> for IssuerAltName
impl<'a> From<Vec<GeneralName>> for IssuerAltName
Source§fn from(value: GeneralNames) -> Self
fn from(value: GeneralNames) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IssuerAltName
impl PartialEq for IssuerAltName
Source§fn eq(&self, other: &IssuerAltName) -> bool
fn eq(&self, other: &IssuerAltName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> ValueOrd for IssuerAltName
impl<'a> ValueOrd for IssuerAltName
impl Eq for IssuerAltName
impl StructuralPartialEq for IssuerAltName
Auto Trait Implementations§
impl Freeze for IssuerAltName
impl RefUnwindSafe for IssuerAltName
impl Send for IssuerAltName
impl Sync for IssuerAltName
impl Unpin for IssuerAltName
impl UnsafeUnpin for IssuerAltName
impl UnwindSafe for IssuerAltName
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
§impl<'a, T> Choice<'a> for Twhere
T: Decode<'a> + FixedTag,
impl<'a, T> Choice<'a> for Twhere
T: Decode<'a> + FixedTag,
§fn can_decode(tag: Tag) -> bool
fn can_decode(tag: Tag) -> bool
Is the provided [
Tag] decodable as a variant of this CHOICE?Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
§impl<T> DerOrd for Twhere
T: EncodeValue + ValueOrd + Tagged,
impl<T> DerOrd for Twhere
T: EncodeValue + ValueOrd + Tagged,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided [Writer].
§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.
§fn encode_to_vec(&self, buf: &mut Vec<u8>) -> Result<Length, Error>
fn encode_to_vec(&self, buf: &mut Vec<u8>) -> Result<Length, Error>
Encode this message as ASN.1 DER, appending it to the provided
byte vector.