Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type License ¶
type License struct { Data []byte // Signature is the ASN.1 encoded signature of Data's sha256 hash digest. Signature []byte }
License represents a license with some data and a hash.
func NewLicense ¶
func NewLicense(privateKey *ecdsa.PrivateKey, data LicenseData) *License
type LicenseData ¶
Click to show internal directories.
Click to hide internal directories.