Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adtac/go-lcns
/ functions
Functions
6 in github.com/adtac/go-lcns
⨍
Functions
6
◇
Types & classes
2
↓ 2 callers
Function
GenerateFromPayload
GenerateFromPayload takes a rsa.PrivateKey and a payload to include in the license and returns a license key string (if there are no errors). While th
generate.go:18
↓ 2 callers
Function
VerifyAndExtractPayload
VerifyAndExtractPayload takes a rsa.PublicKey and a license key string generated with GenerateFromPayload to return an empty interface holding the inc
verify.go:20
↓ 1 callers
Function
Example
(t *testing.T)
example_test.go:12
↓ 1 callers
Function
ReadPrivateKey
ReadPrivateKey reads a PEM-encoded X.509 RSA private key and returns a rsa.PrivateKey that can be used in GenerateFromPayload to generate a license ke
key_file.go:15
↓ 1 callers
Function
ReadPublicKey
ReadPublicKey reads a PEM-encoded X.509 RSA public key and returns a rsa.PublicKey that can be used in VerifyAndExtractPayload to verify a license key
key_file.go:41
Function
TestExample
(t *testing.T)
example_test.go:8