public class CertGenerationRequestImpl extends AbstractExtendedRequest implements CertGenerationRequest
EXTENSION_OID
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()
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 |
setSubjectDN(String subjectDN)
Sets the subect's DN
|
void |
setTargetDN(String targetDN)
Sets the target DN
|
String |
toString()
Get a String representation of an Extended Request
|
addAllControls, addControl, equals, getRequestName, getResponse, getResponseType, hashCode, removeControl, setMessageId, setRequestName, setResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
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
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 algorithmpublic CertGenerationResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
getResultResponse
in class AbstractExtendedRequest
public String toString()
toString
in class AbstractExtendedRequest
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.