public class CertGenerationRequestImpl extends AbstractExtendedRequest<CertGenerationResponse> implements CertGenerationRequest
response
controls
EXTENSION_OID
RESP_TYPE, TYPE
Constructor and Description |
---|
CertGenerationRequestImpl()
Creates a new instance of CertGenerationRequest.
|
CertGenerationRequestImpl(int messageId,
String targerDN,
String issuerDN,
String subjectDN,
String keyAlgorithm)
Creates a new instance of CertGenerationRequest.
|
Modifier and Type | Method and Description |
---|---|
String |
getIssuerDN() |
String |
getKeyAlgorithm() |
CertGenerationResponse |
getResultResponse()
The result containing response for this request.
|
String |
getSubjectDN() |
String |
getTargetDN() |
void |
setIssuerDN(String issuerDN) |
void |
setKeyAlgorithm(String keyAlgorithm) |
void |
setSubjectDN(String subjectDN) |
void |
setTargetDN(String targetDN) |
String |
toString()
Get a String representation of an Extended Request
|
addAllControls, addControl, equals, getRequestName, getResponseType, hashCode, removeControl, setMessageId, setRequestName
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
public CertGenerationRequestImpl(int messageId, String targerDN, String issuerDN, String subjectDN, String keyAlgorithm)
messageId
- the message idtargerDN
- the Dn of target entry whose key and certificate values will be changedissuerDN
- Dn to be used as the issuer's Dn in the certificatesubjectDN
- Dn to be used as certificate's subjectkeyAlgorithm
- crypto algorithm name to be used for generating the keyspublic CertGenerationRequestImpl()
public String getTargetDN()
getTargetDN
in interface CertGenerationRequest
public void setTargetDN(String targetDN)
setTargetDN
in interface CertGenerationRequest
public String getIssuerDN()
getIssuerDN
in interface CertGenerationRequest
public void setIssuerDN(String issuerDN)
setIssuerDN
in interface CertGenerationRequest
public String getSubjectDN()
getSubjectDN
in interface CertGenerationRequest
public void setSubjectDN(String subjectDN)
setSubjectDN
in interface CertGenerationRequest
public String getKeyAlgorithm()
getKeyAlgorithm
in interface CertGenerationRequest
public void setKeyAlgorithm(String keyAlgorithm)
setKeyAlgorithm
in interface CertGenerationRequest
public CertGenerationResponse getResultResponse()
AbstractExtendedRequest
getResultResponse
in interface ResultResponseRequest<CertGenerationResponse>
getResultResponse
in class AbstractExtendedRequest<CertGenerationResponse>
public String toString()
AbstractExtendedRequest
toString
in class AbstractExtendedRequest<CertGenerationResponse>
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.