public abstract class EncKdcRepPartEncoder extends Object implements Encoder
Modifier | Constructor and Description |
---|---|
protected |
EncKdcRepPartEncoder(int applicationCode) |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(Encodable app)
Encodes an ASN.1
Encodable object into a byte array. |
protected org.apache.directory.shared.asn1.der.DERSequence |
encodeInitialSequence(KdcReply reply)
EncKDCRepPart ::= SEQUENCE {
key[0] EncryptionKey,
last-req[1] LastReq,
nonce[2] INTEGER,
key-expiration[3] KerberosTime OPTIONAL,
flags[4] TicketFlags,
authtime[5] KerberosTime,
starttime[6] KerberosTime OPTIONAL,
endtime[7] KerberosTime,
renew-till[8] KerberosTime OPTIONAL,
srealm[9] Realm,
sname[10] PrincipalName,
caddr[11] HostAddresses OPTIONAL
}
|
public byte[] encode(Encodable app) throws IOException
Encoder
Encodable
object into a byte array.encode
in interface Encoder
IOException
protected org.apache.directory.shared.asn1.der.DERSequence encodeInitialSequence(KdcReply reply)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.