Skip navigation links

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

E12907-02


oracle.irm.engine.content.sealing
Enum SealingOperations.Section

java.lang.Object
  extended by java.lang.Enum<SealingOperations.Section>
      extended by oracle.irm.engine.content.sealing.SealingOperations.Section

All Implemented Interfaces:
Serializable, Comparable<SealingOperations.Section>
Enclosing interface:
SealingOperations

public static enum SealingOperations.Section
extends Enum<SealingOperations.Section>

Logical sections of sealed content. Sealed content is made up of a number of sequentially written sections. First comes the preamble, then the magic number, the public header, the signature and last the encrypted content.


Enum Constant Summary
CONTENT
          Encrypted content.
MAGIC
          Magic number section.
PREAMBLE
          Preamble section.
PUBLIC_HEADER
          Public header section.
SIGNATURE
          Signature.

 

Method Summary
static SealingOperations.Section valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SealingOperations.Section[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

PREAMBLE

public static final SealingOperations.Section PREAMBLE
Preamble section. The preamble section of sealed content contains a human readable (in english) paragraph explaining that the content is sealed. The intention of providing a preamble section is that if the file is opened on a machine without a desktop installation, the start of the file contents may be displayed by the operation system. This gives a hint to the user that the file requires the desktop to be installed before the file can be opened.

MAGIC

public static final SealingOperations.Section MAGIC
Magic number section. A series of bytes that are used to help identify where the preamble ends and the public header starts.

PUBLIC_HEADER

public static final SealingOperations.Section PUBLIC_HEADER
Public header section. An XML document containing information about the sealed content, such as the Classification. The majority of this information is provided as SealingOptions to the sealing process.

SIGNATURE

public static final SealingOperations.Section SIGNATURE
Signature. The signature for the public header section. This is used to verify that the public header has not been tampered.

CONTENT

public static final SealingOperations.Section CONTENT
Encrypted content. The cipher/plain text section containing the encrypted content.

Method Detail

values

public static SealingOperations.Section[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SealingOperations.Section c : SealingOperations.Section.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SealingOperations.Section valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is 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.