// NewPublisher returns a new verifiable credential publisher.
NewPublisher returns a new verifiable credential publisher.
// NewPublisher returns a new verifiable credential publisher .
func NewPublisher(pubSub pubSub) *Publisher {
	return &Publisher{
		pubSub:      pubSub,
		jsonMarshal: json.Marshal,
	}
}
func NewPublisher ( pubSub pubSub ) * Publisher { return & Publisher { pubSub : pubSub , jsonMarshal : json . Marshal , } }
NewPublisher returns a new verifiable credential publisher.
NewPublisher returns a new verifiable credential publisher .