{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v2.0.0-alpha+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package identity\n\n## Types\n\n```go\ntype Serializer interface {\n\tSerialize() ([]byte, error)\n}\n```\nSerializer is an interface which wraps the Serialize function.\n\nSerialize converts an identity to bytes.  It returns an error on failure.\n\n```go\ntype Signer interface {\n\tSign(message []byte) ([]byte, error)\n}\n```\nSigner is an interface which wraps the Sign method.\n\nSign signs message bytes and returns the signature or an error on failure.\n\n```go\ntype SignerSerializer interface {\n\tSigner\n\tSerializer\n}\n```\nSignerSerializer groups the Sign and Serialize methods.\n\n","path":"github.com/eric-erki/https-hyperledger.org/internal/pkg/identity","name":"identity","synopsis":"","isRedistributable":true}
