Class: Rex::Proto::Kerberos::CredentialCache::Primitive::Krb5CcacheEpoch
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Rex::Proto::Kerberos::CredentialCache::Primitive::Krb5CcacheEpoch
- Defined in:
- lib/rex/proto/kerberos/credential_cache/primitive/krb5_ccache_epoch.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
13 14 15 |
# File 'lib/rex/proto/kerberos/credential_cache/primitive/krb5_ccache_epoch.rb', line 13 def get Time.at(self.epoch) end |
#set(v) ⇒ Object
17 18 19 |
# File 'lib/rex/proto/kerberos/credential_cache/primitive/krb5_ccache_epoch.rb', line 17 def set(v) self.epoch = v.to_i end |