Skip navigation links

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

E12907-03


oracle.irm.engine.content.sealing
Interface SealingConstants


public interface SealingConstants

Constants used in sealing and unsealing.


Field Summary
static int DEFAULT_ENCRYPTED_CONTENT_BLOCK_LENGTH
          Default content block length used during sealing.
static int DEFAULT_PUBLIC_HEADER_PERIOD
          Default public header period used during sealing.
static int MAGIC
          Magic.
static byte[] MAGIC_LITTLE_ENDIAN_BUFFER
          Magic as a little endian buffer.
static int MAX_ENCRYPTED_CONTENT_BLOCK_SIZE
          Maximum encrypted content block size.
static int MAX_PREAMBLE_SIZE
          Maximum sealed file preamble size.
static int MAX_PRIVATE_HEADER_SIZE
          Maximum private header size.
static int MAX_PUBLIC_HEADER_SIZE
          Maximum meta data size.
static int MAX_PUBLIC_SIGNATURE_SIZE
          Maximum public signature size.
static String PREAMBLE
          Sealed content preamble.
static String PREAMBLE_MATCH
          This is the portion of the preamble that's matched during parsing.
static String SIGNATURE_KIND_V1
          Version one public header signature.

 

Field Detail

MAGIC

static final int MAGIC
Magic.

Value: -252645136
See Also:
Constant Field Values

MAGIC_LITTLE_ENDIAN_BUFFER

static final byte[] MAGIC_LITTLE_ENDIAN_BUFFER
Magic as a little endian buffer.

MAX_PREAMBLE_SIZE

static final int MAX_PREAMBLE_SIZE
Maximum sealed file preamble size.

Value: 400
See Also:
Constant Field Values

MAX_PUBLIC_HEADER_SIZE

static final int MAX_PUBLIC_HEADER_SIZE
Maximum meta data size. 1MB.

Value: 1048576
See Also:
Constant Field Values

MAX_PRIVATE_HEADER_SIZE

static final int MAX_PRIVATE_HEADER_SIZE
Maximum private header size. 1K.

Value: 1024
See Also:
Constant Field Values

MAX_PUBLIC_SIGNATURE_SIZE

static final int MAX_PUBLIC_SIGNATURE_SIZE
Maximum public signature size. 2K.

Value: 2048
See Also:
Constant Field Values

MAX_ENCRYPTED_CONTENT_BLOCK_SIZE

static final int MAX_ENCRYPTED_CONTENT_BLOCK_SIZE
Maximum encrypted content block size. 128K.

Value: 131072
See Also:
Constant Field Values

SIGNATURE_KIND_V1

static final String SIGNATURE_KIND_V1
Version one public header signature.

Value: "oracle.irm.signature.v1"
See Also:
Constant Field Values

DEFAULT_PUBLIC_HEADER_PERIOD

static final int DEFAULT_PUBLIC_HEADER_PERIOD
Default public header period used during sealing. This is the setting used if no encryption options are specified during sealing.

Value: 0
See Also:
Constant Field Values

DEFAULT_ENCRYPTED_CONTENT_BLOCK_LENGTH

static final int DEFAULT_ENCRYPTED_CONTENT_BLOCK_LENGTH
Default content block length used during sealing. This is the setting used if no encryption options are specified during sealing.

Value: 16384
See Also:
Constant Field Values

PREAMBLE

static final String PREAMBLE
Sealed content preamble. The text appears at the beginning of sealed content.

PREAMBLE_MATCH

static final String PREAMBLE_MATCH
This is the portion of the preamble that's matched during parsing.

Value: "Oracle IRM"
See Also:
Constant Field Values

Skip navigation links

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

E12907-03


Copyright © 2011, Oracle. All rights reserved.