github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/ephemeral/interfaces.go (about) 1 package ephemeral 2 3 import ( 4 "github.com/keybase/client/go/libkb" 5 "github.com/keybase/client/go/protocol/gregor1" 6 "github.com/keybase/client/go/protocol/keybase1" 7 ) 8 9 type EphemeralKeyer interface { 10 Fetch(mctx libkb.MetaContext, teamID keybase1.TeamID, generation keybase1.EkGeneration, contentCtime *gregor1.Time) (keybase1.TeamEphemeralKeyBoxed, error) 11 Unbox(mctx libkb.MetaContext, boxed keybase1.TeamEphemeralKeyBoxed, contentCtime *gregor1.Time) (keybase1.TeamEphemeralKey, error) 12 Type() keybase1.TeamEphemeralKeyType 13 }