package
0.0.698
Repository: https://github.com/ory/x.git
Documentation: pkg.go.dev

# Functions

LoadJSONWebKey returns a *jose.JSONWebKey for a given JSON string.
LoadPrivateKey loads a private key from PEM/DER/JWK-encoded data.
LoadPublicKey loads a public key from PEM/DER/JWK-encoded data.
NewEncryptionKey generates a keypair for corresponding KeyAlgorithm.
NewSigningKey generates a keypair for corresponding SignatureAlgorithm.
ToPublicKey returns the public key of the given private key.

# Structs

Base64Reader wraps an input stream consisting of either standard or url-safe base64 data, and maps it to a raw (unpadded) standard encoding.