Skip navigation links

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

E12907-03


oracle.irm.engine.types.content.sealing
Class IllegalEncryptedContentBlockSizeException

java.lang.Object
  extended by oracle.irm.engine.types.content.sealing.IllegalEncryptedContentBlockSizeException

All Implemented Interfaces:
Serializable

public class IllegalEncryptedContentBlockSizeException
extends Object
implements Serializable

Illegal Encrypted Content Block Size exception information. When performing a sealing operation, content encryption options can be supplied that control the size of the encrypted content blocks. The encrypted content block size must be a multiple of the cipher block size. The cipher block size relates to the CryptoSchema involved in the sealing process. This restriction on encrypted content block sizes allows the sealing process to work with block based ciphers as well as streaming ciphers.

This class is used to store the state of an EJB exception and the fault data in a Web Service exception.

See Also:
EncryptionOptions, Serialized Form

Constructor Summary
IllegalEncryptedContentBlockSizeException()
          Default constructor.
IllegalEncryptedContentBlockSizeException(int blockSize, int encryptedContentBlockSize)
          Constructor.

 

Method Summary
 int getBlockSize()
          Cipher block size.
 int getEncryptedContentBlockSize()
          Encrypted encrypted content block size.
 void setBlockSize(int value)
          Cipher block size.
 void setEncryptedContentBlockSize(int value)
          Encrypted encrypted content block size.

 

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

 

Constructor Detail

IllegalEncryptedContentBlockSizeException

public IllegalEncryptedContentBlockSizeException()
Default constructor.

IllegalEncryptedContentBlockSizeException

public IllegalEncryptedContentBlockSizeException(int blockSize,
                                                 int encryptedContentBlockSize)
Constructor.

Method Detail

getBlockSize

public int getBlockSize()
Cipher block size.
Returns:
the value of the property.

setBlockSize

public void setBlockSize(int value)
Cipher block size.
Parameters:
value - the new value for the property.

getEncryptedContentBlockSize

public int getEncryptedContentBlockSize()
Encrypted encrypted content block size.
Returns:
the value of the property.

setEncryptedContentBlockSize

public void setEncryptedContentBlockSize(int value)
Encrypted encrypted content block size.
Parameters:
value - the new value for the property.

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.