pub enum OriginatorIdentifierOrKey {
IssuerAndSerialNumber(IssuerAndSerialNumber),
SubjectKeyIdentifier(OctetString),
OriginatorKey(OriginatorPublicKey),
}
Expand description
Originator identifier or key.
OriginatorIdentifierOrKey ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier,
originatorKey [1] OriginatorPublicKey }
Variants§
IssuerAndSerialNumber(IssuerAndSerialNumber)
SubjectKeyIdentifier(OctetString)
OriginatorKey(OriginatorPublicKey)
Trait Implementations§
source§impl Clone for OriginatorIdentifierOrKey
impl Clone for OriginatorIdentifierOrKey
source§fn clone(&self) -> OriginatorIdentifierOrKey
fn clone(&self) -> OriginatorIdentifierOrKey
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 OriginatorIdentifierOrKey
impl Debug for OriginatorIdentifierOrKey
source§impl PartialEq for OriginatorIdentifierOrKey
impl PartialEq for OriginatorIdentifierOrKey
source§fn eq(&self, other: &OriginatorIdentifierOrKey) -> bool
fn eq(&self, other: &OriginatorIdentifierOrKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OriginatorIdentifierOrKey
impl StructuralEq for OriginatorIdentifierOrKey
impl StructuralPartialEq for OriginatorIdentifierOrKey
Auto Trait Implementations§
impl RefUnwindSafe for OriginatorIdentifierOrKey
impl Send for OriginatorIdentifierOrKey
impl Sync for OriginatorIdentifierOrKey
impl Unpin for OriginatorIdentifierOrKey
impl UnwindSafe for OriginatorIdentifierOrKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.