public class CertGenerationRequestDecorator extends ExtendedRequestDecorator<CertGenerationRequest> implements CertGenerationRequest
| Modifier and Type | Field and Description |
|---|---|
private CertGenerationRequest |
certGenerationRequest |
private static org.slf4j.Logger |
LOG |
private int |
requestLength
stores the length of the request
|
requestValuemessageLengthEXTENSION_OID| Constructor and Description |
|---|
CertGenerationRequestDecorator(LdapApiService codec,
CertGenerationRequest decoratedMessage) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
computeLengthInternal()
Compute the CertGenerationRequest length
|
(package private) java.nio.ByteBuffer |
encodeInternal()
Encodes the CertGenerationRequest extended operation.
|
CertGenerationRequest |
getCertGenerationRequest() |
java.lang.String |
getIssuerDN() |
java.lang.String |
getKeyAlgorithm() |
byte[] |
getRequestValue() |
CertGenerationResponse |
getResultResponse()
If called for the first time, this method creates a result containing
response object for this request.
|
java.lang.String |
getSubjectDN() |
java.lang.String |
getTargetDN()
Get the Traget DN for the certificate storage
|
void |
setIssuerDN(java.lang.String issuerDN) |
void |
setKeyAlgorithm(java.lang.String keyAlgorithm) |
void |
setRequestValue(byte[] requestValue) |
void |
setSubjectDN(java.lang.String subjectDN) |
void |
setTargetDN(java.lang.String targetDN) |
addAllControls, addControl, computeLength, encode, getRequestName, removeControl, setMessageId, setRequestNameabandon, addAbandonListener, getResponseType, isAbandonedhasResponseget, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamegetResponseTypehasResponseget, getControl, getControls, getMessageId, getType, hasControl, putprivate static final org.slf4j.Logger LOG
private CertGenerationRequest certGenerationRequest
private int requestLength
public CertGenerationRequestDecorator(LdapApiService codec, CertGenerationRequest decoratedMessage)
public CertGenerationRequest getCertGenerationRequest()
public void setRequestValue(byte[] requestValue)
setRequestValue in class ExtendedRequestDecorator<CertGenerationRequest>public byte[] getRequestValue()
getRequestValue in class ExtendedRequestDecorator<CertGenerationRequest>public CertGenerationResponse getResultResponse()
getResultResponse in interface ResultResponseRequestgetResultResponse in class ResultResponseRequestDecorator<CertGenerationRequest>public java.lang.String getTargetDN()
getTargetDN in interface CertGenerationRequestpublic void setTargetDN(java.lang.String targetDN)
setTargetDN in interface CertGenerationRequestpublic java.lang.String getIssuerDN()
getIssuerDN in interface CertGenerationRequestpublic void setIssuerDN(java.lang.String issuerDN)
setIssuerDN in interface CertGenerationRequestpublic java.lang.String getSubjectDN()
getSubjectDN in interface CertGenerationRequestpublic void setSubjectDN(java.lang.String subjectDN)
setSubjectDN in interface CertGenerationRequestpublic java.lang.String getKeyAlgorithm()
getKeyAlgorithm in interface CertGenerationRequestpublic void setKeyAlgorithm(java.lang.String keyAlgorithm)
setKeyAlgorithm in interface CertGenerationRequestint computeLengthInternal()
0x30 L1 | +--> 0x04 LL target DN +--> 0x04 LL issuer DN +--> 0x04 LL subject DN +--> 0x04 LL key algorithm
java.nio.ByteBuffer encodeInternal()
throws EncoderException
EncoderException - If anything goes wrong.