Skip navigation links

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

E12907-02


oracle.irm.engine.content.key
Interface RawKeySetExtensions

All Superinterfaces:
KeySetExtensions

public interface RawKeySetExtensions
extends KeySetExtensions

Raw content encryption and signing keys. 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).

Creation

Instances of Raw Key Set Extensions objects can be created using the following factory style method(s).

RawKeySetExtensions object = createRawKeySetExtensions(
    encryptionKey,
    signingKey);

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>


Method Summary
 byte[] getEncryptionKey()
          Content encryption key.
 byte[] getSigningKey()
          Signing key.

 

Method Detail

getEncryptionKey

byte[] getEncryptionKey()
Content encryption key.

State

The array returned by this method can be safely altered without affecting the internal state of the object.
Returns:
the value of the property. This method will never return null.

getSigningKey

byte[] getSigningKey()
Signing key.

State

The array returned by this method can be safely altered without affecting the internal state of the object.
Returns:
the value of the property. This method will never return 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.