Class KeyRecoveryRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyRecoveryRequest
- All Implemented Interfaces:
JSONSerializer
- Author:
- alee
-
Nested Class Summary
Nested classes/interfaces inherited from class RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializerModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class RESTMessage
attributes, className -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyRecoveryRequeststatic KeyRecoveryRequestgetKeyId()voidsetCertificate(String certificate) voidvoidsetNonceData(String nonceData) voidsetPassphrase(String passphrase) voidsetPayloadEncryptionOID(String payloadEncryptionOID) voidsetPayloadWrappingName(String payloadWrappingName) voidsetRequestId(RequestId requestId) voidsetSessionWrappedPassphrase(String sessionWrappedPassphrase) voidsetTransWrappedSessionKey(String transWrappedSessionKey) Methods inherited from class RESTMessage
equals, fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, hashCode, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, toDOM, toXMLModifier and TypeMethodDescriptionbooleanstatic voidfromDOM(Element element, RESTMessage resourceMessage) getAttribute(String name) inthashCode()removeAttribute(String name) voidsetAttribute(String name, String value) voidvoidsetAttributes(Map<String, String> attributes) voidsetClassName(String className) voidtoXML()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JSONSerializer
toJSON
-
Constructor Details
-
KeyRecoveryRequest
public KeyRecoveryRequest() -
KeyRecoveryRequest
-
KeyRecoveryRequest
-
-
Method Details
-
getKeyId
- Returns:
- the keyId
-
setKeyId
- Parameters:
keyId- the keyId to set
-
getRequestId
- Returns:
- the requestId
-
setRequestId
- Parameters:
requestId- the requestId to set
-
getTransWrappedSessionKey
- Returns:
- the transWrappedSessionKey
-
setTransWrappedSessionKey
- Parameters:
transWrappedSessionKey- the transWrappedSessionKey to set
-
getSessionWrappedPassphrase
- Returns:
- the sessionWrappedPassphrase
-
setSessionWrappedPassphrase
- Parameters:
sessionWrappedPassphrase- the sessionWrappedPassphrase to set
-
getNonceData
- Returns:
- nonceData
-
setNonceData
- Parameters:
nonceData- the nonceData to set
-
getCertificate
- Returns:
- the certificate
-
setCertificate
- Parameters:
certificate- the certificate to set
-
getPassphrase
- Returns:
- the passphrase
-
setPassphrase
- Parameters:
passphrase- the passphrase to set
-
getPaylodEncryptionOID
- Returns:
- the payloadEncryptionOID
-
setPayloadEncryptionOID
- Parameters:
payloadEncryptionOID- the payloadEncryptionOID to set
-
getPayloadWrappingName
- Returns:
- the payloadWrappingName
-
setPayloadWrappingName
- Parameters:
payloadWrappingName- the payloadWrappingName to set
-
toDOM
- Overrides:
toDOMin classRESTMessage
-
fromDOM
-
fromXML
- Throws:
Exception
-