Skip navigation links

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

E12907-03


oracle.irm.engine.types.content.store
Class KeyStoreSettings

java.lang.Object
  extended by oracle.irm.engine.types.content.store.KeyStoreSettings

All Implemented Interfaces:
Serializable

public class KeyStoreSettings
extends Object
implements Serializable

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

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>

See Also:
Serialized Form

Constructor Summary
KeyStoreSettings()
          No argument constructor.
KeyStoreSettings(String type, File path)
          Constructor.

 

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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

KeyStoreSettings

public KeyStoreSettings()
No argument constructor.

KeyStoreSettings

public KeyStoreSettings(String type,
                        File path)
Constructor.

Method Detail

getType

public 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.

setType

public void setType(String value)
The key store type. e.g. JCEKS for the standard Java key store. This key store must be able to store symmetric keys.
Parameters:
value - the new value for the property.

getPath

public 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.

setPath

public void setPath(File value)
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.
Parameters:
value - the new value for the property.

Skip navigation links

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

E12907-03


Copyright © 2011, Oracle. All rights reserved.