Class PKCS11KeyManagerProviderCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
-
- org.forgerock.opendj.server.config.meta.PKCS11KeyManagerProviderCfgDefn
-
public final class PKCS11KeyManagerProviderCfgDefn extends ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
An interface for querying the PKCS11 Key Manager Provider managed object definition meta information.The PKCS11 Key Manager Provider enables the server to access the private key information through the PKCS11 interface.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PKCS11KeyManagerProviderCfgClientcreateClientConfiguration(ManagedObject<? extends PKCS11KeyManagerProviderCfgClient> impl)Creates a client configuration view of the provided managed object.PKCS11KeyManagerProviderCfgcreateServerConfiguration(ServerManagedObject<? extends PKCS11KeyManagerProviderCfg> impl)Creates a server configuration view of the provided server managed object.BooleanPropertyDefinitiongetEnabledPropertyDefinition()Get the "enabled" property definition.static PKCS11KeyManagerProviderCfgDefngetInstance()Get the PKCS11 Key Manager Provider configuration definition singleton.ClassPropertyDefinitiongetJavaClassPropertyDefinition()Get the "java-class" property definition.StringPropertyDefinitiongetKeyStorePinEnvironmentVariablePropertyDefinition()Get the "key-store-pin-environment-variable" property definition.StringPropertyDefinitiongetKeyStorePinFilePropertyDefinition()Get the "key-store-pin-file" property definition.StringPropertyDefinitiongetKeyStorePinPropertyDefinition()Get the "key-store-pin" property definition.StringPropertyDefinitiongetKeyStorePinPropertyPropertyDefinition()Get the "key-store-pin-property" property definition.Class<PKCS11KeyManagerProviderCfg>getServerConfigurationClass()Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static PKCS11KeyManagerProviderCfgDefn getInstance()
Get the PKCS11 Key Manager Provider configuration definition singleton.- Returns:
- Returns the PKCS11 Key Manager Provider configuration definition singleton.
-
createClientConfiguration
public PKCS11KeyManagerProviderCfgClient createClientConfiguration(ManagedObject<? extends PKCS11KeyManagerProviderCfgClient> impl)
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfigurationin classManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>- Parameters:
impl- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public PKCS11KeyManagerProviderCfg createServerConfiguration(ServerManagedObject<? extends PKCS11KeyManagerProviderCfg> impl)
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfigurationin classManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>- Parameters:
impl- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<PKCS11KeyManagerProviderCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClassin classManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the PKCS11 Key Manager Provider is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.The fully-qualified name of the Java class that provides the PKCS11 Key Manager Provider implementation.
- Returns:
- Returns the "java-class" property definition.
-
getKeyStorePinPropertyDefinition
public StringPropertyDefinition getKeyStorePinPropertyDefinition()
Get the "key-store-pin" property definition.Specifies the clear-text PIN needed to access the PKCS11 Key Manager Provider .
- Returns:
- Returns the "key-store-pin" property definition.
-
getKeyStorePinEnvironmentVariablePropertyDefinition
public StringPropertyDefinition getKeyStorePinEnvironmentVariablePropertyDefinition()
Get the "key-store-pin-environment-variable" property definition.Specifies the name of the environment variable that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .
- Returns:
- Returns the "key-store-pin-environment-variable" property definition.
-
getKeyStorePinFilePropertyDefinition
public StringPropertyDefinition getKeyStorePinFilePropertyDefinition()
Get the "key-store-pin-file" property definition.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 "key-store-pin-file" property definition.
-
getKeyStorePinPropertyPropertyDefinition
public StringPropertyDefinition getKeyStorePinPropertyPropertyDefinition()
Get the "key-store-pin-property" property definition.Specifies the name of the Java property that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .
- Returns:
- Returns the "key-store-pin-property" property definition.
-
-