Skip navigation links

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

E12907-01


oracle.irm.engine.content.store
Interface KeyStoreOperations


public interface KeyStoreOperations

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

Instance

The methods on KeyStoreOperations can be invoked using KeyStoreOperationsInstance.


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

 

Method Detail

setKeyStorePassword

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

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

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

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-01


Copyright © 2010, Oracle. All rights reserved.