Class: Rex::Proto::Kerberos::Model::PreAuthPkAsRep

Inherits:
RASN1::Model
  • Object
show all
Defined in:
lib/rex/proto/kerberos/model/pre_auth_pk_as_rep.rb

Overview

This class is a representation of a KERB-PA-PK-AS-REP, pre authenticated data to perform PKINIT

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decode(data) ⇒ Object



20
21
22
# File 'lib/rex/proto/kerberos/model/pre_auth_pk_as_rep.rb', line 20

def self.decode(data)
  self.parse(data)
end

Instance Method Details

#dh_rep_infoObject



16
17
18
# File 'lib/rex/proto/kerberos/model/pre_auth_pk_as_rep.rb', line 16

def dh_rep_info
  Rex::Proto::Kerberos::Model::Pkinit::ContentInfo.parse(self[:dh_rep_info].value)
end