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.StringkeyURL-
Fields inherited from class com.netscape.certsrv.request.CMSRequestInfo
realm, requestStatus, requestType, requestURL
-
-
Constructor Summary
Constructors Constructor Description KeyRequestInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static KeyRequestInfofromDOM(org.w3c.dom.Element infoElement)static KeyRequestInfofromXML(java.lang.String xml)KeyIdgetKeyId()java.lang.StringgetKeyURL()inthashCode()voidsetKeyURL(java.lang.String keyURL)org.w3c.dom.ElementtoDOM(org.w3c.dom.Document document)java.lang.StringtoXML()-
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:
hashCodein classCMSRequestInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classCMSRequestInfo
-
toDOM
public org.w3c.dom.Element toDOM(org.w3c.dom.Document document)
- Overrides:
toDOMin classCMSRequestInfo
-
fromDOM
public static KeyRequestInfo fromDOM(org.w3c.dom.Element infoElement)
-
toXML
public java.lang.String toXML() throws java.lang.Exception- Overrides:
toXMLin classCMSRequestInfo- Throws:
java.lang.Exception
-
fromXML
public static KeyRequestInfo fromXML(java.lang.String xml) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-