public class AuthenticatorDecoder extends Object implements Decoder, DecoderFactory
Constructor and Description |
---|
AuthenticatorDecoder() |
Modifier and Type | Method and Description |
---|---|
Encodable |
decode(byte[] encodedAuthenticator)
Decodes the byte array into an
Encodable object. |
protected static Authenticator |
decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
-- Unencrypted authenticator
Authenticator ::= [APPLICATION 2] SEQUENCE
{
authenticator-vno[0] INTEGER,
crealm[1] Realm,
cname[2] PrincipalName,
cksum[3] Checksum OPTIONAL,
cusec[4] INTEGER,
ctime[5] KerberosTime,
subkey[6] EncryptionKey OPTIONAL,
seq-number[7] INTEGER OPTIONAL,
authorization-data[8] AuthorizationData OPTIONAL
}
|
Decoder |
getDecoder()
Returns the
Decoder . |
public Decoder getDecoder()
DecoderFactory
Decoder
.getDecoder
in interface DecoderFactory
Decoder
.public Encodable decode(byte[] encodedAuthenticator) throws IOException
Decoder
Encodable
object.decode
in interface Decoder
Encodable
object.IOException
protected static Authenticator decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.