Package com.netscape.certsrv.key
Class KeyArchivalRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyArchivalRequest
- All Implemented Interfaces:
JSONSerializer
- Author:
- alee
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netscape.certsrv.base.RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer
-
Field Summary
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 TypeMethodDescriptionstatic KeyArchivalRequest
static KeyArchivalRequest
getRealm()
void
setAlgorithmOID
(String algorithmOID) void
setClientKeyId
(String clientKeyId) void
setDataType
(String dataType) void
setKeyAlgorithm
(String algorithm) void
setKeySize
(Integer keySize) void
setPKIArchiveOptions
(String pkiArchiveOptions) void
void
setSymmetricAlgorithmParams
(String params) void
setTransWrappedSessionKey
(String transWrappedSessionKey) void
setWrappedPrivateData
(String wrappedPrivateData) Methods inherited from class com.netscape.certsrv.base.RESTMessage
equals, fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, 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
-
Constructor Details
-
KeyArchivalRequest
public KeyArchivalRequest() -
KeyArchivalRequest
-
KeyArchivalRequest
-
-
Method Details
-
getClientKeyId
- Returns:
- the clientKeyID
-
setClientKeyId
- Parameters:
clientKeyId
- the clientKeyId to set
-
getDataType
- Returns:
- the dataType
-
setDataType
- Parameters:
dataType
- the dataType to set
-
getTransWrappedSessionKey
- Returns:
- the transWrappedSessionKey
-
setTransWrappedSessionKey
- Parameters:
transWrappedSessionKey
- the trans wrapped session key to set
-
getPKIArchiveOptions
- Returns:
- the PKIArchiveOptions structure
-
setPKIArchiveOptions
- Parameters:
pkiArchiveOptions
- the archive options structure to set
-
getAlgorithmOID
- Returns:
- the algorithm OID structure
-
setAlgorithmOID
- Parameters:
algorithmOID
- the symmetric algorithm OID to set
-
getSymmetricAlgorithmParams
- Returns:
- the algorithm params structure
-
setSymmetricAlgorithmParams
- Parameters:
params
- the algorithm params to set
-
getWrappedPrivateData
- Returns:
- the pkiArchiveOptions structure
-
setWrappedPrivateData
- Parameters:
wrappedPrivateData
- the wrappedPrivateData to set
-
getKeyAlgorithm
- Returns:
- the keyAlgorithm (valid for symmetric keys)
-
setKeyAlgorithm
- Parameters:
algorithm
- the key algorithm to set (valid for symmetric keys)
-
getKeySize
- Returns:
- the key strength (valid for symmetric keys)
-
setKeySize
- Parameters:
keySize
- the key strength to set (valid for symmetric keys)
-
getRealm
- Returns:
- the authentication realm
-
setRealm
- Parameters:
realm
- - the authentication realm
-
toDOM
- Overrides:
toDOM
in classRESTMessage
-
fromDOM
-
fromXML
- Throws:
Exception
-