Class: Rex::Proto::Kerberos::Keytab::Krb5KeytabCountedOctetString
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Rex::Proto::Kerberos::Keytab::Krb5KeytabCountedOctetString
- Defined in:
- lib/rex/proto/kerberos/keytab/krb5_keytab.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ String
17 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 17 string :data, read_length: :len |
#len ⇒ Integer
13 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 13 uint16 :len, value: -> { data.length } |
Instance Method Details
#get ⇒ Object
19 20 21 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 19 def get data.snapshot end |
#set(v) ⇒ Object
23 24 25 |
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 23 def set(v) self.data = v end |