Class SymKeyGenerationRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyGenerationRequest
com.netscape.certsrv.key.SymKeyGenerationRequest
- All Implemented Interfaces:
JSONSerializer
- Author:
- alee
-
Nested Class Summary
Nested classes/interfaces inherited from class RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class KeyGenerationRequest
CLIENT_KEY_ID, KEY_ALGORITHM, KEY_SIZE, KEY_USAGE, REALM, TRANS_WRAPPED_SESSION_KEYFields inherited from class RESTMessage
attributes, classNameFields inherited from interface JSONSerializer
logger -
Constructor Summary
ConstructorsConstructorDescriptionSymKeyGenerationRequest(jakarta.ws.rs.core.MultivaluedMap<String, String> form) -
Method Summary
Modifier and TypeMethodDescriptionstatic SymKeyGenerationRequeststatic SymKeyGenerationRequestvoidsetTransWrappedSessionKey(String transWrappedSessionKey) toString()Returns a string representation of the object.Methods inherited from class KeyGenerationRequest
addUsage, getClientKeyId, getKeyAlgorithm, getKeySize, getRealm, getTransWrappedSessionKey, getUsages, setClientKeyId, setKeyAlgorithm, setKeySize, setRealm, setUsagesMethods inherited from class RESTMessage
equals, fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, toDOM, toXMLMethods inherited from interface JSONSerializer
toJSON
-
Field Details
-
UWRAP_USAGE
- See Also:
-
WRAP_USAGE
- See Also:
-
VERIFY_USAGE
- See Also:
-
SIGN_USAGE
- See Also:
-
DECRYPT_USAGE
- See Also:
-
ENCRYPT_USAGE
- See Also:
-
-
Constructor Details
-
SymKeyGenerationRequest
public SymKeyGenerationRequest() -
SymKeyGenerationRequest
-
SymKeyGenerationRequest
-
-
Method Details
-
setTransWrappedSessionKey
- Overrides:
setTransWrappedSessionKeyin classKeyGenerationRequest- Parameters:
transWrappedSessionKey- the wrapped seesion key to set
-
toString
Description copied from class:RESTMessageReturns a string representation of the object. Do not serialize the REST message by default to avoid exposing sensitive info. Subclasses can override this method if it's safe.- Overrides:
toStringin classRESTMessage
-
getValidUsagesList
-
toDOM
- Overrides:
toDOMin classRESTMessage
-
fromDOM
-
fromXML
- Throws:
Exception
-