Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SigningIdentity ¶
type SigningIdentity interface { //serialize返回用于验证的此标识的字节表示形式 //由此签名身份签名的邮件 Serialize() ([]byte, error) //sign对给定的有效负载进行签名并返回签名 Sign([]byte) ([]byte, error) }
SigningIdentity对消息进行签名并将其公共标识序列化为字节
type SigningIdentityFetcher ¶
type SigningIdentityFetcher interface { endorsement.Dependency //SigningIdentityForRequest返回给定建议的签名标识 SigningIdentityForRequest(*peer.SignedProposal) (SigningIdentity, error) }
SigningIdentityFetcher根据建议获取签名标识
Click to show internal directories.
Click to hide internal directories.