type DID interface {
KID() string String() string SignKey() any Packager() api.Packager// TODO: this is mainly for indy but could be merged with SignKey? VerKey() string Storage() managed.Wallet}
type Pipe interface {
Pack(src []byte) (dst []byte, vk string, err error)
Unpack(src []byte) (dst []byte, vk string, err error)
// TODO: do we really need this? propably not when we start to use interface,// this was for value object (struct)
IsNull() bool
}
type TheirDID interface {
DID// this won't work because wen can be both: receiver and sender Unpack(d []byte) ([]byte, error)
// these things could work, all everything with cryptos could Verify() error
}