Class CertEnrollmentRequest
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.cert.CertEnrollmentRequest
- All Implemented Interfaces:
JSONSerializer
- Direct Known Subclasses:
CertReviewResponse
- Author:
- jmagne
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netscape.certsrv.base.RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<ProfileInput> protected Collection<ProfileOutput> protected Stringprotected Stringprotected Stringprotected booleanprotected CertIdprotected StringFields inherited from class com.netscape.certsrv.base.RESTMessage
attributes, className -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInput(ProfileInput input) voidaddOutput(ProfileOutput output) createInput(String name) voiddeleteInput(ProfileInput input) voiddeleteOutput(ProfileOutput output) booleanstatic CertEnrollmentRequeststatic voidfromDOM(Element certEnrollmentRequestElement, CertEnrollmentRequest certEnrollmentRequest) static CertEnrollmentRequestgetInputByID(String id) getInputByName(String name) getOutputByID(String id) getOutputByName(String name) inthashCode()booleanvoidsetInputs(Collection<ProfileInput> inputs) voidsetOutputs(Collection<ProfileOutput> outputs) voidsetProfileId(String profileId) voidsetRemoteAddr(String remoteAddr) voidsetRemoteHost(String remoteHost) voidsetRenewal(boolean renewal) voidsetSerialNum(CertId serialNum) voidsetServerSideKeygenP12Passwd(String serverSideKeygenP12Passwd) voidtoParams()toXML()Methods inherited from class com.netscape.certsrv.base.RESTMessage
fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Field Details
-
profileId
-
serverSideKeygenP12Passwd
-
renewal
protected boolean renewal -
serialNum
-
remoteHost
-
remoteAddr
-
inputs
-
outputs
-
-
Constructor Details
-
CertEnrollmentRequest
public CertEnrollmentRequest() -
CertEnrollmentRequest
-
-
Method Details
-
getProfileId
- Returns:
- the profileId
-
setProfileId
- Parameters:
profileId- the profileId to set
-
getServerSideKeygenP12Passwd
-
setServerSideKeygenP12Passwd
-
isRenewal
public boolean isRenewal()- Returns:
- renewal
-
setRenewal
public void setRenewal(boolean renewal) - Parameters:
renewal- the renewal to set
-
addInput
-
deleteInput
-
createInput
-
getInput
-
getInputByName
-
getInputByID
-
addOutput
-
deleteOutput
-
getOutput
-
getOutputByName
-
getOutputByID
-
toParams
-
getSerialNum
-
setSerialNum
-
getInputs
-
setInputs
-
getRemoteAddr
-
setRemoteAddr
-
getRemoteHost
-
setRemoteHost
-
getOutputs
-
setOutputs
-
hashCode
public int hashCode()- Overrides:
hashCodein classRESTMessage
-
equals
- Overrides:
equalsin classRESTMessage
-
toDOM
- Overrides:
toDOMin classRESTMessage
-
toDOM
- Overrides:
toDOMin classRESTMessage
-
fromDOM
public static void fromDOM(Element certEnrollmentRequestElement, CertEnrollmentRequest certEnrollmentRequest) -
fromDOM
-
toXML
- Overrides:
toXMLin classRESTMessage- Throws:
Exception
-
fromXML
- Throws:
Exception
-