Enum FinSecurityMediaCaps
A set of flags that indicate the capabilities of a security media.
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
[Flags]
public enum FinSecurityMediaCaps
Fields
Name | Description |
---|---|
CanChangeUserKeys | The security media supports changing the user keys by keeping additional user key sets. This implies that keys can be generated through GenerateKey(FinContact, FinSecureKeyType, Int32, Int32, Int32) and can be activated through the ElevateKey(FinContact, FinSecureKey, FinSecureKeyState) methods. If this flag is not included, then only a single user key set exists on the security media. |
CanCreate | The security media can be created through the Create(String, String, String) method. |
CanGenerateUserKeys | The security media can generate new user keys through the GenerateKey(FinContact, FinSecureKeyType, Int32, Int32, Int32) method. If this capability is not supported the security media is assumed to contain a fixed set of user keys. If this capability is supported, the CanUpdateUserKeys capability must also be supported. |
CanStoreBankKeys | The security media can store bank keys through the StoreKey(FinContact, FinSecureKey) and also erase them through the EraseKey(FinContact, FinSecureKey) method. In addition the state of the bank keys can be changed through the ElevateKey(FinContact, FinSecureKey, FinSecureKeyState), and ResetKey(FinContact, FinSecureKey) methods. If this capability is not supported the security media may still hold a fixed set of bank keys that can be read through ObtainKey(FinContact, FinSecureKeyType, Int32, Int32). |
CanStoreContact | The security media can store and erase contact data through the StoreContact(Int32, FinContact), and EraseContact(Int32) methods. Even if this capability is not supported, the security media still may contain contact data that can be read through ObtainContact(Int32), but cannot be changed. |
CanUpdateUserKeys | The security media can update the state of the user keys through the ElevateKey(FinContact, FinSecureKey, FinSecureKeyState), and ResetKey(FinContact, FinSecureKey) methods. |
CanVerifyEncrypt | The security media supports the Verify(FinContact, FinSecureKey, FinOperationMode, FinHash, Byte[], Byte[]) and Encrypt(FinContact, FinSecureKey, FinOperationMode, Byte[]) methods. If this flag is included all verification and encryption must be delegated to the security media. If this is not included, then verification and encryption must be done using the bank keys in software alone. |
None | No particular flags apply. |