Interface Pkcs11TrustManagerProviderCfgClient
-
- All Superinterfaces:
ConfigurationClient
,TrustManagerProviderCfgClient
public interface Pkcs11TrustManagerProviderCfgClient extends TrustManagerProviderCfgClient
A client-side interface for reading and modifying PKCS#11 Trust Manager Provider settings.The PKCS#11 Trust Manager Provider enables the server to manage trust information through the PKCS11 interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends Pkcs11TrustManagerProviderCfgClient,? extends Pkcs11TrustManagerProviderCfg>
definition()
Get the configuration definition associated with this PKCS#11 Trust Manager Provider.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<String>
getTrustStorePin()
Gets the "trust-store-pin" property.ValueOrExpression<String>
getTrustStoreType()
Gets the "trust-store-type" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setTrustStorePin(ValueOrExpression<String> value)
Sets the "trust-store-pin" property.void
setTrustStoreType(ValueOrExpression<String> value)
Sets the "trust-store-type" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.TrustManagerProviderCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends Pkcs11TrustManagerProviderCfgClient,? extends Pkcs11TrustManagerProviderCfg> definition()
Get the configuration definition associated with this PKCS#11 Trust Manager Provider.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceTrustManagerProviderCfgClient
- Returns:
- Returns the configuration definition associated with this PKCS#11 Trust Manager Provider.
-
getJavaClass
@MandatoryProperty ValueOrExpression<String> getJavaClass()
Gets the "java-class" property.The fully-qualified name of the Java class that provides the PKCS#11 Trust Manager Provider implementation.
Default value:
org.opends.server.extensions.Pkcs11TrustManagerProvider
- Specified by:
getJavaClass
in interfaceTrustManagerProviderCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.The fully-qualified name of the Java class that provides the PKCS#11 Trust Manager Provider implementation.
- Specified by:
setJavaClass
in interfaceTrustManagerProviderCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
getTrustStorePin
ValueOrExpression<String> getTrustStorePin()
Gets the "trust-store-pin" property.Specifies the clear-text PIN needed to access the PKCS#11 Trust Manager Provider .
Default value is undefined
- Returns:
- Returns the value of the "trust-store-pin" property.
-
setTrustStorePin
void setTrustStorePin(ValueOrExpression<String> value) throws PropertyException
Sets the "trust-store-pin" property.Specifies the clear-text PIN needed to access the PKCS#11 Trust Manager Provider .
- Parameters:
value
- The value of the "trust-store-pin" property.- Throws:
PropertyException
- If the new value is invalid.
-
getTrustStoreType
ValueOrExpression<String> getTrustStoreType()
Gets the "trust-store-type" property.Specifies the type of PKCS#11 trust manager, when the specific name must be explicit.
. If no type is specified, the default value of "PKCS11" will be used.
Default value:
PKCS11
- Returns:
- Returns the value of the "trust-store-type" property.
-
setTrustStoreType
void setTrustStoreType(ValueOrExpression<String> value) throws PropertyException
Sets the "trust-store-type" property.Specifies the type of PKCS#11 trust manager, when the specific name must be explicit.
. If no type is specified, the default value of "PKCS11" will be used.
- Parameters:
value
- The value of the "trust-store-type" property.- Throws:
PropertyException
- If the new value is invalid.
-
-