pub enum AttributeValues {
Extensions(Asn1SetOf<Extensions>),
ContentType(Asn1SetOf<ObjectIdentifierAsn1>),
SpcStatementType(Asn1SetOf<Asn1SequenceOf<ObjectIdentifierAsn1>>),
MessageDigest(Asn1SetOf<OctetStringAsn1>),
SigningTime(Asn1SetOf<UtcTimeAsn1>),
Custom(Asn1RawDer),
}
Expand description
Accepted attribute types are challengePassword
(TODO), extensionRequest
,
contentType
, messageDigest
and spcSpOpusInfo
spcSpOpusInfo
is behind the pkcs7
feature.
contentType
, messageDigest
, spcSpOpusInfo
and SigningTime
are used for microsoft authenticode
Variants§
Extensions(Asn1SetOf<Extensions>)
extensionRequest
ContentType(Asn1SetOf<ObjectIdentifierAsn1>)
SpcStatementType(Asn1SetOf<Asn1SequenceOf<ObjectIdentifierAsn1>>)
MessageDigest(Asn1SetOf<OctetStringAsn1>)
SigningTime(Asn1SetOf<UtcTimeAsn1>)
Custom(Asn1RawDer)
Trait Implementations§
source§impl Clone for AttributeValues
impl Clone for AttributeValues
source§fn clone(&self) -> AttributeValues
fn clone(&self) -> AttributeValues
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 AttributeValues
impl Debug for AttributeValues
source§impl PartialEq<AttributeValues> for AttributeValues
impl PartialEq<AttributeValues> for AttributeValues
source§fn eq(&self, other: &AttributeValues) -> bool
fn eq(&self, other: &AttributeValues) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeValues
Auto Trait Implementations§
impl RefUnwindSafe for AttributeValues
impl Send for AttributeValues
impl Sync for AttributeValues
impl Unpin for AttributeValues
impl UnwindSafe for AttributeValues
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