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