Interface Pkcs11KeyManagerProviderCfgClient

  • All Superinterfaces:
    ConfigurationClient, KeyManagerProviderCfgClient

    public interface Pkcs11KeyManagerProviderCfgClient
    extends KeyManagerProviderCfgClient
    A client-side interface for reading and modifying PKCS#11 Key Manager Provider settings.

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

    • Method Detail

      • getJavaClass

        @MandatoryProperty
        ValueOrExpression<String> getJavaClass()
        Gets the "java-class" property.

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

        Default value: org.opends.server.extensions.PKCS11KeyManagerProvider

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

        ValueOrExpression<String> getKeyStorePin()
        Gets the "key-store-pin" property.

        Specifies the clear-text PIN needed to access the PKCS#11 Key Manager Provider .

        Default value is undefined

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

        void setKeyStorePin​(ValueOrExpression<String> value)
                     throws PropertyException
        Sets the "key-store-pin" property.

        Specifies the clear-text PIN needed to access the PKCS#11 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 type of PKCS#11 key 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 "key-store-type" property.
      • setKeyStoreType

        void setKeyStoreType​(ValueOrExpression<String> value)
                      throws PropertyException
        Sets the "key-store-type" property.

        Specifies the type of PKCS#11 key 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 "key-store-type" property.
        Throws:
        PropertyException - If the new value is invalid.