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 RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer -
Field Summary
Fields inherited from class RESTMessage
attributes, classNameFields inherited from interface JSONSerializer
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyArchivalRequeststatic KeyArchivalRequestgetRealm()voidsetAlgorithmOID(String algorithmOID) voidsetClientKeyId(String clientKeyId) voidsetDataType(String dataType) voidsetKeyAlgorithm(String algorithm) voidsetKeySize(Integer keySize) voidsetPKIArchiveOptions(String pkiArchiveOptions) voidvoidsetSymmetricAlgorithmParams(String params) voidsetTransWrappedSessionKey(String transWrappedSessionKey) voidsetWrappedPrivateData(String wrappedPrivateData) Methods inherited from class RESTMessage
equals, fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, toDOM, toString, toXMLMethods inherited from interface 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:
toDOMin classRESTMessage
-
fromDOM
-
fromXML
- Throws:
Exception
-