|
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 |
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.
Instances of Key Settings objects can be created using the following factory style method(s).
KeySettings object = createKeySettings
(
keyStore,
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>
Method Summary | |
---|---|
String |
getAlias() The alias used to store and retrieve this key from a key store. |
KeyStoreSettings |
getKeyStore() The key store. |
Method Detail |
---|
KeyStoreSettings getKeyStore()
String getAlias()
|
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 |