public class KrbCodec extends Object
| Constructor and Description |
|---|
KrbCodec() |
| Modifier and Type | Method and Description |
|---|---|
static void |
decode(byte[] content,
Asn1Type value) |
static <T extends Asn1Type> |
decode(byte[] content,
Class<T> krbType) |
static void |
decode(ByteBuffer content,
Asn1Type value) |
static <T extends Asn1Type> |
decode(ByteBuffer content,
Class<T> krbType) |
static KrbMessage |
decodeMessage(ByteBuffer buffer) |
static byte[] |
encode(Asn1Type krbObj) |
static void |
encode(Asn1Type krbObj,
ByteBuffer buffer) |
public static byte[] encode(Asn1Type krbObj) throws KrbException
KrbExceptionpublic static void encode(Asn1Type krbObj, ByteBuffer buffer) throws KrbException
KrbExceptionpublic static void decode(byte[] content,
Asn1Type value)
throws KrbException
KrbExceptionpublic static void decode(ByteBuffer content, Asn1Type value) throws KrbException
KrbExceptionpublic static <T extends Asn1Type> T decode(byte[] content, Class<T> krbType) throws KrbException
KrbExceptionpublic static <T extends Asn1Type> T decode(ByteBuffer content, Class<T> krbType) throws KrbException
KrbExceptionpublic static KrbMessage decodeMessage(ByteBuffer buffer) throws IOException
IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.