pub enum Function {
Show 68 variants
Initialize,
Finalize,
GetInfo,
GetFunctionList,
GetSlotList,
GetSlotInfo,
GetTokenInfo,
GetMechanismList,
GetMechanismInfo,
InitToken,
InitPIN,
SetPIN,
OpenSession,
CloseSession,
CloseAllSessions,
GetSessionInfo,
GetOperationState,
SetOperationState,
Login,
Logout,
CreateObject,
CopyObject,
DestroyObject,
GetObjectSize,
GetAttributeValue,
SetAttributeValue,
FindObjectsInit,
FindObjects,
FindObjectsFinal,
EncryptInit,
Encrypt,
EncryptUpdate,
EncryptFinal,
DecryptInit,
Decrypt,
DecryptUpdate,
DecryptFinal,
DigestInit,
Digest,
DigestUpdate,
DigestKey,
DigestFinal,
SignInit,
Sign,
SignUpdate,
SignFinal,
SignRecoverInit,
SignRecover,
VerifyInit,
Verify,
VerifyUpdate,
VerifyFinal,
VerifyRecoverInit,
VerifyRecover,
DigestEncryptUpdate,
DecryptDigestUpdate,
SignEncryptUpdate,
DecryptVerifyUpdate,
GenerateKey,
GenerateKeyPair,
WrapKey,
UnwrapKey,
DeriveKey,
SeedRandom,
GenerateRandom,
GetFunctionStatus,
CancelFunction,
WaitForSlotEvent,
}
Expand description
Enumeration of all functions defined by the PKCS11 spec
Variants§
Initialize
Finalize
GetInfo
GetFunctionList
GetSlotList
GetSlotInfo
GetTokenInfo
GetMechanismList
GetMechanismInfo
InitToken
InitPIN
SetPIN
OpenSession
CloseSession
CloseAllSessions
GetSessionInfo
GetOperationState
SetOperationState
Login
Logout
CreateObject
CopyObject
DestroyObject
GetObjectSize
GetAttributeValue
SetAttributeValue
FindObjectsInit
FindObjects
FindObjectsFinal
EncryptInit
Encrypt
EncryptUpdate
EncryptFinal
DecryptInit
Decrypt
DecryptUpdate
DecryptFinal
DigestInit
Digest
DigestUpdate
DigestKey
DigestFinal
SignInit
Sign
SignUpdate
SignFinal
SignRecoverInit
SignRecover
VerifyInit
Verify
VerifyUpdate
VerifyFinal
VerifyRecoverInit
VerifyRecover
DigestEncryptUpdate
DecryptDigestUpdate
SignEncryptUpdate
DecryptVerifyUpdate
GenerateKey
GenerateKeyPair
WrapKey
UnwrapKey
DeriveKey
SeedRandom
GenerateRandom
GetFunctionStatus
CancelFunction
WaitForSlotEvent
Trait Implementations§
impl Copy for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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