Package com.netscape.certsrv.key
Class KeyRequestInfo
- java.lang.Object
-
- com.netscape.certsrv.request.CMSRequestInfo
-
- com.netscape.certsrv.key.KeyRequestInfo
-
- All Implemented Interfaces:
JSONSerializer
public class KeyRequestInfo extends CMSRequestInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
keyURL
-
Fields inherited from class com.netscape.certsrv.request.CMSRequestInfo
realm, requestStatus, requestType, requestURL
-
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
-
Constructor Summary
Constructors Constructor Description KeyRequestInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static KeyRequestInfo
fromDOM(org.w3c.dom.Element infoElement)
static KeyRequestInfo
fromXML(java.lang.String xml)
KeyId
getKeyId()
java.lang.String
getKeyURL()
int
hashCode()
void
setKeyURL(java.lang.String keyURL)
org.w3c.dom.Element
toDOM(org.w3c.dom.Document document)
java.lang.String
toXML()
-
Methods inherited from class com.netscape.certsrv.request.CMSRequestInfo
fromDOM, getRealm, getRequestId, getRequestStatus, getRequestType, getRequestURL, setRealm, setRequestStatus, setRequestType, setRequestURL, toDOM
-
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
-
-
-
-
Method Detail
-
getKeyURL
public java.lang.String getKeyURL()
- Returns:
- the keyURL
-
getKeyId
public KeyId getKeyId()
- Returns:
- the key ID in the keyURL
-
setKeyURL
public void setKeyURL(java.lang.String keyURL)
- Parameters:
keyURL
- the keyURL to set
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCMSRequestInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classCMSRequestInfo
-
toDOM
public org.w3c.dom.Element toDOM(org.w3c.dom.Document document)
- Overrides:
toDOM
in classCMSRequestInfo
-
fromDOM
public static KeyRequestInfo fromDOM(org.w3c.dom.Element infoElement)
-
toXML
public java.lang.String toXML() throws java.lang.Exception
- Overrides:
toXML
in classCMSRequestInfo
- Throws:
java.lang.Exception
-
fromXML
public static KeyRequestInfo fromXML(java.lang.String xml) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-