grizzly v0.8.5 Grizzly.SmartStart.MetaExtension.AdvancedJoining View Source
This extension is used to advertise the Security keys to grant during S2 bootstrapping to a SmartStart node in the provisioning list
For more information about S2 security see the Grizzly.Security
module
Link to this section Summary
Functions
Create a binary string from an AdvancedJoining.t()
Create a new AdvancedJoining.t()
Create an AdvancedJoining.t()
from a binary string
Link to this section Types
t()
View Source
t() :: %Grizzly.SmartStart.MetaExtension.AdvancedJoining{
keys: [Grizzly.Security.key(), ...]
}
t() :: %Grizzly.SmartStart.MetaExtension.AdvancedJoining{ keys: [Grizzly.Security.key(), ...] }
Link to this section Functions
from_binary(arg1) View Source
Create a binary string from an AdvancedJoining.t()
new(keys)
View Source
new([Grizzly.Security.key(), ...]) ::
{:ok, t()} | {:error, :invalid_keys | :empty_keys}
new([Grizzly.Security.key(), ...]) :: {:ok, t()} | {:error, :invalid_keys | :empty_keys}
Create a new AdvancedJoining.t()
This will validate the keys passed in are valid S2 keys. If a key is not a
valid S2 key this function will return {:error, :invalid_keys}
.
The key
parameter cannot be an empty list. If an empty list is passed in
then this function will return {:error, :empty_keys}
to_binary(advanced_joining) View Source
Create an AdvancedJoining.t()
from a binary string
If the binary string does not have the critical bit set then this function
will return {:error, :critical_bit_not_set}