#[repr(u64)]pub enum AttributeType {
Show 106 variants
Class = 0,
Token = 1,
Private = 2,
Label = 3,
Application = 16,
Value = 17,
ObjectId = 18,
CertificateType = 128,
Issuer = 129,
SerialNumber = 130,
AcIssuer = 131,
Owner = 132,
AttrTypes = 133,
Trusted = 134,
CertificateCategory = 135,
JavaMidpSecurityDomain = 136,
Url = 137,
HashOfSubjectPublicKey = 138,
HashOfIssuerPublicKey = 139,
NameHashAlgorithm = 140,
CheckValue = 144,
KeyType = 256,
Subject = 257,
Id = 258,
Sensitive = 259,
Encrypt = 260,
Decrypt = 261,
Wrap = 262,
Unwrap = 263,
Sign = 264,
SignRecover = 265,
Verify = 266,
VerifyRecover = 267,
Derive = 268,
StartDate = 272,
EndDate = 273,
Modulus = 288,
ModulusBits = 289,
PublicExponent = 290,
PrivateExponent = 291,
Prime1 = 292,
Prime2 = 293,
Exponent1 = 294,
Exponent2 = 295,
Coefficient = 296,
PublicKeyInfo = 297,
Prime = 304,
Subprime = 305,
Base = 306,
PrimeBits = 307,
SubPrimeBits = 308,
ValueBits = 352,
ValueLen = 353,
Extractable = 354,
Local = 355,
NeverExtractable = 356,
AlwaysSensitive = 357,
KeyGenMechanism = 358,
Modifiable = 368,
Copyable = 369,
Destroyable = 370,
EcParams = 384,
EcPoint = 385,
SecondaryAuth = 512,
AuthPinFlags = 513,
AlwaysAuthenticate = 514,
WrapWithTrusted = 528,
OtpFormat = 544,
OtpLength = 545,
OtpTimeInterval = 546,
OtpUserFriendlyMode = 547,
OtpChallengeRequirement = 548,
OtpTimeRequirement = 549,
OtpCounterRequirement = 550,
OtpPinRequirement = 551,
OtpUserIdentifier = 554,
OtpServiceIdentifier = 555,
OtpServiceLogo = 556,
OtpServiceLogoType = 557,
OtpCounter = 558,
OtpTime = 559,
Gostr3410Params = 592,
Gostr3411Params = 593,
Gost28147Params = 594,
HwFeatureType = 768,
ResetOnInit = 769,
HasReset = 770,
PixelX = 1_024,
PixelY = 1_025,
Resolution = 1_026,
CharRows = 1_027,
CharColumns = 1_028,
Color = 1_029,
BitsPerPixel = 1_030,
CharSets = 1_152,
EncodingMethods = 1_153,
MimeTypes = 1_154,
MechanismType = 1_280,
RequiredCmsAttributes = 1_281,
DefaultCmsAttributes = 1_282,
SupportedCmsAttributes = 1_283,
WrapTemplate = 1_073_742_353,
UnwrapTemplate = 1_073_742_354,
DeriveTemplate = 1_073_742_355,
AllowedMechanisms = 1_073_743_360,
UnknownAttributeType(u64),
}
Variants§
Class = 0
Token = 1
Private = 2
Label = 3
Application = 16
Value = 17
ObjectId = 18
CertificateType = 128
Issuer = 129
SerialNumber = 130
AcIssuer = 131
Owner = 132
AttrTypes = 133
Trusted = 134
CertificateCategory = 135
JavaMidpSecurityDomain = 136
Url = 137
HashOfSubjectPublicKey = 138
HashOfIssuerPublicKey = 139
NameHashAlgorithm = 140
CheckValue = 144
KeyType = 256
Subject = 257
Id = 258
Sensitive = 259
Encrypt = 260
Decrypt = 261
Wrap = 262
Unwrap = 263
Sign = 264
SignRecover = 265
Verify = 266
VerifyRecover = 267
Derive = 268
StartDate = 272
EndDate = 273
Modulus = 288
ModulusBits = 289
PublicExponent = 290
PrivateExponent = 291
Prime1 = 292
Prime2 = 293
Exponent1 = 294
Exponent2 = 295
Coefficient = 296
PublicKeyInfo = 297
Prime = 304
Subprime = 305
Base = 306
PrimeBits = 307
SubPrimeBits = 308
ValueBits = 352
ValueLen = 353
Extractable = 354
Local = 355
NeverExtractable = 356
AlwaysSensitive = 357
KeyGenMechanism = 358
Modifiable = 368
Copyable = 369
Destroyable = 370
EcParams = 384
EcPoint = 385
SecondaryAuth = 512
AuthPinFlags = 513
AlwaysAuthenticate = 514
WrapWithTrusted = 528
OtpFormat = 544
OtpLength = 545
OtpTimeInterval = 546
OtpUserFriendlyMode = 547
OtpChallengeRequirement = 548
OtpTimeRequirement = 549
OtpCounterRequirement = 550
OtpPinRequirement = 551
OtpUserIdentifier = 554
OtpServiceIdentifier = 555
OtpServiceLogo = 556
OtpServiceLogoType = 557
OtpCounter = 558
OtpTime = 559
Gostr3410Params = 592
Gostr3411Params = 593
Gost28147Params = 594
HwFeatureType = 768
ResetOnInit = 769
HasReset = 770
PixelX = 1_024
PixelY = 1_025
Resolution = 1_026
CharRows = 1_027
CharColumns = 1_028
Color = 1_029
BitsPerPixel = 1_030
CharSets = 1_152
EncodingMethods = 1_153
MimeTypes = 1_154
MechanismType = 1_280
RequiredCmsAttributes = 1_281
DefaultCmsAttributes = 1_282
SupportedCmsAttributes = 1_283
WrapTemplate = 1_073_742_353
UnwrapTemplate = 1_073_742_354
DeriveTemplate = 1_073_742_355
AllowedMechanisms = 1_073_743_360
UnknownAttributeType(u64)
Trait Implementations§
Source§impl Clone for AttributeType
impl Clone for AttributeType
Source§fn clone(&self) -> AttributeType
fn clone(&self) -> AttributeType
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 AttributeType
impl Debug for AttributeType
Source§impl<'de> Deserialize<'de> for AttributeType
impl<'de> Deserialize<'de> for AttributeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AttributeType
impl Display for AttributeType
Source§impl From<AttributeType> for AttributeType
impl From<AttributeType> for AttributeType
Source§impl From<AttributeType> for u64
impl From<AttributeType> for u64
Source§fn from(enum_value: AttributeType) -> Self
fn from(enum_value: AttributeType) -> Self
Converts to this type from the input type.
Source§impl From<u64> for AttributeType
impl From<u64> for AttributeType
Source§impl FromPrimitive for AttributeType
impl FromPrimitive for AttributeType
Source§impl FromStr for AttributeType
impl FromStr for AttributeType
Source§impl Hash for AttributeType
impl Hash for AttributeType
Source§impl IntoEnumIterator for AttributeType
impl IntoEnumIterator for AttributeType
Source§impl PartialEq for AttributeType
impl PartialEq for AttributeType
Source§impl Serialize for AttributeType
impl Serialize for AttributeType
Source§impl TryFrom<&str> for AttributeType
impl TryFrom<&str> for AttributeType
Source§impl TryFrom<AttributeType> for AttributeType
impl TryFrom<AttributeType> for AttributeType
impl Copy for AttributeType
impl Eq for AttributeType
impl StructuralPartialEq for AttributeType
Auto Trait Implementations§
impl Freeze for AttributeType
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl UnwindSafe for AttributeType
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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,
§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.