Java Doc for KeyStoreUtil.java in  » ERP-CRM-Financial » SourceTap-CRM » org » ofbiz » base » util » 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 » ERP CRM Financial » SourceTap CRM » org.ofbiz.base.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ofbiz.base.util.KeyStoreUtil

KeyStoreUtil
public class KeyStoreUtil (Code)
KeyStoreUtil - Utilities for getting KeyManagers and TrustManagers
author:
   Andy Zeneski
version:
   $Revision: 1.6 $
since:
   3.0


Field Summary
final public static  Stringmodule
    


Method Summary
public static  StringcertToString(Certificate cert)
    
public static  KeyPaircreateDHKeyPair()
    
public static  KeyStorecreateKeyStore(String fileName, String password)
    
public static  SecretKeygenerateSecretKey(PrivateKey ourKey, PublicKey theirKey)
    
public static  KeyPairgetKeyPair(String alias, String password)
    
public static  KeyStoregetKeyStore()
    
public static  StringgetKeyStoreFileName()
    
public static  StringgetKeyStorePassword()
    
public static  StringgetKeyStoreType()
    
public static  KeyStoregetTrustStore()
    
public static  StringgetTrustStoreFileName()
    
public static  StringgetTrustStorePassword()
    
public static  StringgetTrustStoreType()
    
public static  voidimportPKCS8CertChain(KeyStore ks, String alias, byte[] keyBytes, String keyPass, byte[] certChain)
    
public static  booleankeyStoreExists(String fileName)
    
public static  PrivateKeyreadDHPrivateKey(byte[] keyBytes)
    
public static  PublicKeyreadDHPublicKey(byte[] keyBytes)
    
public static  voidrenameKeyStoreEntry(String fromAlias, String toAlias)
    
public static  voidsaveKeyStore(KeyStore ks)
    
public static  voidsaveTrustStore(KeyStore ks)
    
public static  voidstoreCertificate(String alias, Certificate cert)
    
public static  voidstoreKeyPair(KeyPair keyPair, String alias, String password)
    
public static  CertificatestringToCert(String certString)
    

Field Detail
module
final public static String module(Code)





Method Detail
certToString
public static String certToString(Certificate cert) throws CertificateEncodingException(Code)



createDHKeyPair
public static KeyPair createDHKeyPair() throws Exception(Code)



createKeyStore
public static KeyStore createKeyStore(String fileName, String password) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException(Code)



generateSecretKey
public static SecretKey generateSecretKey(PrivateKey ourKey, PublicKey theirKey) throws Exception(Code)



getKeyPair
public static KeyPair getKeyPair(String alias, String password) throws Exception(Code)



getKeyStore
public static KeyStore getKeyStore() throws IOException, GeneralSecurityException(Code)



getKeyStoreFileName
public static String getKeyStoreFileName()(Code)



getKeyStorePassword
public static String getKeyStorePassword()(Code)



getKeyStoreType
public static String getKeyStoreType()(Code)



getTrustStore
public static KeyStore getTrustStore() throws IOException, GeneralSecurityException(Code)



getTrustStoreFileName
public static String getTrustStoreFileName()(Code)



getTrustStorePassword
public static String getTrustStorePassword()(Code)



getTrustStoreType
public static String getTrustStoreType()(Code)



importPKCS8CertChain
public static void importPKCS8CertChain(KeyStore ks, String alias, byte[] keyBytes, String keyPass, byte[] certChain) throws InvalidKeySpecException, NoSuchAlgorithmException, CertificateException, KeyStoreException(Code)



keyStoreExists
public static boolean keyStoreExists(String fileName)(Code)



readDHPrivateKey
public static PrivateKey readDHPrivateKey(byte[] keyBytes) throws NoSuchAlgorithmException, InvalidKeySpecException(Code)



readDHPublicKey
public static PublicKey readDHPublicKey(byte[] keyBytes) throws NoSuchAlgorithmException, InvalidKeySpecException(Code)



renameKeyStoreEntry
public static void renameKeyStoreEntry(String fromAlias, String toAlias) throws GeneralSecurityException, IOException(Code)



saveKeyStore
public static void saveKeyStore(KeyStore ks) throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException(Code)



saveTrustStore
public static void saveTrustStore(KeyStore ks) throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException(Code)



storeCertificate
public static void storeCertificate(String alias, Certificate cert) throws Exception(Code)



storeKeyPair
public static void storeKeyPair(KeyPair keyPair, String alias, String password) throws Exception(Code)



stringToCert
public static Certificate stringToCert(String certString) throws CertificateException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.