public class KdcRequestEncoder extends Object
| Constructor and Description |
|---|
KdcRequestEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(KdcRequest request,
ByteBuffer out)
Encodes a
KdcRequest into a ByteBuffer. |
byte[] |
encodeRequestBody(RequestBody requestBody)
Encodes a
KdcRequest into a byte[]. |
public void encode(KdcRequest request, ByteBuffer out) throws IOException
KdcRequest into a ByteBuffer.
AS-REQ ::= [APPLICATION 10] KDC-REQ
TGS-REQ ::= [APPLICATION 12] KDC-REQrequest - out - IOExceptionpublic byte[] encodeRequestBody(RequestBody requestBody) throws IOException
KdcRequest into a byte[].requestBody - KdcRequest.IOExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.