Java Doc for RdpSecure.java in  » Net » Remote-desktop » org » rdesktop » server » rdp » 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 » Net » Remote desktop » org.rdesktop.server.rdp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.rdesktop.server.rdp.RdpSecure

RdpSecure
public class RdpSecure (Code)


Field Summary
final static  intSEC_CLIENT_RANDOM
    
final public static  intSEC_ENCRYPT
    
final static  intSEC_EXPONENT_SIZE
    
final static  intSEC_LICENSE_NEG
    
final public static  intSEC_LOGON_INFO
    
final static  intSEC_MODULUS_SIZE
    
final static  intSEC_PADDING_SIZE
    
final static  intSEC_RANDOM_SIZE
    
 booleanm_licenseIssued
    
protected  RdpProtom_rdpProto
    
 booleanm_readCert
    

Constructor Summary
public  RdpSecure(VChannels channels, RdpProto rdpProto)
    

Method Summary
public  voidRSAEncrypt(int length)
    
public  intavailable()
    
public  voidconnect()
    
public  byte[]decrypt(byte[] data, int length)
    
public  byte[]decrypt(byte[] data)
    
public  voiddisconnect()
    
public  byte[]encrypt(byte[] data, int length)
    
public  byte[]encrypt(byte[] data)
    
public  voidestablishKey()
    
public  voidgenerateRandom()
    
public  voidgenerate_keys(int rc4_key_size)
    
public  intgetUserID()
    
public  byte[]hash16(byte[] in, byte[] salt1, byte[] salt2, int in_position)
    
public  byte[]hash48(byte[] in, byte[] salt1, byte[] salt2, int salt)
    
public  RdpPacketinit(int flags, int length)
    
public  voidmake40bit(byte[] key)
    
public  intparseCryptInfo(RdpPacket data)
    
public  booleanparsePublicKey(RdpPacket data)
    
public  voidprocessCryptInfo(RdpPacket data)
    
public  voidprocessMcsData(RdpPacket mcs_data)
    
public  RdpPacketreceive()
    
public  voidreverse(byte[] data)
    
public  voidreverse(byte[] data, int length)
    
public  voidsend(RdpPacket sec_data, int flags)
    
public  RdpPacketsendMcsData()
    
public  voidsend_to_channel(RdpPacket sec_data, int flags, int channel)
    
public  voidsetLittleEndian32(byte[] data, int value)
    
public  byte[]sign(byte[] session_key, int length, int keylen, byte[] data, int datalength)
    
public  byte[]update(byte[] key, byte[] update_key)
    

Field Detail
SEC_CLIENT_RANDOM
final static int SEC_CLIENT_RANDOM(Code)



SEC_ENCRYPT
final public static int SEC_ENCRYPT(Code)



SEC_EXPONENT_SIZE
final static int SEC_EXPONENT_SIZE(Code)



SEC_LICENSE_NEG
final static int SEC_LICENSE_NEG(Code)



SEC_LOGON_INFO
final public static int SEC_LOGON_INFO(Code)



SEC_MODULUS_SIZE
final static int SEC_MODULUS_SIZE(Code)



SEC_PADDING_SIZE
final static int SEC_PADDING_SIZE(Code)



SEC_RANDOM_SIZE
final static int SEC_RANDOM_SIZE(Code)



m_licenseIssued
boolean m_licenseIssued(Code)



m_rdpProto
protected RdpProto m_rdpProto(Code)



m_readCert
boolean m_readCert(Code)




Constructor Detail
RdpSecure
public RdpSecure(VChannels channels, RdpProto rdpProto)(Code)




Method Detail
RSAEncrypt
public void RSAEncrypt(int length) throws RdpDesktopException(Code)



available
public int available() throws java.io.IOException(Code)



connect
public void connect() throws UnknownHostException, IOException, RdpDesktopException, SocketException, CryptoException, RdpOrderException(Code)



decrypt
public byte[] decrypt(byte[] data, int length) throws CryptoException(Code)



decrypt
public byte[] decrypt(byte[] data) throws CryptoException(Code)



disconnect
public void disconnect()(Code)



encrypt
public byte[] encrypt(byte[] data, int length) throws CryptoException(Code)



encrypt
public byte[] encrypt(byte[] data) throws CryptoException(Code)



establishKey
public void establishKey() throws RdpDesktopException, IOException, CryptoException(Code)



generateRandom
public void generateRandom()(Code)



generate_keys
public void generate_keys(int rc4_key_size) throws CryptoException(Code)



getUserID
public int getUserID()(Code)



hash16
public byte[] hash16(byte[] in, byte[] salt1, byte[] salt2, int in_position) throws CryptoException(Code)



hash48
public byte[] hash48(byte[] in, byte[] salt1, byte[] salt2, int salt) throws CryptoException(Code)



init
public RdpPacket init(int flags, int length) throws RdpDesktopException(Code)



make40bit
public void make40bit(byte[] key)(Code)



parseCryptInfo
public int parseCryptInfo(RdpPacket data) throws RdpDesktopException(Code)



parsePublicKey
public boolean parsePublicKey(RdpPacket data) throws RdpDesktopException(Code)



processCryptInfo
public void processCryptInfo(RdpPacket data) throws RdpDesktopException, CryptoException(Code)



processMcsData
public void processMcsData(RdpPacket mcs_data) throws RdpDesktopException, CryptoException(Code)



receive
public RdpPacket receive() throws RdpDesktopException, IOException, CryptoException, RdpOrderException(Code)



reverse
public void reverse(byte[] data)(Code)



reverse
public void reverse(byte[] data, int length)(Code)



send
public void send(RdpPacket sec_data, int flags) throws RdpDesktopException, IOException, CryptoException(Code)



sendMcsData
public RdpPacket sendMcsData()(Code)



send_to_channel
public void send_to_channel(RdpPacket sec_data, int flags, int channel) throws RdpDesktopException, IOException, CryptoException(Code)



setLittleEndian32
public void setLittleEndian32(byte[] data, int value)(Code)



sign
public byte[] sign(byte[] session_key, int length, int keylen, byte[] data, int datalength) throws CryptoException(Code)



update
public byte[] update(byte[] key, byte[] update_key) throws CryptoException(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.