Enum hsmtool::util::attribute::AttributeType
source · #[repr(u64)]pub enum AttributeType {
Show 106 variants
Class,
Token,
Private,
Label,
Application,
Value,
ObjectId,
CertificateType,
Issuer,
SerialNumber,
AcIssuer,
Owner,
AttrTypes,
Trusted,
CertificateCategory,
JavaMidpSecurityDomain,
Url,
HashOfSubjectPublicKey,
HashOfIssuerPublicKey,
NameHashAlgorithm,
CheckValue,
KeyType,
Subject,
Id,
Sensitive,
Encrypt,
Decrypt,
Wrap,
Unwrap,
Sign,
SignRecover,
Verify,
VerifyRecover,
Derive,
StartDate,
EndDate,
Modulus,
ModulusBits,
PublicExponent,
PrivateExponent,
Prime1,
Prime2,
Exponent1,
Exponent2,
Coefficient,
PublicKeyInfo,
Prime,
Subprime,
Base,
PrimeBits,
SubPrimeBits,
ValueBits,
ValueLen,
Extractable,
Local,
NeverExtractable,
AlwaysSensitive,
KeyGenMechanism,
Modifiable,
Copyable,
Destroyable,
EcParams,
EcPoint,
SecondaryAuth,
AuthPinFlags,
AlwaysAuthenticate,
WrapWithTrusted,
OtpFormat,
OtpLength,
OtpTimeInterval,
OtpUserFriendlyMode,
OtpChallengeRequirement,
OtpTimeRequirement,
OtpCounterRequirement,
OtpPinRequirement,
OtpUserIdentifier,
OtpServiceIdentifier,
OtpServiceLogo,
OtpServiceLogoType,
OtpCounter,
OtpTime,
Gostr3410Params,
Gostr3411Params,
Gost28147Params,
HwFeatureType,
ResetOnInit,
HasReset,
PixelX,
PixelY,
Resolution,
CharRows,
CharColumns,
Color,
BitsPerPixel,
CharSets,
EncodingMethods,
MimeTypes,
MechanismType,
RequiredCmsAttributes,
DefaultCmsAttributes,
SupportedCmsAttributes,
WrapTemplate,
UnwrapTemplate,
DeriveTemplate,
AllowedMechanisms,
UnknownAttributeType(u64),
}
Variants§
Class
Token
Private
Label
Application
Value
ObjectId
CertificateType
Issuer
SerialNumber
AcIssuer
Owner
AttrTypes
Trusted
CertificateCategory
JavaMidpSecurityDomain
Url
HashOfSubjectPublicKey
HashOfIssuerPublicKey
NameHashAlgorithm
CheckValue
KeyType
Subject
Id
Sensitive
Encrypt
Decrypt
Wrap
Unwrap
Sign
SignRecover
Verify
VerifyRecover
Derive
StartDate
EndDate
Modulus
ModulusBits
PublicExponent
PrivateExponent
Prime1
Prime2
Exponent1
Exponent2
Coefficient
PublicKeyInfo
Prime
Subprime
Base
PrimeBits
SubPrimeBits
ValueBits
ValueLen
Extractable
Local
NeverExtractable
AlwaysSensitive
KeyGenMechanism
Modifiable
Copyable
Destroyable
EcParams
EcPoint
SecondaryAuth
AuthPinFlags
AlwaysAuthenticate
WrapWithTrusted
OtpFormat
OtpLength
OtpTimeInterval
OtpUserFriendlyMode
OtpChallengeRequirement
OtpTimeRequirement
OtpCounterRequirement
OtpPinRequirement
OtpUserIdentifier
OtpServiceIdentifier
OtpServiceLogo
OtpServiceLogoType
OtpCounter
OtpTime
Gostr3410Params
Gostr3411Params
Gost28147Params
HwFeatureType
ResetOnInit
HasReset
PixelX
PixelY
Resolution
CharRows
CharColumns
Color
BitsPerPixel
CharSets
EncodingMethods
MimeTypes
MechanismType
RequiredCmsAttributes
DefaultCmsAttributes
SupportedCmsAttributes
WrapTemplate
UnwrapTemplate
DeriveTemplate
AllowedMechanisms
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<AttributeType> for AttributeType
impl PartialEq<AttributeType> for AttributeType
source§fn eq(&self, other: &AttributeType) -> bool
fn eq(&self, other: &AttributeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 StructuralEq for AttributeType
impl StructuralPartialEq for AttributeType
Auto Trait Implementations§
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 Twhere
T: Serialize + ?Sized,
impl<T> Annotate for Twhere T: Serialize + ?Sized,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.