Package com.netscape.certsrv.key
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 String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class com.netscape.certsrv.base.RESTMessage
attributes, className
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getRealm()
void
setClientKeyId
(String clientKeyId) void
setKeyAlgorithm
(String keyAlgorithm) void
setKeySize
(Integer keySize) void
void
setTransWrappedSessionKey
(String transWrappedSessionKey) void
Methods 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, toXML
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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
-