Versions in this module Expand all Collapse all v5 v5.4.40 Sep 22, 2026 v5.4.39 Sep 21, 2026 Changes in this version + var ErrRsaPubKeyConversion = errors.New("unable to convert public key to RSA public key") + var ErrWrongPrivateKey = errors.New("failed to decode PEM block containing private key") + var ErrWrongPublicKey = errors.New("failed to decode PEM block containing public key, key is of the wrong type") + func PemToPrivateKey(bytes []byte) (signer crypto.Signer, err error) + func PemToPublicKey(pub []byte) (crypto.PublicKey, error) + func PrivateKeyToPem(pub crypto.PrivateKey) (string, error) + func PublicKeyToPem(pub crypto.PublicKey) (string, error) Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v6