Interface FileBasedKeyManagerProviderCfgClient
- All Superinterfaces:
ConfigurationClient, KeyManagerProviderCfgClient
The File Based Key Manager Provider can be used to obtain the server certificate from a key store file on the local file system.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends FileBasedKeyManagerProviderCfgClient, ? extends FileBasedKeyManagerProviderCfg> Get the configuration definition associated with this File Based Key Manager Provider.Gets the "java-class" property.Gets the "key-store-file" property.Gets the "key-store-pin" property.Gets the "key-store-type" property.Gets the "provider-arg" property.Gets the "provider-class" property.Gets the "provider-name" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidsetKeyStoreFile(ValueOrExpression<Path> value) Sets the "key-store-file" property.voidsetKeyStorePin(ValueOrExpression<String> value) Sets the "key-store-pin" property.voidsetKeyStoreType(ValueOrExpression<String> value) Sets the "key-store-type" property.voidsetProviderArg(ValueOrExpression<String> value) Sets the "provider-arg" property.voidsetProviderClass(ValueOrExpression<String> value) Sets the "provider-class" property.voidsetProviderName(ValueOrExpression<String> value) Sets the "provider-name" property.Methods inherited from interface ConfigurationClient
commit, propertiesMethods inherited from interface KeyManagerProviderCfgClient
isEnabled, setEnabled
-
Method Details
-
definition
ManagedObjectDefinition<? extends FileBasedKeyManagerProviderCfgClient, ? extends FileBasedKeyManagerProviderCfg> definition()Get the configuration definition associated with this File Based Key Manager Provider.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceKeyManagerProviderCfgClient- Returns:
- Returns the configuration definition associated with this File Based Key Manager Provider.
-
getJavaClass
Gets the "java-class" property.The fully-qualified name of the Java class that provides the File Based Key Manager Provider implementation.
Default value:
org.opends.server.extensions.FileBasedKeyManagerProvider- Specified by:
getJavaClassin interfaceKeyManagerProviderCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.The fully-qualified name of the Java class that provides the File Based Key Manager Provider implementation.
- Specified by:
setJavaClassin interfaceKeyManagerProviderCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getKeyStoreFile
Gets the "key-store-file" property.Specifies the path to the file that contains the private key information. This may be an absolute path, or a path that is relative to the PingDS instance path.
Changes to this property will take effect the next time that the key manager is accessed.
- Returns:
- Returns the value of the "key-store-file" property.
-
setKeyStoreFile
Sets the "key-store-file" property.Specifies the path to the file that contains the private key information. This may be an absolute path, or a path that is relative to the PingDS instance path.
Changes to this property will take effect the next time that the key manager is accessed.
- Parameters:
value- The value of the "key-store-file" property.- Throws:
PropertyException- If the new value is invalid.
-
getKeyStorePin
ValueOrExpression<String> getKeyStorePin()Gets the "key-store-pin" property.Specifies the clear-text PIN needed to access the File Based Key Manager Provider .
Default value is undefined
- Returns:
- Returns the value of the "key-store-pin" property.
-
setKeyStorePin
Sets the "key-store-pin" property.Specifies the clear-text PIN needed to access the File Based Key Manager Provider .
- Parameters:
value- The value of the "key-store-pin" property.- Throws:
PropertyException- If the new value is invalid.
-
getKeyStoreType
ValueOrExpression<String> getKeyStoreType()Gets the "key-store-type" property.Specifies the format for the data in the key store file.
Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well. If no value is provided, the JVM-default value is used. Changes to this configuration attribute will take effect the next time that the key manager is accessed.
Default value is undefined
- Returns:
- Returns the value of the "key-store-type" property.
-
setKeyStoreType
Sets the "key-store-type" property.Specifies the format for the data in the key store file.
Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well. If no value is provided, the JVM-default value is used. Changes to this configuration attribute will take effect the next time that the key manager is accessed.
- Parameters:
value- The value of the "key-store-type" property.- Throws:
PropertyException- If the new value is invalid.
-
getProviderArg
ValueOrExpression<String> getProviderArg()Gets the "provider-arg" property.The argument passed to configure the key store security provider.
The security provider argument is often a path to a properties file which contains the detailed configuration of the provider.
Default value is undefined
- Returns:
- Returns the value of the "provider-arg" property.
-
setProviderArg
Sets the "provider-arg" property.The argument passed to configure the key store security provider.
The security provider argument is often a path to a properties file which contains the detailed configuration of the provider.
- Parameters:
value- The value of the "provider-arg" property.- Throws:
PropertyException- If the new value is invalid.
-
getProviderClass
ValueOrExpression<String> getProviderClass()Gets the "provider-class" property.The class of the key store security provider.
The Java class that implements the key store security provider, such as "sun.security.pkcs11.SunPKCS11".
Default value is undefined
- Returns:
- Returns the value of the "provider-class" property.
-
setProviderClass
Sets the "provider-class" property.The class of the key store security provider.
The Java class that implements the key store security provider, such as "sun.security.pkcs11.SunPKCS11".
- Parameters:
value- The value of the "provider-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getProviderName
ValueOrExpression<String> getProviderName()Gets the "provider-name" property.The name of the key store security provider.
The security provider name is usually the name used in the java.security file's "security.provider" list, such as "SunPKCS11".
Default value is undefined
- Returns:
- Returns the value of the "provider-name" property.
-
setProviderName
Sets the "provider-name" property.The name of the key store security provider.
The security provider name is usually the name used in the java.security file's "security.provider" list, such as "SunPKCS11".
- Parameters:
value- The value of the "provider-name" property.- Throws:
PropertyException- If the new value is invalid.
-