Struct x509_cert::ext::pkix::IssuerAltName
source · pub struct IssuerAltName(pub GeneralNames);
Expand description
IssuerAltName as defined in RFC 5280 Section 4.2.1.7.
IssuerAltName ::= GeneralNames
Tuple Fields§
§0: GeneralNames
Trait 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 copy of the value. Read more
1.0.0 · 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§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
This method 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 StructuralEq for IssuerAltName
impl StructuralPartialEq for IssuerAltName
Auto Trait Implementations§
impl RefUnwindSafe for IssuerAltName
impl Send for IssuerAltName
impl Sync for IssuerAltName
impl Unpin 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
source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
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.
source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
source§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.
source§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
.
source§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.