Skip navigation links

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

E12907-02


oracle.irm.engine.content.store
Interface KeySettings


public interface KeySettings

Cryptography key settings. Key settings provide all the details needed to identify a cryptography key. The settings specify the key location (the key store that will contain this key) and the key alias.

Creation

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

KeySettings object = createKeySettings(
    keyStore,
    alias);

XML Serialization

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

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


Method Summary
 String getAlias()
          The alias used to store and retrieve this key from a key store.
 KeyStoreSettings getKeyStore()
          The key store.

 

Method Detail

getKeyStore

KeyStoreSettings getKeyStore()
The key store. Specifies which key store to retrieve the key.
Returns:
the value of the property. This method will never return null.

getAlias

String getAlias()
The alias used to store and retrieve this key from a key store.
Returns:
the value of the property. This method will never return null.

Skip navigation links

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

E12907-02


Copyright © 2010, Oracle. All rights reserved.