org.apache.directory.api.ldap.extras.extended
Class CertGenerationRequestImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractRequest
org.apache.directory.api.ldap.model.message.AbstractExtendedRequest<CertGenerationResponse>
org.apache.directory.api.ldap.extras.extended.CertGenerationRequestImpl
- All Implemented Interfaces:
- CertGenerationRequest, org.apache.directory.api.ldap.model.message.ExtendedRequest<CertGenerationResponse>, org.apache.directory.api.ldap.model.message.Message, org.apache.directory.api.ldap.model.message.Request, org.apache.directory.api.ldap.model.message.ResultResponseRequest<CertGenerationResponse>, org.apache.directory.api.ldap.model.message.SingleReplyRequest<CertGenerationResponse>
public class CertGenerationRequestImpl
- extends org.apache.directory.api.ldap.model.message.AbstractExtendedRequest<CertGenerationResponse>
- implements CertGenerationRequest
An extended operation requesting the server to generate a public/private key pair and a certificate
and store them in a specified target entry in the DIT.
- Author:
- Apache Directory Project
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest |
response |
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
controls |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest |
RESP_TYPE, TYPE |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest |
addAllControls, addControl, equals, getRequestName, getResponseType, hashCode, removeControl, setMessageId, setRequestName |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractRequest |
hasResponse |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
get, getControl, getControls, getMessageId, getType, hasControl, put, toString |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest |
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest |
getResponseType |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Request |
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
get, getControl, getControls, getMessageId, getType, hasControl, put |
CertGenerationRequestImpl
public CertGenerationRequestImpl(int messageId,
String targerDN,
String issuerDN,
String subjectDN,
String keyAlgorithm)
- Creates a new instance of CertGenerationRequest.
- Parameters:
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 keys
CertGenerationRequestImpl
public CertGenerationRequestImpl()
- Creates a new instance of CertGenerationRequest.
getTargetDN
public String getTargetDN()
-
- Specified by:
getTargetDN in interface CertGenerationRequest
setTargetDN
public void setTargetDN(String targetDN)
-
- Specified by:
setTargetDN in interface CertGenerationRequest
getIssuerDN
public String getIssuerDN()
-
- Specified by:
getIssuerDN in interface CertGenerationRequest
setIssuerDN
public void setIssuerDN(String issuerDN)
-
- Specified by:
setIssuerDN in interface CertGenerationRequest
getSubjectDN
public String getSubjectDN()
-
- Specified by:
getSubjectDN in interface CertGenerationRequest
setSubjectDN
public void setSubjectDN(String subjectDN)
-
- Specified by:
setSubjectDN in interface CertGenerationRequest
getKeyAlgorithm
public String getKeyAlgorithm()
-
- Specified by:
getKeyAlgorithm in interface CertGenerationRequest
setKeyAlgorithm
public void setKeyAlgorithm(String keyAlgorithm)
-
- Specified by:
setKeyAlgorithm in interface CertGenerationRequest
getResultResponse
public CertGenerationResponse getResultResponse()
- Specified by:
getResultResponse in interface org.apache.directory.api.ldap.model.message.ResultResponseRequest<CertGenerationResponse>- Overrides:
getResultResponse in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest<CertGenerationResponse>
toString
public String toString()
- Overrides:
toString in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest<CertGenerationResponse>
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.