Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidateResult ¶
type ValidateResult struct { Date string `json:"date"` Package string `json:"package"` Version string `json:"version"` Result string `json:"result"` Signed string `json:"signed"` // [Date][Version][Result] }
func (*ValidateResult) SignData ¶
func (v *ValidateResult) SignData(privateKey string) (err error)
func (*ValidateResult) SignableBytes ¶
func (v *ValidateResult) SignableBytes() []byte
func (*ValidateResult) UnsignData ¶
func (v *ValidateResult) UnsignData(publicKey string) (err error)
func (*ValidateResult) Validate ¶
func (v *ValidateResult) Validate() error
Click to show internal directories.
Click to hide internal directories.