public class GetSymmetricKeyExtendedOperation extends ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg>
Modifier and Type | Field and Description |
---|---|
static byte |
TYPE_INSTANCE_KEY_ID_ELEMENT
The BER type value for the instance key ID element of the operation value.
|
static byte |
TYPE_SYMMETRIC_KEY_ELEMENT
The BER type value for the symmetric key element of the operation value.
|
Constructor and Description |
---|
GetSymmetricKeyExtendedOperation()
Create an instance of this symmetric key extended operation.
|
Modifier and Type | Method and Description |
---|---|
static org.forgerock.opendj.ldap.ByteString |
encodeRequestValue(String symmetricKey,
String instanceKeyID)
Encodes the provided information into an ASN.1 octet string suitable for
use as the value for this extended operation.
|
String |
getExtendedOperationName()
Retrieves the name associated with this extended operation.
|
String |
getExtendedOperationOID()
Retrieves the object OID associated with this extended operation.
|
void |
initializeExtendedOperationHandler(org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the
information in the provided configuration entry.
|
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.
|
finalizeExtendedOperationHandler, getSupportedControls, getSupportedFeatures, isConfigurationAcceptable, supportsControl, supportsFeature
public static final byte TYPE_SYMMETRIC_KEY_ELEMENT
public static final byte TYPE_INSTANCE_KEY_ID_ELEMENT
public GetSymmetricKeyExtendedOperation()
initializeExtendedOperationHandler
method.public void initializeExtendedOperationHandler(org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg config) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
initializeExtendedOperationHandler
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg>
config
- The extended operation handler configuration that
contains the information to use to initialize
this extended operation handler.org.forgerock.opendj.config.server.ConfigException
- If an unrecoverable problem arises in
the process of performing the
initialization.InitializationException
- If a problem occurs
during initialization that is
not related to the server
configuration.public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public static org.forgerock.opendj.ldap.ByteString encodeRequestValue(String symmetricKey, String instanceKeyID)
symmetricKey
- The wrapped key to use for this request control.instanceKeyID
- The requesting server instance key ID to use for
this request control.public String getExtendedOperationOID()
getExtendedOperationOID
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
getExtendedOperationName
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetSymmetricKeyExtendedOperationHandlerCfg>
null
if there is none.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.