org.apache.geronimo.corba.security.config.ssl
Class SSLCipherSuiteDatabase

java.lang.Object
  extended by org.apache.geronimo.corba.security.config.ssl.SSLCipherSuiteDatabase

public final class SSLCipherSuiteDatabase
extends Object


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 © 2003-2007 Apache Software Foundation. All Rights Reserved.