Package org.apache.directory.server.kerberos.shared.io.encoder

Examples of org.apache.directory.server.kerberos.shared.io.encoder.KdcRequestEncoder



    protected Checksum getBodyChecksum( RequestBody requestBody, ChecksumType checksumType ) throws IOException,
        KerberosException
    {
        KdcRequestEncoder bodyEncoder = new KdcRequestEncoder();
        byte[] bodyBytes = bodyEncoder.encodeRequestBody( requestBody );

        ChecksumHandler checksumHandler = new ChecksumHandler();
        return checksumHandler.calculateChecksum( checksumType, bodyBytes, null, KeyUsage.NUMBER8 );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.server.kerberos.shared.io.encoder.KdcRequestEncoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.