Class: Nl::Linux::Ovpn::AttributeSets::Keydir
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ovpn::AttributeSets::Keydir
- Defined in:
- nl-linux/generated/nl/linux/ovpn.rb
Defined Under Namespace
Classes: Attribute, CipherKey, NonceTail
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#cipher_key ⇒ String
The actual key to be used by the cipher.
-
#nonce_tail ⇒ String
Random nonce to be concatenated to the packet ID, in order to obtain the actual cipher IV.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
1011 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1011 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1017 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1017 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#cipher_key ⇒ String
The actual key to be used by the cipher
999 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 999 def cipher_key; self[:"cipher_key"]&.value; end |
#nonce_tail ⇒ String
Random nonce to be concatenated to the packet ID, in order to obtain the actual cipher IV
1004 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1004 def nonce_tail; self[:"nonce_tail"]&.value; end |