Skip navigation links

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

E12907-02


oracle.irm.engine.types.content.key
Class IllegalWrappingKeySizeException

java.lang.Object
  extended by oracle.irm.engine.types.content.key.IllegalWrappingKeySizeException

All Implemented Interfaces:
Serializable

public class IllegalWrappingKeySizeException
extends Object
implements Serializable

Illegal Wrapping Key Size exception information. The wrapping key must be of a sufficient size for the cryptographic algorithm used for wrapping to encrypt the key.

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

See Also:
Serialized Form

Constructor Summary
IllegalWrappingKeySizeException()
          Default constructor.
IllegalWrappingKeySizeException(int keySize, int wrappingKeySize)
          Constructor.

 

Method Summary
 int getKeySize()
          The size in bits of the key.
 int getWrappingKeySize()
          The size in bits of the wrapping key.
 void setKeySize(int value)
          The size in bits of the key.
 void setWrappingKeySize(int value)
          The size in bits of the wrapping key.

 

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

 

Constructor Detail

IllegalWrappingKeySizeException

public IllegalWrappingKeySizeException()
Default constructor.

IllegalWrappingKeySizeException

public IllegalWrappingKeySizeException(int keySize,
                                       int wrappingKeySize)
Constructor.

Method Detail

getKeySize

public int getKeySize()
The size in bits of the key.
Returns:
the value of the property.

setKeySize

public void setKeySize(int value)
The size in bits of the key.
Parameters:
value - the new value for the property.

getWrappingKeySize

public int getWrappingKeySize()
The size in bits of the wrapping key.
Returns:
the value of the property.

setWrappingKeySize

public void setWrappingKeySize(int value)
The size in bits of the wrapping key.
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-02


Copyright © 2010, Oracle. All rights reserved.