Skip navigation links

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

E12907-03


oracle.irm.engine.content.store
Class KeyStoreOperationsInstance

java.lang.Object
  extended by oracle.irm.engine.content.store.KeyStoreOperationsInstance


public final class KeyStoreOperationsInstance
extends Object

Key store related operations. Provides operations for setting and removing key store and key passwords.

This class provides static methods for a set of procedural style methods. The methods can be made to appear as global methods by using import static. e.g.

import static oracle.irm.engine.content.store.KeyStoreOperationsInstance.*;

Method Summary
static void deleteKeyPassword(KeySettings key)
          Delete a key password.
static void deleteKeyStorePassword(KeyStoreSettings keyStore)
          Delete a key store password.
static void setKeyPassword(KeySettings key, char[] password)
          Set a key password.
static void setKeyStorePassword(KeyStoreSettings keyStore, char[] password)
          Set a key store password.

 

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

 

Method Detail

setKeyStorePassword

public static void setKeyStorePassword(KeyStoreSettings keyStore,
                                       char[] password)
Set a key store password. If a password already exists, then the password is replaced. The key store password is not altered and must be set or altered externally. e.g. using keytool.

Impact

Invoking this method may cause the state of the system to change.
Parameters:
keyStore - key store.
password - password. If the key store does not have a password then it is valid to pass a null value. This parameter is optional, it is valid to pass null.

setKeyPassword

public static void setKeyPassword(KeySettings key,
                                  char[] password)
Set a key password. If a password already exists, then the password is replaced. The password protecting the key in the key store is not altered and must be set or altered externally. e.g. using keytool.

Impact

Invoking this method may cause the state of the system to change.
Parameters:
key - key.
password - password. This parameter is optional, it is valid to pass null.

deleteKeyStorePassword

public static void deleteKeyStorePassword(KeyStoreSettings keyStore)
Delete a key store password.

Impact

Invoking this method may cause the state of the system to change.
Parameters:
keyStore - key store.

deleteKeyPassword

public static void deleteKeyPassword(KeySettings key)
Delete a key password.

Impact

Invoking this method may cause the state of the system to change.
Parameters:
key - key.

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.