Siemens TC65 manual Secure Data Transfer, Mode

Page 70

TC65 JAVA User's Guide

Strictly confidential / Released

s

11.1Secure Data Transfer

This feature makes it possible for MIDlets to use safe data links to external communications partners. The specification IMP 2.0 defines two java classes with this characteristic - HTTPSConnection and SecureConnection.

The Siemens implementation follows the recommendations in IMP 2.0:

HTTPSConnection

HTTP over TLS as documented in RFC 2818 and TLS Protocol Version 1.0 as specified in RFC 2246.

SecureConnection

TLS Protocol Version 1.0 as specified in RFC 2246

Two Java Security modes exist for safe data links.

Mode 1:

Java Security not activated

No examination of the server certificate takes place when setting up the connection. The authenticity of the server certificate is not verified. (Figure 40: Mode 1 - Java Security not activated)

Mode 2 (see 11.2.1 Change to Secured Mode):

The server certificate is examined when setting up a connection. Two configurations are valid. The server certificate is identical to the certificate in the module (both certificates are self signed root certificates) or the server certificate forms a chain with the certificate of the module. Thus the authenticity of the server certificate can be examined with the help of the certificate of the module. (Figure 41: Mode 2 - Java Security activated and

Figure 42: Mode 2 - Java Security activated)

 

Server

 

Certificate

 

(X.509)

private key

public key from

owner of the

from owner of

certificate

the certificate

 

no check of

the certificate by the module

 

 

 

TCP/IP Connection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HTTPS Server

 

 

 

 

 

Module

Figure 40: Mode 1 - Java Security not activated

TC65 JAVA User's Guide_V05

Page 70 of 90

26.09.2005

Image 70 Contents
Java Users Guide September 26 Document Name TC65 Java Users GuideTC65 Java Users Guide TC65 Java Users GuideV05Table of Contents Maintenance 3.3.2Debug Environment Compile and Run a Program without a Java IDEJava Security Java Tutorial Differences from the TC45Sun Java Studio Mobility 6 Switching Emulators TablesPreamble Overview New solutionRelated Documents Terms and Abbreviations Abbreviation DescriptionInstallation CD InstallationSystem Requirements 1.2 WTK ComponentsModule Exchange Suite SDK and Java StudioInstalling the Standard Development Toolkit Siemens Mobility Toolkit InstallationInstalling the Smtk Environment Installing Eclipse Installing Borland JBuilder X Installing Sun Java Studio MobilityInstalling Module Exchange Suite MES Smtk Uninstall UpgradesSoftware Platform Software Architecture3 DAC/ADC Interfaces 1 ASC0 Serial DeviceGeneral Purpose I/O 4 ASC1Media JVM InterfacesIP Networking Other InterfacesData Flow of a Java Application Running on the Module ADCHandling Interfaces and Data Service Resources Module StatesState 2 No Java Running, General Purpose I/O and I2C State 1 Default No Java RunningState 4 Default Java Application Active State 3 No Java Running, General Purpose I/O and SPIState 5 Java Application Active, General Purpose I/O and I2C Module State Transitions Maintenance IP ServicePower Saving ChargingShutdown Airplane ModeAlarm Automatic ShutdownSwitching from Data Mode to Command Mode Restart after Switch OffSpecial AT Command Set for Java Applications Mode Indication after MIDlet StartupRestrictions Flash File System Configuration of Serial InterfaceJava Commands MemoryFrequencyB 1 / frequencyA PerformanceJava Duration of each loop = 600 sPin I/O Data Rates on RS-232 APIPlain Serial Interface Voice Call in Parallel75% 63% 55% 33% Scenarios with Gprs ConnectionUpload 65% 55% 33% 16%91% 87% 81% 73% Download85% 78% 58% 48% MIDlets MIDlet Documentation MIDlet Life CycleMIDlet.destroyApp method Hello World MIDlet Here is a sample HelloWorld programModule Exchange Suite Command Line BasedFile Transfer to Module Windows BasedOver the Air Provisioning Security IssuesOtap Introduction to Otap Over The Air Provisioning OtapOtap Overview Parameters Max. Length AT Keyword SM Install/update Delete Otap ParametersShort Message Format Install operationDelete operation Java File Format Procedures Install/Update Delete Time Out Values and Result Codes Tips and Tricks for OtapOtap Tracer SecurityHow To Compile and Run a Program without a Java IDE Build ResultsRun on the Module with Manual Start CompileRun on the Module with Autostart Switch on Autostart Switch off AutostartDebug Environment Data Flow of a Java Application in the Debug EnvironmentEmulator Java IDE Sun Java Studio Mobility 6 2004Q3 Switching emulators Projects Examples TemplatesCompile and run JBuilderX JDK settings Borland JBuilderExamples TC65 Java Users Guide JBuilder2005 JDK settings Eclipse IntegrationEclipse Plug-in installation Eclipse J2ME platform TC65 Java Users GuideV05 26.09.2005 Example Eclipse Project import Eclipse Example Compile and debug Eclipse Create packageEclipse Configuration BreakpointsJava Security Secure Data Transfer ModeAsja Vasecuritycertificate J a va C u r i t y c e r t i f i c a t eCreate a Secure Data Transfer Environment Step by Step Create CA and generate CA Root CertificateSecured mode Unsecured modeExecution Control Generate key pair Change to Secured Mode ConceptBuild binary data for AT command Atsjsec Generate customer root CertificateConcept for the Signing the Java MIDlet Encoded JAR-File HashStructure and Description of the Java Security Commands Application and Data ProtectionStructure of the Java Security Commands General structureBuild Java Security Command Hash SHA1Send Java Security Command to the Module ATSJSEC?Create Java Security Commands Export X.509 Root CertificateCommand switch off module exchange functionality Sign a MIDletJava Tutorial Using the AT Command APIClass ATCommand Instantiation with or without CSD SupportSending an AT Command to the Device, the send Method Data ConnectionsTC65 Java Users Guide Non-blocking ATCommand.send Method ATCommandResponseListener InterfaceSynchronization ATEvents ATCommandListener InterfaceImplementation Registering a Listener with an ATCommand Instance Threads Programming the MIDletExample TC65 Java Users Guide Differences from the TC45
Related manuals
Manual 123 pages 53.3 Kb