{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package identity\n\n## Types\n\n```go\ntype Deserializer interface {\n\t// Deserialize deserializes an identity.\n\t// Deserialization will fail if the identity is associated to\n\t// an msp that is different from this one that is performing\n\t// the deserialization.\n\tDeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)\n}\n```\nDeserializer\n\n```go\ntype DeserializerManager interface {\n\t// Deserializer returns an instance of transaction.Deserializer for the passed channel\n\t// if the channel exists\n\tDeserializer(channel string) (Deserializer, error)\n}\n```\nDeserializerManager returns instances of Deserializer\n\n```go\ntype IssuingValidator interface {\n\t// Validate returns no error if the passed creator can issue tokens of the passed type,, an error otherwise.\n\tValidate(creator PublicInfo, tokenType string) error\n}\n```\nIssuingValidator is used to establish if the creator can issue tokens of the passed type.\n\n```go\ntype PublicInfo interface {\n\tPublic() []byte\n}\n```\nPublicInfo is used to identify token owners.\n\n","path":"github.com/eric-erki/https-hyperledger.org/token/identity","name":"identity","synopsis":"","isRedistributable":true}
