Siemens XT75, TC65, AC65, XT65 manual Export X.509 Root Certificate, Create Java Security Commands

Page 110

Java User’s Guide

12.5 Create a Java Security Environment Step by Step

s

12.5Create a Java Security Environment Step by Step

12.5.1Create Key Store

The key store contains the key pairs for signing data. For producing the key store with keys the tool “keytool.exe” can be used. The program is in the Java SDK. (for a description see http:// java.sun.com/j2se/1.3/docs/tooldocs/solaris/keytool.html).

Example:

keytool -genkey -alias keyname -keypass keypassword -keystore customer.ks -storepass keystorepassword -sigalg SHA1withRSA -keyalg RSA

If you want to re-use the key store created in Section 12.1.1 you have to use the alias and pass- words used there.

12.5.2Export X.509 Root Certificate

For exporting the x.509 root certificate use “keytool.exe”. The program is in the Java SDK. (for description see http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/keytool.html)

keytool -export -v -keystore customer.ks -storepass keystorepassword -alias keyname > certificate.der

12.5.3Create Java Security Commands

For producing the java security commands the tool “jseccmd.jar” can be used. This program is in the folder “wkt\bin”.

Command for inserting the Customer Root Certificate

-In consequence of the command

Java security mode: ON (untrusted domain OFF)

HTTPS certificate verification: OFF

MES state: ON

java -jar jseccmd.jar -cmd SetRootCert -certfile certificate.der

-imei 012345678901234 -alias keyname

-storepass keystorepassword -keypass keypassword -keystore customer.ks > SetRootCert.bin

Command for removing the Customer Root Certificate

-In consequence of the command all switches are reset Java security mode: OFF (untrusted domain OFF) HTTPS certificate verification: OFF

MES state: ON

java -jar jseccmd.jar -cmd DelRootCert

-imei 012345678901234 -alias keyname

-storepass keystorepassword -keypass keypassword -keystore customer.ks > DelRootCert.bin

wm_java_usersguide_v12

Page 110 of 123

2008-02-25

Confidential / Released

 

 

Image 110
Contents User’s Guide Java User’s Guide Trademark noticeContent Software PlatformMaintenance UDP GpioCompile and Run a Program without a Java IDE File Transfer to ModuleOver The Air Provisioning Otap Compile and Run a Program with a Java IDEJava Security Java Tutorial 113 Differences to the TC45 123Tables Figures Java User’s Guide Preface Overview Related DocumentsTerms and Abbreviations Abbreviation DescriptionURL Installation System RequirementsInstallation CD for AC65/AC75 and XT65/XT75 Installation CD for TC65 Components Module Exchange Suite 1.2 WTKSDK / JDK NetBeans IDEEclipse 3.1.2 IDE and Eclipse ME Plugin Eclipse 3.2.2 IDE and Eclipse ME Plugin 1.5.5 orGPS Evaluation Software Integrated Documentation Suite IDSJava User’s Guide Step Installing the Smtk Environment Siemens Mobility Toolkit InstallationInstalling the Standard Development Toolkit How to use the Modify or Repair mode Using Eclipse 3.0.1 or Eclipse Installing NetBeans IDE 5.0 / NetBeans IDEInstalling Eclipse 3.0, Eclipse 3.1 or Eclipse Using Eclipse 3.1.0, Eclipse 3.1.1 or EclipseSmtk Uninstall UpgradesSoftware Platform Software Architecture3 DAC/ADC Interfaces 1 ASC0 Serial DeviceGeneral Purpose I/O 4 ASC17 GPS Media JVM InterfacesIP Networking Other InterfacesData Flow of a Java Application Running on the Module Data flow of a Java application running on the moduleModule States Handling Interfaces and Data Service ResourcesState 1 Default No Java Running State 4 Default Java Application Active State 2 No Java Running, General Purpose I/O and I2CModule State Transition Diagram Module State TransitionsMaintenance IP ServiceRemote SIM Access Power SavingCharging Airplane ModeAlarm Automatic Shutdown Restart after Switch OffShutdown Manual ShutdownMode Indication after MIDlet Startup Special AT Command Set for Java ApplicationsSwitching from Data Mode to Command Mode Configuration of Serial InterfaceSystem Out Java CommandsAutoExec Function Serial interfacesGpio File3 UDP Restrictions Flash File SystemDuration of each loop = 600 s PerformanceJava Pin I/O Data Rates on RS-232 APIScenarios with GPRS/EGDE Connection Plain Serial InterfaceVoice Call in Parallel Upload Download Java User’s Guide System Time MIDlets MIDlet Documentation MIDlet Life CycleApplication Management Software MIDlet Hello World MIDlet Here is a sample HelloWorld programWindows Based Command Line BasedFile Transfer to Module Over the Air ProvisioningSecurity Issues OtapOtap Overview Over The Air Provisioning OtapIntroduction to Otap Parameters Max. Length AT Keyword SM Install/update Delete Otap ParametersDelete operation Install operationShort Message Format Java File Format Procedures Install/Update Delete Time Out Values and Result Codes Tips and Tricks for OtapHow To Otap TracerSecurity How To Compile and Run a Program without a Java IDE Build ResultsCompile Run on the Module with Manual StartUsing the graphical autoexecoff.exe tool Switch on AutostartSwitch off Autostart Using the command line tool cmdautoexecoff.exeEclipse 3.1.2 with ME Plugin Setup a New ProjectCompile and Run a Program with a Java IDE Select e.g. TC65 Release 2 emulator Select Project01 and press Ctrl+N and select J2ME Midlet Modify Java source file printme.java template Java User’s Guide Debug Environment Data Flow of a Java Application in the Debug EnvironmentEmulator Java User’s Guide Java IDE NetBeans IDE 5.0, NetBeans 5.5 or NetBeansSwitching Emulator to IMP-NG Emulator NetBeans IDE 5.0 installed emulatorsTemplates Examples NetBeans IDE 5.0 selecting sample project Hello World SampleCompile and Run Starting Debug Session without Downloading Java FilesDisplaying Java System.out in NetBeans IDE window Eclipse 3.0 and Eclipse EclipseEclipse Display of different integrated emulators Switching Emulators Using Eclipse with ME PluginAdditional Configuration of Integrated Emulator Eclipse with ME Plugin 1.5.0 J2ME platform Import Example Open menu File → Import → Existing Project into WorkspaceCompile and Debug Eclipse Create packageEclipse Configuration Starting Debug Session without Downloading Java Files Java User’s Guide JBuilder X JDK settings Borland JBuilderJBuilder X Sample Projects Set the additional emulator parameter -noload and press OK JBuilder 2006 Enterprise/Developer JDK settings Breakpoints JBuilder 2006 Enterprise/Developer Sample ProjectsSwitching Java System.out to IDE Debug Window Important Information for Java Debugging on Windows Vista Java Security Secure Data TransferMode Create a Secure Data Transfer Environment Step by Step Sign certificate request by CA Execute command Convert format ResultExecution Control Unsecured modeSecured mode Standard behavior of the moduleChange to Secured Mode Concept Insert Customer Root CertificatePrepare MIDlet for Secured Mode Concept for the Signing the Java MIDletStructure and Description of the Java Security Commands Application and Data ProtectionStructure of the Java Security Commands Build Java Security Command Build Java Security CommandSend Java Security Command to the Module Connect Jsec Ready Send CommandCreate Java Security Commands Export X.509 Root CertificateCommand switch on Java Security Mode Sign a MIDlet Java Tutorial Using the AT Command APIClass ATCommand Instantiation with or without CSD SupportSending an AT Command to the Device, the send Method Data Connections Wmjavausersguidev12 116 2008-02-25 Confidential / Released Synchronization ATCommandResponseListener InterfaceNon-Blocking ATCommand.send Method ATCommandListener Interface ATEventsImplementation Registering a Listener with an ATCommand Instance Example Programming the MIDletThreads Java User’s Guide Differences to the TC45
Related manuals
Manual 90 pages 14.61 Kb

AC65, XT65, XT75, TC65 specifications

The Siemens TC65 is a compact and powerful GSM/GPRS module designed for a wide range of mobile communication applications. With its robust features, the TC65 perfectly meets the growing demands for connectivity in various industries, including automotive, telematics, and industrial automation.

A standout feature of the TC65 is its compact size, allowing it to be easily integrated into various devices without compromising on performance. The module supports GSM (Global System for Mobile Communications) and GPRS (General Packet Radio Service), providing reliable and efficient voice and data transmission.

One of the key technologies incorporated in the TC65 is its integrated TCP/IP stack, which allows for seamless internet connectivity and enables application developers to create IoT solutions with ease. This capability is essential for remote monitoring, data logging, and other applications that require continuous data exchange.

The TC65 also boasts extensive multimedia capabilities, including support for SMS, MMS, and voice calls. This makes it suitable for applications that require not only data transmission but also communication features. Additionally, it supports various codecs for voice compression, ensuring high-quality audio in voice applications.

Enhanced security features are another highlight of the TC65. It incorporates comprehensive security protocols to safeguard data transmission, making it suitable for sensitive applications in finance, healthcare, and other critical sectors. The module also includes an integrated SIM application toolbox that supports the development of secure and customizable applications.

For developers, the TC65 offers an easy-to-use software development kit (SDK), simplifying the process of application development. This means that businesses can quickly create and deploy solutions tailored to their specific needs.

The module operates across a wide voltage range and is designed to tolerate challenging environmental conditions, making it ideal for industrial use. It supports various interfaces, including UART, GPIO, and I2C, enabling it to connect with a variety of peripherals and sensors, thus expanding its usability.

In summary, the Siemens TC65 combines compact design, versatile communication capabilities, advanced security features, and developer-friendly resources, making it an excellent choice for anyone looking to implement reliable and sophisticated GSM/GPRS communication in their applications. The TC65 is a valuable asset in the evolving landscape of connected devices and IoT solutions.