Skip navigation links

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

E12907-02


oracle.irm.engine.content.sealing
Class SealingOptionsFactory

java.lang.Object
  extended by oracle.irm.engine.content.sealing.SealingOptionsFactory


public final class SealingOptionsFactory
extends Object

Sealing Options factory. This class provides methods for creating new instances of SealingOptions objects.


Method Summary
static SealingOptions createSealingOptions(Classification classification)
          Create sealing options from a classification.
static SealingOptions createSealingOptions(Classification classification, Collection<CustomData> customData, ContentSchema contentSchema, Date creationTime, EncryptionOptions encryptionOptions)
          Create sealing options.

 

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

 

Method Detail

createSealingOptions

public static SealingOptions createSealingOptions(Classification classification)
Create sealing options from a classification. The most common option when sealing content is just to specify the classification of the content. The other options, such as custom data, content schema, creation time and encryption options are defaulted to appropriate values (no custom data, current content schema, current time and default encryption options).

If the classification labels or key set are not provided then the sealing process will attempt to fill in these details. If no labels are provided in the classification the labels are filled in automatically. Labels can only be filled in if provided classification Id matches the classification returned by the server. If no key set is provided then the key set is filled in from the license used to perform the sealing operation. If the license specifies multiple key sets then the first key set in the license is used.
Parameters:
classification - classification.
Returns:
a new Sealing Options instance.

createSealingOptions

public static SealingOptions createSealingOptions(Classification classification,
                                                  Collection<CustomData> customData,
                                                  ContentSchema contentSchema,
                                                  Date creationTime,
                                                  EncryptionOptions encryptionOptions)
Create sealing options. This method allows all of the sealing options to be specified.
Parameters:
classification - classification.
customData - custom data. This parameter is optional, it is valid to pass null or an empty collection.
contentSchema - content schema. If not specified the default content schema will be used. This parameter is optional, it is valid to pass null.
creationTime - creation time. If not specified the current time will be used. This parameter is optional, it is valid to pass null.
encryptionOptions - encryption options. If not specified the default encryption options will be used. This parameter is optional, it is valid to pass null.
Returns:
a new Sealing Options instance.

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.