Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


oracle.irm.engine.content.store
Interface KeyStoreSettings


public interface KeyStoreSettings

Key store settings. Contains the settings (key store path and key store type) needed to identify a key store.

Creation

Instances of Key Store Settings objects can be created using the following factory style method(s).

KeyStoreSettings object = createKeyStoreSettings(
    type,
    path);

XML Serialization

Key Store Settings instances can be serialized as an XML document. This XML document can also be used to recreate a Key Store Settings object. The following XML document shows an example Key Store Settings in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:KeyStoreSettings xmlns:content="http://xmlns.oracle.com/irm/content">
    <type>JKS</type>
    <path>default.jks</path>
</content:KeyStoreSettings>


Method Summary
 File getPath()
          File path to the key store.
 String getType()
          The key store type.

 

Method Detail

getType

String getType()
The key store type. e.g. JCEKS for the standard Java key store. This key store must be able to store symmetric keys.
Returns:
the value of the property. This method will never return null.

getPath

File getPath()
File path to the key store. This path should include the file path and file name. The path does not need to be specified for non file based key stores.
Returns:
the value of the property. This method can return null.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


Copyright © 2010, Oracle. All rights reserved.