Class KeyArchivalRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyArchivalRequest
-
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 -
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 com.netscape.certsrv.base.RESTMessage
equals, fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, 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
-
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
-