x509z

package
v0.0.66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPEMFormat = errors.New("crypto/x509z: invalid pem format")
	ErrKeyTypeMismatch  = errors.New("crypto/x509z: key type mismatch")
)

Functions

func ParseECDSAPrivateKeyPEM

func ParseECDSAPrivateKeyPEM(pemBytes []byte) (*ecdsa.PrivateKey, error)

func ParseECDSAPublicKeyPEM

func ParseECDSAPublicKeyPEM(pemBytes []byte) (*ecdsa.PublicKey, error)

func ParseRSAPrivateKeyPEM

func ParseRSAPrivateKeyPEM(pemBytes []byte) (*rsa.PrivateKey, error)

func ParseRSAPublicKeyPEM

func ParseRSAPublicKeyPEM(pemBytes []byte) (*rsa.PublicKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL