package
0.9.2
Repository: https://github.com/oidc-mytoken/server.git
Documentation: pkg.go.dev

# Functions

ExportPrivateKeyAsPemStr exports the private key.
GenerateFederationSigningKeyPair generates a cryptographic key pair for federation signing with the algorithm specified in the config.
GenerateMytokenSigningKeyPair generates a cryptographic key pair for mytoken signing with the algorithm specified in the mytoken config.
GenerateOIDCSigningKeyPair generates a cryptographic key pair for jwt signing within oidc communication with the algorithm specified in the mytoken config.
GetJWKS returns the jwks.
GetPublicKey returns the public key.
GetSigningKey returns the private key.
LoadFederationKey loads the private and public key for signing federation statements.
LoadMytokenSigningKey loads the private and public key for signing mytokens.
LoadOIDCSigningKey loads the private and public key for signing operations within oidc communcation.

# Constants

Predefined KeyUsage strings.
Predefined KeyUsage strings.
Predefined KeyUsage strings.

# Type aliases

KeyUsage is a type indicating the usage purpose of a key.