com.novell.nds.dirxml.ldap
Class GetServerCertResponse
java.lang.Object
com.novell.ldap.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPExtendedResponse
com.novell.nds.dirxml.ldap.DirXMLResponse
com.novell.nds.dirxml.ldap.GetServerCertResponse
- All Implemented Interfaces:
- ExtendedResponse, Externalizable, Serializable
- public class GetServerCertResponse
- extends com.novell.nds.dirxml.ldap.DirXMLResponse
The response class for the GetServerCertRequest
operation.
If this class is registered via LDAPExtendedResponse.register
then the return from
the LDAPConnection.extendedOperation
call will be an instance of this
class. Call this class's register
method or call
DirXMLExtensions.initialize
to register all DirXML LDAP extension response classes.
- OID:
- 2.16.840.1.113719.1.14.100.50
- Response data:
-
ASN1Sequence
ASN1OctetString certificate bytes
- See Also:
GetServerCertRequest
,
DirXMLExtensions.initialize()
,
Serialized Form
Fields inherited from class com.novell.ldap.LDAPMessage |
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary |
GetServerCertResponse(byte[] berData,
int offset,
int length)
Constructor used to create the JNDI ExtendedResponse implementation. |
GetServerCertResponse(RfcLDAPMessage rfcMessage)
Constructor used by response factory to create an instance of this class
based on a response message. |
Method Summary |
byte[] |
getCertificateData()
Return the data associated with the request |
byte[] |
getEncodedValue()
|
static void |
register()
Register this class with LDAPExtendedResponse.register for automatic construction
of this class as a result of LDAPConnection.extendedOperation . |
GetServerCertResponse
public GetServerCertResponse(RfcLDAPMessage rfcMessage)
- Constructor used by response factory to create an instance of this class
based on a response message.
- Parameters:
rfcMessage
- message containing response data
GetServerCertResponse
public GetServerCertResponse(byte[] berData,
int offset,
int length)
- Constructor used to create the JNDI
ExtendedResponse
implementation.
- Parameters:
berData
- LBER-encoded response dataoffset
- offset of start of response data in berData
parameterlength
- length of response data
getCertificateData
public byte[] getCertificateData()
- Return the data associated with the request
- Returns:
- data
register
public static void register()
throws ClassNotFoundException
- Register this class with
LDAPExtendedResponse.register
for automatic construction
of this class as a result of LDAPConnection.extendedOperation
.
- Throws:
ClassNotFoundException
- thrown if the java.lang.Class object for this
class cannot be obtained.
getEncodedValue
public byte[] getEncodedValue()
- Specified by:
getEncodedValue
in interface ExtendedResponse