Skip navigation links

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

E12907-03


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

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

All Implemented Interfaces:
Serializable

public class WrappedKeySetExtensions
extends KeySetExtensions
implements Serializable

Wrapped Key Set Extensions type. 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.

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, Serialized Form

Constructor Summary
WrappedKeySetExtensions()
          No argument constructor.
WrappedKeySetExtensions(String alias, byte[] encryptionKey, byte[] signingKey)
          Constructor.

 

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

 

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

 

Constructor Detail

WrappedKeySetExtensions

public WrappedKeySetExtensions()
No argument constructor.

WrappedKeySetExtensions

public WrappedKeySetExtensions(String alias,
                               byte[] encryptionKey,
                               byte[] signingKey)
Constructor.

Method Detail

getAlias

public String getAlias()
The key alias used to wrap these keys.
Returns:
the value of the property.

setAlias

public void setAlias(String value)
The key alias used to wrap these keys.
Parameters:
value - the new value for the property.

getEncryptionKey

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

setEncryptionKey

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

getSigningKey

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

setSigningKey

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


Copyright © 2011, Oracle. All rights reserved.