|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface used to set the various data that is needed by SSL to operate.
The CertificateManager object is obtained from the ORB using the
resolve_initial_references
on the ORB object.
CertificateManager certMgr = (CertificateManager) ORB.resolve_initial_references("CertificateManager");
Method Summary | |
void |
addCACertificate(byte[] derCert)
Adds a DER-encoded trusted CA certificate. |
void |
addClientCertificateEventHandler(CertificateEventHandler handler)
Add handler for client Certificate events. |
void |
addServerCertificateEventHandler(CertificateEventHandler handler)
Add handler for server Certificate events. |
void |
clientAuthRequired(boolean car)
sets whether client authentication is required |
void |
enableSSLv2(boolean v2)
sets whether to support SSL version 2 |
void |
enableSSLv3(boolean v2)
sets whether to support SSL version 3 |
void |
enableTLS(boolean tls)
sets whether to support TLS (SSL v 3.1) |
boolean |
isClientAuthRequired()
queries whether client authentication is required |
boolean |
isSSLv2Enabled()
queries whether SSL version 2 is enabled |
boolean |
isSSLv3Enabled()
queries whether SSL version 2 is enabled |
boolean |
isTLSEnabled()
queries whether TLS is enabled or not |
void |
setCertificateChain(byte[][] derCertChain,
byte[] privateKeyBER)
Add a certificate chain and private key. |
void |
setCertificateChain(byte[][] derCertChain,
byte[] privateKey,
String passPhrase)
Add a certificate chain and private key. |
void |
setCipherSuites(CipherSuite[] cipherSuites)
Sets the default CipherSuite list to use for SSL connections |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Method Detail |
public void clientAuthRequired(boolean car)
public boolean isClientAuthRequired()
public void enableTLS(boolean tls)
public boolean isTLSEnabled()
public void enableSSLv2(boolean v2)
public boolean isSSLv2Enabled()
public void enableSSLv3(boolean v2)
public boolean isSSLv3Enabled()
public void addClientCertificateEventHandler(CertificateEventHandler handler)
public void addServerCertificateEventHandler(CertificateEventHandler handler)
public void setCertificateChain(byte[][] derCertChain, byte[] privateKeyBER) throws SecurityException
derCertChain
- DER encoded certificate chainprivateKeyBER
- private key in plaintext
SecurityException
public void setCertificateChain(byte[][] derCertChain, byte[] privateKey, String passPhrase) throws SecurityException
derCertChain
- DER encoded certificate chainprivateKey
- private key bytespassPhrase
- the passphrase with which to decrypt the key
SecurityException
public void addCACertificate(byte[] derCert) throws SecurityException
SecurityException
public void setCipherSuites(CipherSuite[] cipherSuites)
cipherSuites
- the cipher suites to use for communication.
The default value is CipherSuite.CIPHER_SUITES_CONFIDENTIALITY.CipherSuite.CIPHER_SUITES_CONFIDENTIALITY
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |