Enum cryptoki::types::object::Attribute [−][src]
Attribute value
Variants
AllowedMechanisms(Vec<MechanismType>)
List of mechanisms allowed to be used with the key
Base number value of a key
Class(ObjectClass)
Type of an object
Copyable(Bbool)
Determines if an object can be copied
Decrypt(Bbool)
Determines if a key supports decryption
Derive(Bbool)
Determines if it is possible to derive other keys from the key
Encrypt(Bbool)
Determines if a key supports encryption
Extractable(Bbool)
Determines if a key is extractable and can be wrapped
Key identifier for key
KeyType(KeyType)
Type of a key
Description of the object
Modifiable(Bbool)
Determines if the object can be modified
Modulus value of a key
ModulusBits(Ulong)
Length in bits of the modulus of a key
Prime number value of a key
Private(Bbool)
Determines if the object is private
Public exponent value of a key
Sensitive(Bbool)
Determines if the key is sensitive
Sign(Bbool)
Determines if a key supports signing
SignRecover(Bbool)
Determines if a key supports signing where the data can be recovered from the signature
Token(Bbool)
Determines if the object is a token object
Unwrap(Bbool)
Determines if a key supports unwrapping
Value of the object
ValueLen(Ulong)
Length in bytes of the value
Verify(Bbool)
Determines if a key supports verifying
VerifyRecover(Bbool)
Determines if a key supports verifying where the data can be recovered from the signature
Wrap(Bbool)
Determines if a key supports wrapping
Implementations
impl Attribute
[src]
pub fn attribute_type(&self) -> AttributeType
[src]
Get the type of an attribute
Trait Implementations
impl Clone for Attribute
[src]
impl Debug for Attribute
[src]
impl TryFrom<_CK_ATTRIBUTE> for Attribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,