pub struct SubjectKeyIdentifier(pub OctetString);Expand description
SubjectKeyIdentifier as defined in RFC 5280 Section 4.2.1.2.
SubjectKeyIdentifier ::= KeyIdentifierTuple Fields§
§0: OctetStringTrait Implementations§
Source§impl<'a> AsMut<OctetString> for SubjectKeyIdentifier
impl<'a> AsMut<OctetString> for SubjectKeyIdentifier
Source§fn as_mut(&mut self) -> &mut OctetString
fn as_mut(&mut self) -> &mut OctetString
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<OctetString> for SubjectKeyIdentifier
impl<'a> AsRef<OctetString> for SubjectKeyIdentifier
Source§fn as_ref(&self) -> &OctetString
fn as_ref(&self) -> &OctetString
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for SubjectKeyIdentifier
impl AssociatedOid for SubjectKeyIdentifier
Source§const OID: ObjectIdentifier = ID_CE_SUBJECT_KEY_IDENTIFIER
const OID: ObjectIdentifier = ID_CE_SUBJECT_KEY_IDENTIFIER
The OID associated with this type.
Source§impl Clone for SubjectKeyIdentifier
impl Clone for SubjectKeyIdentifier
Source§impl Criticality for SubjectKeyIdentifier
impl Criticality for SubjectKeyIdentifier
Source§impl Debug for SubjectKeyIdentifier
impl Debug for SubjectKeyIdentifier
Source§impl<'a> DecodeValue<'a> for SubjectKeyIdentifier
impl<'a> DecodeValue<'a> for SubjectKeyIdentifier
Source§impl<'a> EncodeValue for SubjectKeyIdentifier
impl<'a> EncodeValue for SubjectKeyIdentifier
impl Eq for SubjectKeyIdentifier
Source§impl<'a> FixedTag for SubjectKeyIdentifier
impl<'a> FixedTag for SubjectKeyIdentifier
Source§impl<'a> From<OctetString> for SubjectKeyIdentifier
impl<'a> From<OctetString> for SubjectKeyIdentifier
Source§fn from(value: OctetString) -> Self
fn from(value: OctetString) -> Self
Converts to this type from the input type.
Source§impl<'a> From<SubjectKeyIdentifier> for OctetString
impl<'a> From<SubjectKeyIdentifier> for OctetString
Source§fn from(value: SubjectKeyIdentifier) -> Self
fn from(value: SubjectKeyIdentifier) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SubjectKeyIdentifier
impl PartialEq for SubjectKeyIdentifier
impl StructuralPartialEq for SubjectKeyIdentifier
Source§impl<'a> TryFrom<SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>> for SubjectKeyIdentifier
impl<'a> TryFrom<SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>> for SubjectKeyIdentifier
Auto Trait Implementations§
impl Freeze for SubjectKeyIdentifier
impl RefUnwindSafe for SubjectKeyIdentifier
impl Send for SubjectKeyIdentifier
impl Sync for SubjectKeyIdentifier
impl Unpin for SubjectKeyIdentifier
impl UnsafeUnpin for SubjectKeyIdentifier
impl UnwindSafe for SubjectKeyIdentifier
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
Source§type Error = <T as DecodeValue<'a>>::Error
type Error = <T as DecodeValue<'a>>::Error
Type returned in the event of a decoding error.
Source§fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
Attempt to decode this TLV message using the provided decoder. Read more
impl<T> DecodeOwned for Twhere
T: for<'a> Decode<'a>,
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 T
impl<T> Encode for T
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this TLV object in bytes when encoded as ASN.1 DER. Read more
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 TLV object to the provided byte slice, returning a sub-slice
containing the encoded message. Read more
Source§impl<T> IsConstructed for T
impl<T> IsConstructed for T
Source§const CONSTRUCTED: bool
const CONSTRUCTED: bool
ASN.1 constructed bit