public class GetSymmetricKeyExtendedOperation extends ExtendedOperationHandler<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 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(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
public static final byte TYPE_SYMMETRIC_KEY_ELEMENT
public static final byte TYPE_INSTANCE_KEY_ID_ELEMENT
public GetSymmetricKeyExtendedOperation()
initializeExtendedOperationHandler
method.public void initializeExtendedOperationHandler(GetSymmetricKeyExtendedOperationHandlerCfg config) throws ConfigException, InitializationException
ExtendedOperationHandler
initializeExtendedOperationHandler
in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>
config
- The extended operation handler configuration that contains the information to use to initialize this
extended operation handler.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<GetSymmetricKeyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public static 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()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>
null
if there is none.Copyright 2010-2022 ForgeRock AS.