Java Doc for Main.java in  » 6.0-JDK-Modules » j2me » wim_data » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » wim_data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   wim_data.Main

Main
public class Main (Code)
This class represents WIM file system generator. It produces file Data.java that can be used with WIM emulator. File system parameters are defined using fields of this class.


Field Summary
 short[]AODF
     Path to AODF.
static  byte[]CACertificate
     CA certificate (MIDP 2.0 RI keystore, alias dummyca).
 shortCDFSpace
     Size in bytes of CDF files for user and useful certificates.
 short[]DataFile
     Path to empty space.
 shortFreeSpace
     Size of empty space.
 booleanIncludeRoot
     If true, EF(ODF) contains entry with root directory path.
 Key[]Keys
     Pre-generated key pairs.
 short[]ODF
     Path to ODF.
 short[]PINDF
     DF for PIN verification.
 PIN[]PINs
     PINs.
 short[]PrKDF
     Path to PrKDF.
 short[]PuKDF
     Path to PuKDF.
 byteRSA_ALGORITHM_ID
     RSA algorithm ID.
 byte[]SerialNumber
     Serial number.
 short[]TokenInfo
     Path to EF(TokenInfo).
 short[]TrustedCDF
     Path to CDF for trusted certificates.
 short[]TrustedCerts
     Path to file with trusted certificates.
 short[]UnusedSpace
    
 short[]UsefulCDF
     Path to CDF for useful certificates.
 short[]UserCDF
     Path to CDF for user certificates.
 short[]WIMDF
     WIM root DF.
 byteWIM_GENERIC_RSA_ID
     WIM GENERIC RSA security environment ID.
 intfreeKeySlots
     The number of keys that can be generated.
 intfreePINSlots
     The number of PINs that can be added.
 FileSystemfs
     File system.
 PrintStreamlog
     Stream for debug output.
 StringmanufacturerID
     WIM manifacturer ID.
 shortnewFileID
     Identifier of file for new key.
 bytenewKeyID
     Identifier for new key.
 intnewPINID
     Identifier of new PIN.
 intnewPINRef
     Reference of new PIN.
 PrintStreamsrc
     Stream for results.
 StringtokenLabel
     WIM token label.


Method Summary
public  voidAODF()
     Generates AODF file.
public  voidKeys()
     Generates all necessary data structures for keys.
public  voidODF()
     Generates ODF file.
public  voidTokenInfo()
     Generates EF(TokenInfo) file.
public  voidTrustedCerts()
     Generates file with trusted certificates.
public  voidUnused()
     Generates UnusedSpace file.
public  voidUserCerts()
     Generates user certificate files.
public static  voidmain(String[] args)
     Main entry point.
public  voidrun(String[] args)
     Generates the data.

Field Detail
AODF
short[] AODF(Code)
Path to AODF.



CACertificate
static byte[] CACertificate(Code)
CA certificate (MIDP 2.0 RI keystore, alias dummyca).



CDFSpace
short CDFSpace(Code)
Size in bytes of CDF files for user and useful certificates.



DataFile
short[] DataFile(Code)
Path to empty space.



FreeSpace
short FreeSpace(Code)
Size of empty space.



IncludeRoot
boolean IncludeRoot(Code)
If true, EF(ODF) contains entry with root directory path.



Keys
Key[] Keys(Code)
Pre-generated key pairs.



ODF
short[] ODF(Code)
Path to ODF.



PINDF
short[] PINDF(Code)
DF for PIN verification.



PINs
PIN[] PINs(Code)
PINs.



PrKDF
short[] PrKDF(Code)
Path to PrKDF.



PuKDF
short[] PuKDF(Code)
Path to PuKDF.



RSA_ALGORITHM_ID
byte RSA_ALGORITHM_ID(Code)
RSA algorithm ID.



SerialNumber
byte[] SerialNumber(Code)
Serial number.



TokenInfo
short[] TokenInfo(Code)
Path to EF(TokenInfo).



TrustedCDF
short[] TrustedCDF(Code)
Path to CDF for trusted certificates.



TrustedCerts
short[] TrustedCerts(Code)
Path to file with trusted certificates.



UnusedSpace
short[] UnusedSpace(Code)
Path to EF(UnusedSpace)



UsefulCDF
short[] UsefulCDF(Code)
Path to CDF for useful certificates.



UserCDF
short[] UserCDF(Code)
Path to CDF for user certificates.



WIMDF
short[] WIMDF(Code)
WIM root DF.



WIM_GENERIC_RSA_ID
byte WIM_GENERIC_RSA_ID(Code)
WIM GENERIC RSA security environment ID.



freeKeySlots
int freeKeySlots(Code)
The number of keys that can be generated.



freePINSlots
int freePINSlots(Code)
The number of PINs that can be added.



fs
FileSystem fs(Code)
File system.



log
PrintStream log(Code)
Stream for debug output.



manufacturerID
String manufacturerID(Code)
WIM manifacturer ID.



newFileID
short newFileID(Code)
Identifier of file for new key.



newKeyID
byte newKeyID(Code)
Identifier for new key.



newPINID
int newPINID(Code)
Identifier of new PIN.



newPINRef
int newPINRef(Code)
Reference of new PIN.



src
PrintStream src(Code)
Stream for results.



tokenLabel
String tokenLabel(Code)
WIM token label.





Method Detail
AODF
public void AODF() throws IOException(Code)
Generates AODF file.
throws:
  IOException - if this exception occurs



Keys
public void Keys() throws NoSuchAlgorithmException, IOException(Code)
Generates all necessary data structures for keys.
throws:
  NoSuchAlgorithmException - if this exception occurs
throws:
  IOException - if this exception occurs



ODF
public void ODF()(Code)
Generates ODF file.



TokenInfo
public void TokenInfo()(Code)
Generates EF(TokenInfo) file.



TrustedCerts
public void TrustedCerts() throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException(Code)
Generates file with trusted certificates.
throws:
  IOException - if this exception occurs
throws:
  KeyStoreException - if this exception occurs
throws:
  CertificateException - if this exception occurs
throws:
  NoSuchAlgorithmException - if this exception occurs



Unused
public void Unused()(Code)
Generates UnusedSpace file.



UserCerts
public void UserCerts()(Code)
Generates user certificate files.



main
public static void main(String[] args) throws Exception(Code)
Main entry point.
Parameters:
  args - command line arguments



run
public void run(String[] args) throws KeyStoreException, CertificateException, IOException, NoSuchAlgorithmException(Code)
Generates the data.
throws:
  KeyStoreException - if this exception occurs
throws:
  CertificateException - if this exception occurs
throws:
  IOException - if this exception occurs
throws:
  NoSuchAlgorithmException - if this exception occurs



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.