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 for AttributeValues
impl PartialEq for AttributeValues
impl StructuralPartialEq for AttributeValues
Auto Trait Implementations§
impl Freeze for AttributeValues
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