System Requirements for Oracle PKI TSP SDK Setting the CLASSPATH Environment Variable

7-6 Oracle Fusion Middleware Reference for Oracle Security Developer Tools

7.3.2 Setting Up Your Oracle PKI TSP SDK Environment

The Oracle Security Developer Tools are installed with Oracle Application Server in ORACLE_HOME . This section provides information for setting up your environment for Oracle PKI TSP SDK. It contains the following topics: ■ System Requirements for Oracle PKI TSP SDK ■ Setting the CLASSPATH Environment Variable

7.3.2.1 System Requirements for Oracle PKI TSP SDK

In order to use Oracle PKI TSP SDK, your system must have the Java Development Kit JDK version 1.5 or higher. Also, make sure that your PATH environment variable includes the Java bin directory.

7.3.2.2 Setting the CLASSPATH Environment Variable

Your CLASSPATH environment variable must contain the full path and file names to all of the required jar and class files. Make sure the following items are included in your CLASSPATH: ■ osdt_core.jar ■ osdt_cert.jar ■ osdt_cms.jar ■ osdt_cmp.jar ■ osdt_tsp.jar

7.3.2.2.1 Setting the

CLASSPATH on Windows To set your CLASSPATH on Windows: 1. In your Windows Control Panel, select System. 2. In the System Properties dialog, select the Advanced tab. 3. Click Environment Variables. 4. In the User Variables section, click New to add a CLASSPATH environment variable for your user profile. If a CLASSPATH environment variable already exists, select it and click Edit. 5. Add the full path and file names for all the required jar and class files to the CLASSPATH. For example: CLASSPATH;ORACLE_HOME\modules\oracle.osdt_11.1.1\osdt_core.jar; TSAPolicyID Class This class represents a TSAPolicyID object as defined in RFC 3161. TSPContentHandlerFactory Class A content handler for TSP over HTTP. TSPMessage Class A TSP message. TSPTimeStampReq Class A TSP message of type TimeStampReq as defined in RFC 3161. TSPTimeStampResp Class A TSP message of type TimeStampResp as defined in RFC 3161. TSPUtils Class Defines various utility methods for the oracle.security.crypto.tsp package. Table 7–1 Cont. Oracle PKI TSP SDK Classes and Interfaces Class or Interface Name Description Oracle PKI SDK 7-7 ORACLE_HOME\modules\oracle.osdt_11.1.1\osdt_cert.jar; ORACLE_HOME\modules\oracle.osdt_11.1.1\osdt_cms.jar; ORACLE_HOME\modules\oracle.osdt_11.1.1\osdt_cmp.jar; ORACLE_HOME\modules\oracle.osdt_11.1.1\osdt_tsp.jar 6. Click OK.

7.3.2.2.2 Setting the

CLASSPATH on Unix On Unix, set your CLASSPATH environment variable to include the full path and file name of all the required jar and class files. For example: setenv CLASSPATH CLASSPATH:ORACLE_HOMEmodulesoracle.osdt_11.1.1osdt_core.jar: ORACLE_HOMEmodulesoracle.osdt_11.1.1osdt_cert.jar: ORACLE_HOMEmodulesoracle.osdt_11.1.1osdt_cms.jar: ORACLE_HOMEmodulesoracle.osdt_11.1.1osdt_cmp.jar; ORACLE_HOMEmodulesoracle.osdt_11.1.1osdt_tsp.jar

7.3.3 The Oracle PKI TSP SDK Java API Reference