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
- IOException
public byte[] encodeRequestBody(RequestBody requestBody) throws IOException
KdcRequest
into a byte[].requestBody
- KdcRequest
.IOException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.