org.openejb.corba.sunorb
Class SSLCipherSuiteDatabase

java.lang.Object
  extended byorg.openejb.corba.sunorb.SSLCipherSuiteDatabase

public final class SSLCipherSuiteDatabase
extends Object

Version:
$Revision: 445735 $ $Date: 2005-09-25 05:28:19 +0200 (Sun, 25 Sep 2005) $

Method Summary
static int getAssociaionOptions(String cypherSuite)
          Return the options values for a cipher suite.
static String[] getCipherSuites(int assocRequires, int assocSupports, String[] supportedCipherSuites)
          Return an array of cipher suites that match the assocRequires and assocSupports options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCipherSuites

public static String[] getCipherSuites(int assocRequires,
                                       int assocSupports,
                                       String[] supportedCipherSuites)
Return an array of cipher suites that match the assocRequires and assocSupports options.

Parameters:
assocRequires - The required associations.
assocSupports - The supported associations.
supportedCipherSuites - The overall supported cipher suites.
Returns:
The cipher suites that matches the two options.

getAssociaionOptions

public static int getAssociaionOptions(String cypherSuite)
Return the options values for a cipher suite.

Parameters:
cypherSuite - The cipher suite to get the options value for.
Returns:
The int value for the cipher suite.


Copyright © 1999-2006 OpenEJB. All Rights Reserved.