|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.api.ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>
org.opends.server.crypto.GetSymmetricKeyExtendedOperation
public class GetSymmetricKeyExtendedOperation
This class implements the get symmetric key extended operation, an OpenDS proprietary extension used for distribution of symmetric keys amongst servers.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
GetSymmetricKeyExtendedOperation()
Create an instance of this symmetric key extended operation. |
|
| Method Summary | |
|---|---|
static ASN1OctetString |
encodeRequestValue(java.lang.String symmetricKey,
java.lang.String instanceKeyID)
Encodes the provided information into an ASN.1 octet string suitable for use as the value for this extended operation. |
void |
finalizeExtendedOperationHandler()
Performs any finalization that may be necessary for this extended operation handler. |
java.util.Set<java.lang.String> |
getSupportedControls()
Retrieves the OIDs of the controls that may be supported by this extended operation handler. |
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. |
| Methods inherited from class org.opends.server.api.ExtendedOperationHandler |
|---|
deregisterControlsAndFeatures, getSupportedFeatures, isConfigurationAcceptable, registerControlsAndFeatures, supportsControl, supportsFeature |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte TYPE_SYMMETRIC_KEY_ELEMENT
public static final byte TYPE_INSTANCE_KEY_ID_ELEMENT
| Constructor Detail |
|---|
public GetSymmetricKeyExtendedOperation()
initializeExtendedOperationHandler method.
| Method Detail |
|---|
public void initializeExtendedOperationHandler(GetSymmetricKeyExtendedOperationHandlerCfg config)
throws ConfigException,
InitializationException
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 finalizeExtendedOperationHandler()
finalizeExtendedOperationHandler in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>public java.util.Set<java.lang.String> getSupportedControls()
getSupportedControls in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation in class ExtendedOperationHandler<GetSymmetricKeyExtendedOperationHandlerCfg>operation - The extended operation to be processed.
public static ASN1OctetString encodeRequestValue(java.lang.String symmetricKey,
java.lang.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||