Source code for SpringCoreHCE.exe. More...
Public Member Functions | |
void | main (string[] args) |
override bool | AfterParseArgs (string[] args, int optind) |
override bool | OnParseArg (int c, string arg) |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override void | Banner () |
override void | Usage () |
Public Member Functions inherited from SpringCoreDirectCli.SpringCoreProgram | |
bool | DetectCompanionService () |
DirectDevice | CreateAndOpenDevice (List< string > devices, int deviceIndex=0, BlockingCollection< DirectDevice.IncomingEvent > eventQueue=null) |
bool | GetDeviceListAndCheckIndex (ref int deviceIndex, bool listDevices, bool lShowDeviceDetails) |
Static Public Member Functions | |
static void | Main (string[] args) |
static void | Main (string[] args) |
static void | Main (string[] args) |
static void | Main (string[] args) |
static void | Main (string[] args) |
static void | Main (string[] args) |
static void | Main (string[] args) |
Static Public Member Functions inherited from SpringCoreDirectCli.SpringCoreProgram | |
static void | WriteTextFile (string FileName, string Content) |
static byte[] | ReadPem (string FileName, string pemHeader) |
static byte[] | ReadRawFile (string FileName) |
static void | WriteRawFile (string FileName, byte[] buffer) |
Protected Types | |
enum | Action { , Unknown, SelfTest, Informations, Statistics, BatteryState, BootloaderFlags, DumpConsts, DumpConfig, DumpTemplates, SealCreate, SealCreateServer, SealCreateSam, SealVerify, SealVerifySam, SealCreateFile, SealVerifyFile, SealSubject, SealSet, SealGet, SealErase, DateTimeGet, DateTimeSet, AuthenticateFactory, AuthenticateAes, ChangeKeyAes, PassToKeyAes, ResetAuthentication, LoadDefaults, SaveDefaults, LockFuses, UnlockFuses, BlankStats, Blank, BlankSerno, BlankAll, Wink, Apply, Reset, Shutdown } |
Protected Types inherited from SpringCoreDirectCli.SpringCoreProgram | |
enum | AccessMode { Direct, Companion, DirectOrCompanion, PCSC } |
Protected Member Functions | |
override bool | OnParseArg (int c, string arg) |
override bool | AfterParseArgs (string[] args, int optind) |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override void | Banner () |
override void | Usage () |
void | main (string[] args) |
override bool | AfterParseArgs (string[] args, int optind) |
override bool | OnParseArg (int c, string arg) |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override void | Banner () |
override void | Usage () |
override bool | OnParseArg (int c, string arg) |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override void | Banner () |
override void | Usage () |
override bool | OnParseArg (int c, string arg) |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override void | Banner () |
override void | Usage () |
override void | Banner () |
override void | Usage () |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override bool | OnParseArg (int c, string arg) |
override bool | AfterParseArgs (string[] args, int optind) |
void | main (string[] args) |
void | DumpOutput (List< string > lines) |
override void | Banner () |
override void | Usage () |
override void | OverrideArgsOptions (ref List< LongOpt > options) |
override void | OverrideArgsString (ref string optstring) |
override bool | OnParseArg (int c, string arg) |
override bool | AfterParseArgs (string[] args, int optind) |
Protected Member Functions inherited from SpringCoreDirectCli.SpringCoreProgram | |
void | DisplayBanner () |
void | DisplayVersion () |
void | DisplayVersions () |
void | DisplayUsage () |
void | Help () |
void | Usage_Common (bool includeAuthOptions) |
bool | StartupCommon (string[] args, bool start_without_arguments=false, BlockingCollection< DirectDevice.IncomingEvent > eventQueue=null) |
bool | ParseArgs (string[] args) |
int | CleanupCommon (ExitCode exitCode) |
Additional Inherited Members | |
Public Types inherited from SpringCoreDirectCli.SpringCoreProgram | |
enum | ExitCode { Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40 } |
Error codes returned by the utilities when exiting. More... | |
enum | ExitCode { Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40 } |
Error codes returned by the utilities when exiting. More... | |
enum | ExitCode { Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40, Success = 0, BadArguments = -1, NotAllowedToRun = -2, DeviceNotFound = -3, DeviceRemoved = -4, DeviceOpenFailed = -5, DeviceStartFailed = -6, DeviceStopFailed = -7, DeviceExchangeFailed = -8, DeviceSEError = -10, DeviceSEAuthFailed = -11, DeviceSEOperationFailed = -12, FileNotFound = -20, FileInvalid = -21, SamReaderNotFound = -30, SamNotFound = -31, SamOperationFailed = -32, UnknownError = -40 } |
Error codes returned by the utilities when exiting. More... | |
Static Protected Member Functions inherited from SpringCoreDirectCli.SpringCoreProgram | |
static int | Exit (ExitCode exitCode) |
Protected Attributes inherited from SpringCoreDirectCli.SpringCoreProgram | |
bool | doBenchmark = false |
bool | quiet = false |
DirectDevice.ListMode | listMode = DirectDevice.ListMode.UsbDirect |
bool | listDevices = false |
int | deviceIndex = 0 |
string | configFileName = "springcore.cfg" |
CfgFile | configFile |
bool | showDeviceDetails = false |
bool | dontDetectCompanion = false |
bool | dontDetectDevice = false |
bool | authUser = false |
bool | authAdmin = false |
bool | parse_only = false |
byte[] | authKey = null |
DirectDevice | device |
string | wildcard |
string | SuccessMessage = "Success" |
string | FailedMessage = "Failed" |
AccessMode | accessMode = AccessMode.Direct |
Source code for SpringCoreHCE.exe.
Source code for SpringCoreTool.exe.
Source code for SpringCoreSE.exe.
Source code for SpringCoreRDR.exe.