public class CertGenerationRequestImpl extends org.apache.directory.api.ldap.model.message.AbstractExtendedRequest implements CertGenerationRequest
| Modifier and Type | Field and Description |
|---|---|
private String |
issuerDN
the issuer Dn that will be set in the certificate
|
private String |
keyAlgorithm
name of the algorithm used for generating the keys
|
private String |
subjectDN
the Dn of the subject that is present in the certificate
|
private String |
targetDN
the Dn of the server entry which will be updated
|
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() |
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() |
addAllControls, addControl, equals, getRequestName, getResponse, getResponseType, hashCode, removeControl, setMessageId, setRequestName, setResponsehasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNameprivate String targetDN
private String issuerDN
private String subjectDN
private String keyAlgorithm
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 CertGenerationRequestpublic void setTargetDN(String targetDN)
setTargetDN in interface CertGenerationRequesttargetDN - The target DNpublic String getIssuerDN()
getIssuerDN in interface CertGenerationRequestpublic void setIssuerDN(String issuerDN)
setIssuerDN in interface CertGenerationRequestissuerDN - the issuer's DNpublic String getSubjectDN()
getSubjectDN in interface CertGenerationRequestpublic void setSubjectDN(String subjectDN)
setSubjectDN in interface CertGenerationRequestsubjectDN - The subect's DNpublic String getKeyAlgorithm()
getKeyAlgorithm in interface CertGenerationRequestpublic void setKeyAlgorithm(String keyAlgorithm)
setKeyAlgorithm in interface CertGenerationRequestkeyAlgorithm - The Key algorithmpublic CertGenerationResponse getResultResponse()
getResultResponse in interface org.apache.directory.api.ldap.model.message.ResultResponseRequestgetResultResponse in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequestpublic String toString()
toString in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequestCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.