|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.content.store.KeySettings
public class KeySettings
Key Settings type. 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.
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>
Constructor Summary | |
---|---|
KeySettings() No argument constructor. |
|
KeySettings(KeyStoreSettings keyStore, String alias) Constructor. |
Method Summary | |
---|---|
String |
getAlias() The alias used to store and retrieve this key from a key store. |
KeyStoreSettings |
getKeyStore() The key store. |
void |
setAlias(String value) The alias used to store and retrieve this key from a key store. |
void |
setKeyStore(KeyStoreSettings value) The key store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeySettings()
public KeySettings(KeyStoreSettings keyStore, String alias)
Method Detail |
---|
public KeyStoreSettings getKeyStore()
public void setKeyStore(KeyStoreSettings value)
value
- the new value for the property.public String getAlias()
public void setAlias(String value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |