org.opends.server.admin.std.client
Interface PKCS11KeyManagerProviderCfgClient

All Superinterfaces:
ConfigurationClient, KeyManagerProviderCfgClient

public interface PKCS11KeyManagerProviderCfgClient
extends KeyManagerProviderCfgClient

A client-side interface for reading and modifying PKCS11 Key Manager Provider settings.

The PKCS11 Key Manager Provider enables the server to access the private key information through the PKCS11 interface.


Method Summary
 ManagedObjectDefinition<? extends PKCS11KeyManagerProviderCfgClient,? extends PKCS11KeyManagerProviderCfg> definition()
          Get the configuration definition associated with this PKCS11 Key Manager Provider.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.lang.String getKeyStorePin()
          Gets the "key-store-pin" property.
 java.lang.String getKeyStorePinEnvironmentVariable()
          Gets the "key-store-pin-environment-variable" property.
 java.lang.String getKeyStorePinFile()
          Gets the "key-store-pin-file" property.
 java.lang.String getKeyStorePinProperty()
          Gets the "key-store-pin-property" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 void setKeyStorePin(java.lang.String value)
          Sets the "key-store-pin" property.
 void setKeyStorePinEnvironmentVariable(java.lang.String value)
          Sets the "key-store-pin-environment-variable" property.
 void setKeyStorePinFile(java.lang.String value)
          Sets the "key-store-pin-file" property.
 void setKeyStorePinProperty(java.lang.String value)
          Sets the "key-store-pin-property" property.
 
Methods inherited from interface org.opends.server.admin.std.client.KeyManagerProviderCfgClient
isEnabled, setEnabled
 
Methods inherited from interface org.opends.server.admin.ConfigurationClient
commit, properties
 

Method Detail

definition

ManagedObjectDefinition<? extends PKCS11KeyManagerProviderCfgClient,? extends PKCS11KeyManagerProviderCfg> definition()
Get the configuration definition associated with this PKCS11 Key Manager Provider.

Specified by:
definition in interface ConfigurationClient
Specified by:
definition in interface KeyManagerProviderCfgClient
Returns:
Returns the configuration definition associated with this PKCS11 Key Manager Provider.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

The fully-qualified name of the Java class that provides the PKCS11 Key Manager Provider implementation.

Specified by:
getJavaClass in interface KeyManagerProviderCfgClient
Returns:
Returns the value of the "java-class" property.

setJavaClass

void setJavaClass(java.lang.String value)
                  throws IllegalPropertyValueException
Sets the "java-class" property.

The fully-qualified name of the Java class that provides the PKCS11 Key Manager Provider implementation.

Specified by:
setJavaClass in interface KeyManagerProviderCfgClient
Parameters:
value - The value of the "java-class" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getKeyStorePin

java.lang.String getKeyStorePin()
Gets the "key-store-pin" property.

Specifies the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the value of the "key-store-pin" property.

setKeyStorePin

void setKeyStorePin(java.lang.String value)
                    throws IllegalPropertyValueException
Sets the "key-store-pin" property.

Specifies the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Parameters:
value - The value of the "key-store-pin" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getKeyStorePinEnvironmentVariable

java.lang.String getKeyStorePinEnvironmentVariable()
Gets the "key-store-pin-environment-variable" property.

Specifies the name of the environment variable that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the value of the "key-store-pin-environment-variable" property.

setKeyStorePinEnvironmentVariable

void setKeyStorePinEnvironmentVariable(java.lang.String value)
                                       throws IllegalPropertyValueException
Sets the "key-store-pin-environment-variable" property.

Specifies the name of the environment variable that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Parameters:
value - The value of the "key-store-pin-environment-variable" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getKeyStorePinFile

java.lang.String getKeyStorePinFile()
Gets the "key-store-pin-file" property.

Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the value of the "key-store-pin-file" property.

setKeyStorePinFile

void setKeyStorePinFile(java.lang.String value)
                        throws IllegalPropertyValueException
Sets the "key-store-pin-file" property.

Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Parameters:
value - The value of the "key-store-pin-file" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getKeyStorePinProperty

java.lang.String getKeyStorePinProperty()
Gets the "key-store-pin-property" property.

Specifies the name of the Java property that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the value of the "key-store-pin-property" property.

setKeyStorePinProperty

void setKeyStorePinProperty(java.lang.String value)
                            throws IllegalPropertyValueException
Sets the "key-store-pin-property" property.

Specifies the name of the Java property that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Parameters:
value - The value of the "key-store-pin-property" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.