package
6.0.0-beta.10+incompatible
Repository: https://github.com/nuts-foundation/nuts-node.git
Documentation: pkg.go.dev

# Functions

PemToPrivateKey converts a PEM encoded private key to a Signer interface.
PemToPublicKey converts a PEM encoded public key to a crypto.PublicKey.
PrivateKeyToPem converts an public key to PEM encoding.
PublicKeyToPem converts an public key to PEM encoding.

# Variables

ErrRsaPubKeyConversion indicates a public key could not be converted to an RSA public key.
ErrWrongPrivateKey indicates a wrong private key format.
ErrWrongPublicKey indicates a wrong public key format.