WSCPermittedOperationTag Constants Reference
Declared in | WSCPermittedOperation.h |
WSCPermittedOperationTag
Defines constants that specify operations that can be done with that protected item, such as decrypting, encrypting, sign or authenticating.
Definition
typedef NS_ENUM(NSUInteger, WSCPermittedOperationTag ) {
WSCPermittedOperationTagLogin = 1,
WSCPermittedOperationTagGenerateKey = 1 < < 2,
WSCPermittedOperationTagDelete = 1 < < 3,
WSCPermittedOperationTagEncrypt = 1 < < 4,
WSCPermittedOperationTagDecrypt = 1 < < 5,
WSCPermittedOperationTagExportEncryptedKey = 1 < < 6,
WSCPermittedOperationTagExportUnencryptedKey = 1 < < 7,
WSCPermittedOperationTagImportEncryptedKey = 1 < < 8,
WSCPermittedOperationTagImportUnencryptedKey = 1 < < 9,
WSCPermittedOperationTagSign = 1 < < 10,
WSCPermittedOperationTagCreateOrVerifyMessageAuthCode = 1 < < 11,
WSCPermittedOperationTagDerive = 1 < < 12,
WSCPermittedOperationTagChangePermittedOperationItself = 1 < < 13,
WSCPermittedOperationTagChangeOwner = 1 < < 14,
WSCPermittedOperationTagAnyOperation = 1 < < 15,
};
Constants
WSCPermittedOperationTagLogin
-
Use for a CSP (smart card) login.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagGenerateKey
-
Use for generating a key.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagDelete
-
Use for deleting this protected keychain item.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagEncrypt
-
Use for encrypting data.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagDecrypt
-
Use for decrypting data.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagExportEncryptedKey
-
Use for exporting an encrypted key. This tag is checked on the key being exported; in addition, the
WSCPermittedOperationTagEncrypt
tag is checked for any key used in the encrypting operation.Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagExportUnencryptedKey
-
Use for exporting an unencrypted key.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagImportEncryptedKey
-
Import an encrypted key. This tag is checked on the key being imported; in addition, the
WSCPermittedOperationTagDecrypt
tag is checked for any key used in the decrypting operation.Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagImportUnencryptedKey
-
Use for importing an unencrypted key.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagSign
-
Use for digitally signing data.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagCreateOrVerifyMessageAuthCode
-
Use for creating or verifying a message authentication code.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagDerive
-
Use for deriving a new key from another key.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagChangePermittedOperationItself
-
Use for changing the permitted operation itself.
Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagChangeOwner
-
For internal system use only. Use the
WSCPermittedOperationTagChangePermittedOperationItself
tag for changes to owner permitted operation entries.Declared In
WSCPermittedOperation.h
. WSCPermittedOperationTagAnyOperation
-
No restrictions. This permitted operation entry applies to all operations available to the caller.
Declared In
WSCPermittedOperation.h
.
Declared In
WSCPermittedOperation.h