pub enum SignerIdentifier<'a> {
IssuerAndSerial {
issuer: Name<'a>,
serial: Integer<'a>,
},
SubjectKeyIdentifier(Octets<'a>),
}Expand description
The identity actually selected by the document, without certificate selection.
Variants§
IssuerAndSerial
The issuer’s distinguished name and original certificate serial.
Fields
SubjectKeyIdentifier(Octets<'a>)
Logical identifier octets, preserving any BER segmentation.
Implementations§
Source§impl<'a> SignerIdentifier<'a>
impl<'a> SignerIdentifier<'a>
Sourcepub fn required_version(&self) -> u64
pub fn required_version(&self) -> u64
The version required by this CHOICE (RFC5652 §5.3).
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for SignerIdentifier<'a>
impl<'a> !RefUnwindSafe for SignerIdentifier<'a>
impl<'a> !Send for SignerIdentifier<'a>
impl<'a> !Sync for SignerIdentifier<'a>
impl<'a> !UnwindSafe for SignerIdentifier<'a>
impl<'a> Unpin for SignerIdentifier<'a>
impl<'a> UnsafeUnpin for SignerIdentifier<'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