org.openoces.ooapi
Class Environment

java.lang.Object
  extended byorg.openoces.ooapi.Environment

public class Environment
extends java.lang.Object


Field Summary
 int currentEnv
           
static int TDC_ENV_PROD
           
static int TDC_ENV_SYSTEMTEST
           
static int TDC_ENV_TEST
           
 
Method Summary
 java.lang.String[] getCertificatePolicyIdentifierREs()
          Returns 4 regular expressions that must match the policy identifier in the certificate policies extensions for personal, employee, organizational and functional certificates, respectively.
static Environment getInstance()
           
 boolean isTDCProduction()
           
 boolean isTDCSystemtest()
           
 boolean isTDCTest()
           
 void setEnvironment(int env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TDC_ENV_PROD

public static int TDC_ENV_PROD

TDC_ENV_SYSTEMTEST

public static int TDC_ENV_SYSTEMTEST

TDC_ENV_TEST

public static int TDC_ENV_TEST

currentEnv

public int currentEnv
Method Detail

getInstance

public static Environment getInstance()

setEnvironment

public void setEnvironment(int env)

isTDCProduction

public boolean isTDCProduction()

isTDCSystemtest

public boolean isTDCSystemtest()

isTDCTest

public boolean isTDCTest()

getCertificatePolicyIdentifierREs

public java.lang.String[] getCertificatePolicyIdentifierREs()
Returns 4 regular expressions that must match the policy identifier in the certificate policies extensions for personal, employee, organizational and functional certificates, respectively.

Returns:
the array of regular expressions