Class: Rex::Proto::Kerberos::Keytab::Krb5KeytabEpoch
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Rex::Proto::Kerberos::Keytab::Krb5KeytabEpoch
- Defined in:
- lib/rex/proto/kerberos/keytab/krb5_keytab.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#epoch ⇒ Integer
47 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 47 uint32 :epoch |
Instance Method Details
#get ⇒ Object
49 50 51 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 49 def get Time.at(epoch) end |
#set(v) ⇒ Object
53 54 55 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 53 def set(v) self.epoch = v.to_i end |