Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultEpochDuration is the default duration for the drkey SecretValue and derived keys DefaultEpochDuration = 24 * time.Hour EnvVarEpochDuration = "SCION_TESTING_DRKEY_EPOCH_DURATION" // DefaultAcceptanceWindow is the time width for accepting incoming packets. The // acceptance window is then computed as: // aw := [T-a, T+a) // where aw:= acceptance window, T := time instant and a := aw/2 DefaultAcceptanceWindow = 5 * time.Minute EnvVarAcceptanceWindow = "SCION_TESTING_ACCEPTANCE_WINDOW" )
Variables ¶
This section is empty.
Functions ¶
func LoadAcceptanceWindow ¶
func LoadEpochDuration ¶
Types ¶
type FakeProvider ¶
func (*FakeProvider) GetASHostKey ¶
Click to show internal directories.
Click to hide internal directories.