com.caucho.vfs
Class SelfSignedCert

java.lang.Object
  extended by com.caucho.vfs.SelfSignedCert
All Implemented Interfaces:
java.io.Serializable

public class SelfSignedCert
extends java.lang.Object
implements java.io.Serializable

Abstract socket to handle both normal sockets and bin/resin sockets.

See Also:
Serialized Form

Method Summary
static SelfSignedCert create(java.lang.String name, java.lang.String[] cipherSuites)
           
 java.security.cert.X509Certificate[] getCertificateChain()
           
 javax.net.ssl.KeyManager[] getKeyManagers()
           
 java.security.PrivateKey getPrivateKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static SelfSignedCert create(java.lang.String name,
                                    java.lang.String[] cipherSuites)

getPrivateKey

public java.security.PrivateKey getPrivateKey()

getCertificateChain

public java.security.cert.X509Certificate[] getCertificateChain()

getKeyManagers

public javax.net.ssl.KeyManager[] getKeyManagers()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object