Sha256: 95bc8180e03d089a6640d55a9cfa5da59229e89bf465ff086fca8b33b4613775
Contents?: true
Size: 702 Bytes
Versions: 7
Compression:
Stored size: 702 Bytes
Contents
# -*- coding: binary -*- module Rex module Proto module Kerberos module Pac # This class provides a representation of a PAC_SERVER_CHECKSUM structure, which contains the # checksum using the key of the server. class ServerChecksum < Element # @!attribute version # @return [Fixnum] The checksum type attr_accessor :checksum # Encodes the Rex::Proto::Kerberos::Pac::ServerChecksum # # @return [String] def encode encoded = '' encoded << [checksum].pack('V') encoded << "\x00" * 16 encoded end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems