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 RawKeySetExtensions

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

All Implemented Interfaces:
Serializable

public class RawKeySetExtensions
extends KeySetExtensions
implements Serializable

Raw Key Set Extensions type. A raw key set extensions can be used to associate a raw set of symmetric keys with a key set. Useful in the key set information needs to be serialized out, say in XML, in a unprotected form (the keys are in the clear).

XML Serialization

Raw Key Set Extensions instances can be serialized as an XML document. This XML document can also be used to recreate a Raw Key Set Extensions object. The following XML document shows an example Raw Key Set Extensions in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:RawKeySetExtensions xmlns:content="http://xmlns.oracle.com/irm/content">
    <encryptionKey>CgzVe1FgQLNWyaAPNrupZluaVKXyODQpKgUpf2mYNt2EYy12RAmMQ/xKMt1/EXPui27L9Dt7zXd4NpE/5tveTQ==</encryptionKey>
    <signingKey>f8yCKznOVeSW3SKrmFpUUsynIEnY1VJ7DGJl6XzEnKnQdK1N5qCGKQSmg0EMzbVUrRfJuLAM8JQPGBvVN7M2eg==</signingKey>
</content:RawKeySetExtensions>

See Also:
Serialized Form

Constructor Summary
RawKeySetExtensions()
          No argument constructor.
RawKeySetExtensions(byte[] encryptionKey, byte[] signingKey)
          Constructor.

 

Method Summary
 byte[] getEncryptionKey()
          Content encryption key.
 byte[] getSigningKey()
          Signing key.
 void setEncryptionKey(byte[] value)
          Content encryption key.
 void setSigningKey(byte[] value)
          Signing key.

 

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

 

Constructor Detail

RawKeySetExtensions

public RawKeySetExtensions()
No argument constructor.

RawKeySetExtensions

public RawKeySetExtensions(byte[] encryptionKey,
                           byte[] signingKey)
Constructor.

Method Detail

getEncryptionKey

public byte[] getEncryptionKey()
Content encryption key.
Returns:
the value of the property.

setEncryptionKey

public void setEncryptionKey(byte[] value)
Content encryption key.
Parameters:
value - the new value for the property.

getSigningKey

public byte[] getSigningKey()
Signing key.
Returns:
the value of the property.

setSigningKey

public void setSigningKey(byte[] value)
Signing 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.