package
0.55.1
Repository: https://github.com/ovh/cds.git
Documentation: pkg.go.dev

# Functions

NewHMacSigner instantiates a signer using HMAC using SHA-512 with the given private key.
NewRandomRSAKey generates a public/private key pair.
NewSigner instantiate a signer using RSASSA-PSS (SHA512) with the given private key.
Sign a json marshalled content and returns a protected JWS object using the full serialization format.
Verify parses the serialized, protected JWS object, than verifying the signature on the payload and unmarshal the payload into i.