public interface IntermediateOperationFactory
Modifier and Type | Method and Description |
---|---|
void |
decodeValue(IntermediateResponse intermediateResponse,
byte[] responseValue)
Decode the value part of the intermediate response operation.
|
void |
encodeValue(Asn1Buffer buffer,
IntermediateResponse intermediateResponse)
Encode the value part of the intermediate response operation.
|
String |
getOid()
Gets the OID of the IntermediateResponse this factory generates.
|
IntermediateResponse |
newResponse()
Returns a new
IntermediateResponse with no value. |
IntermediateResponse |
newResponse(byte[] value)
Returns a new
IntermediateResponse with the following encoded value. |
String getOid()
IntermediateResponse newResponse()
IntermediateResponse
with no value.IntermediateResponse newResponse(byte[] value)
IntermediateResponse
with the following encoded value.value
- the encoded valuevoid encodeValue(Asn1Buffer buffer, IntermediateResponse intermediateResponse)
buffer
- The buffer into which to put the encoded valueintermediateResponse
- The IntermediateResponse Operation to encodevoid decodeValue(IntermediateResponse intermediateResponse, byte[] responseValue) throws DecoderException
intermediateResponse
- The IntermediateResponse Operation to feedresponseValue
- The response value to decodeDecoderException
- If the value cannot be decodedCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.