Skip navigation links

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

E12907-01


oracle.irm.engine.content.key
Interface WrappedKeySetExtensions

All Superinterfaces:
KeySetExtensions

public interface WrappedKeySetExtensions
extends KeySetExtensions

Wrapped content encryption and signing keys. A wrapped key set extensions can be used to associate a wrapped set of symmetric keys with a key set. Useful in the key set information needs to be serialized out, say in XML, in a safe form.

Creation

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

WrappedKeySetExtensions object = createWrappedKeySetExtensions(
    alias,
    encryptionKey,
    signingKey);

XML Serialization

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

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

See Also:
WrappingKey

Method Summary
 String getAlias()
          The key alias used to wrap these keys.
 byte[] getEncryptionKey()
          Wrapped content encryption key.
 byte[] getSigningKey()
          Wrapped signing key.

 

Method Detail

getAlias

String getAlias()
The key alias used to wrap these keys.
Returns:
the value of the property. This method will never return null.

getEncryptionKey

byte[] getEncryptionKey()
Wrapped 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()
Wrapped 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-01


Copyright © 2010, Oracle. All rights reserved.