Package com.netscape.certsrv.key
Class KeyRequestInfo
- java.lang.Object
-
- com.netscape.certsrv.request.CMSRequestInfo
-
- com.netscape.certsrv.key.KeyRequestInfo
-
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
-
-
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
fromJSON(java.lang.String json)
static KeyRequestInfo
fromXML(java.lang.String string)
KeyId
getKeyId()
java.lang.String
getKeyURL()
int
hashCode()
static void
main(java.lang.String[] args)
void
setKeyURL(java.lang.String keyURL)
java.lang.String
toJSON()
java.lang.String
toString()
java.lang.String
toXML()
-
Methods inherited from class com.netscape.certsrv.request.CMSRequestInfo
getRealm, getRequestId, getRequestStatus, getRequestType, getRequestURL, setRealm, setRequestStatus, setRequestType, setRequestURL
-
-
-
-
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
-
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 string) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toJSON
public java.lang.String toJSON() throws java.lang.Exception
- Overrides:
toJSON
in classCMSRequestInfo
- Throws:
java.lang.Exception
-
fromJSON
public static KeyRequestInfo fromJSON(java.lang.String json) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCMSRequestInfo
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-