public class CertGenerationRequestDecorator extends ExtendedRequestDecorator<CertGenerationRequest> implements CertGenerationRequest
EXTENSION_OID
Constructor and Description |
---|
CertGenerationRequestDecorator(LdapApiService codec,
CertGenerationRequest decoratedMessage)
Creates a new instance of CertGenerationRequestDecorator.
|
Modifier and Type | Method and Description |
---|---|
CertGenerationRequest |
getCertGenerationRequest() |
String |
getIssuerDN() |
String |
getKeyAlgorithm() |
byte[] |
getRequestValue()
Gets the Extended request payload
|
CertGenerationResponse |
getResultResponse()
If called for the first time, this method creates a result containing
response object for this request.
|
String |
getSubjectDN() |
String |
getTargetDN()
Get the Target DN for the certificate storage
|
void |
setIssuerDN(String issuerDN)
Sets the issuer's DN
|
void |
setKeyAlgorithm(String keyAlgorithm)
Sets the Key algorithm
|
void |
setRequestValue(byte[] requestValue)
sets the Extended request payload
|
void |
setSubjectDN(String subjectDN)
Sets the subect's DN
|
void |
setTargetDN(String targetDN)
Sets the target DN
|
addAllControls, addControl, computeLength, encode, getRequestName, removeControl, setMessageId, setRequestName
abandon, addAbandonListener, getResponseType, isAbandoned
hasResponse
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
public CertGenerationRequestDecorator(LdapApiService codec, CertGenerationRequest decoratedMessage)
codec
- The LDAP Service to usedecoratedMessage
- The certificate generation requestpublic CertGenerationRequest getCertGenerationRequest()
public void setRequestValue(byte[] requestValue)
setRequestValue
in class ExtendedRequestDecorator<CertGenerationRequest>
requestValue
- The extended payloadpublic byte[] getRequestValue()
getRequestValue
in class ExtendedRequestDecorator<CertGenerationRequest>
public CertGenerationResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
getResultResponse
in class ResultResponseRequestDecorator<CertGenerationRequest>
public String getTargetDN()
getTargetDN
in interface CertGenerationRequest
public void setTargetDN(String targetDN)
setTargetDN
in interface CertGenerationRequest
targetDN
- The target DNpublic String getIssuerDN()
getIssuerDN
in interface CertGenerationRequest
public void setIssuerDN(String issuerDN)
setIssuerDN
in interface CertGenerationRequest
issuerDN
- the issuer's DNpublic String getSubjectDN()
getSubjectDN
in interface CertGenerationRequest
public void setSubjectDN(String subjectDN)
setSubjectDN
in interface CertGenerationRequest
subjectDN
- The subect's DNpublic String getKeyAlgorithm()
getKeyAlgorithm
in interface CertGenerationRequest
public void setKeyAlgorithm(String keyAlgorithm)
setKeyAlgorithm
in interface CertGenerationRequest
keyAlgorithm
- The Key algorithmCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.