|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.content.sealing.SealingOptions
public class SealingOptions
Sealing Options type. There are a number of parameters required when content is sealed. These include the Classification
details, additional user defined custom meta data, a content schema and fine-grained control of the content encryption processes (using encryption options).
Sealing Options instances can be serialized as an XML document. This XML document can also be used to recreate a Sealing Options object. The following XML document shows an example Sealing Options in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:SealingOptions xmlns:content="http://xmlns.oracle.com/irm/content">
<classification>
<id>7ec1c191-0531-4876-813e-c554676df09b</id>
<system>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</system>
<keySet>
<uuid>213f8f65-c5d1-4868-9fff-ad156daa2dd6</uuid>
</keySet>
<uri>http://irm.example.com/irm_desktop</uri>
<classifications:ContextCookie xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<context>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</context>
<itemCode>
<value>sample.sdoc</value>
</itemCode>
</classifications:ContextCookie>
<classificationTime>2008-02-01T13:00:00.000+01:00</classificationTime>
<labels>
<locale>en</locale>
<name>Top Secret</name>
</labels>
</classification>
<customData>
<uuid>2b8cd20a-d4f5-47b6-9097-d12547f2b707</uuid>
<car>
<name>Ford</name>
<colour>Blue</colour>
</car>
</customData>
<contentSchema>
<schemaVersion>
<version>6.0</version>
</schemaVersion>
</contentSchema>
<creationTime>2008-02-01T13:00:00.000+01:00</creationTime>
<encryptionOptions>
<publicHeaderPeriod>1</publicHeaderPeriod>
<encryptedContentBlockSize>16</encryptedContentBlockSize>
</encryptionOptions>
</content:SealingOptions>
Constructor Summary | |
---|---|
SealingOptions() No argument constructor. |
|
SealingOptions(Classification classification, CustomData[] customData, ContentSchema contentSchema, Date creationTime, EncryptionOptions encryptionOptions) Constructor. |
Method Summary | |
---|---|
Classification |
getClassification() Classification. |
ContentSchema |
getContentSchema() Content schema. |
Date |
getCreationTime() Creation time. |
CustomData[] |
getCustomData() Custom data. |
EncryptionOptions |
getEncryptionOptions() Encryption options. |
void |
setClassification(Classification value) Classification. |
void |
setContentSchema(ContentSchema value) Content schema. |
void |
setCreationTime(Date value) Creation time. |
void |
setCustomData(CustomData[] value) Custom data. |
void |
setEncryptionOptions(EncryptionOptions value) Encryption options. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SealingOptions()
public SealingOptions(Classification classification, CustomData[] customData, ContentSchema contentSchema, Date creationTime, EncryptionOptions encryptionOptions)
Method Detail |
---|
public Classification getClassification()
public void setClassification(Classification value)
value
- the new value for the property.public CustomData[] getCustomData()
peek
.public void setCustomData(CustomData[] value)
peek
.value
- the new value for the property.public ContentSchema getContentSchema()
public void setContentSchema(ContentSchema value)
value
- the new value for the property.public Date getCreationTime()
peek
. Usually the creation time is the time the content was sealed, but it could be a specified to be a different time, perhaps to match the attributes of the unsealed content.public void setCreationTime(Date value)
peek
. Usually the creation time is the time the content was sealed, but it could be a specified to be a different time, perhaps to match the attributes of the unsealed content.value
- the new value for the property.public EncryptionOptions getEncryptionOptions()
public void setEncryptionOptions(EncryptionOptions value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |