Class KeyGenerationRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyGenerationRequest
- All Implemented Interfaces:
JSONSerializer
- Direct Known Subclasses:
AsymKeyGenerationRequest,SymKeyGenerationRequest
Class to define the common attributes and methods used by
SymKeyGenerationRequest and AsymKeyGenerationRequest
- Author:
- akoneru
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netscape.certsrv.base.RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.netscape.certsrv.base.RESTMessage
attributes, className -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetRealm()voidsetClientKeyId(String clientKeyId) voidsetKeyAlgorithm(String keyAlgorithm) voidsetKeySize(Integer keySize) voidvoidsetTransWrappedSessionKey(String transWrappedSessionKey) voidMethods inherited from class com.netscape.certsrv.base.RESTMessage
equals, fromDOM, fromDOM, fromXML, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, toDOM, toDOM, toXMLMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Field Details
-
CLIENT_KEY_ID
- See Also:
-
KEY_SIZE
- See Also:
-
KEY_ALGORITHM
- See Also:
-
KEY_USAGE
- See Also:
-
TRANS_WRAPPED_SESSION_KEY
- See Also:
-
REALM
- See Also:
-
-
Constructor Details
-
KeyGenerationRequest
public KeyGenerationRequest()
-
-
Method Details
-
getUsages
-
setUsages
-
addUsage
-
getClientKeyId
- Returns:
- the clientKeyId
-
setClientKeyId
- Parameters:
clientKeyId- the clientKeyId to set
-
getKeySize
- Returns:
- the keySize
-
setKeySize
- Parameters:
keySize- the key size to set
-
getKeyAlgorithm
- Returns:
- the keyAlgorithm
-
setKeyAlgorithm
- Parameters:
keyAlgorithm- the key algorithm to set
-
getTransWrappedSessionKey
- Returns:
- the transWrappedSessionKey
-
setTransWrappedSessionKey
- Parameters:
transWrappedSessionKey- the wrapped seesion key to set
-
getRealm
- Returns:
- the realm
-
setRealm
- Parameters:
realm- - authorization realm to set
-