package pemutil
import "github.com/spiffe/go-spiffe/v2/internal/pemutil"
Index ¶
- Variables
- func EncodeCertificates(certificates []*x509.Certificate) []byte
- func EncodePKCS8PrivateKey(privateKey interface{}) ([]byte, error)
- func ParseCertificates(certsBytes []byte) ([]*x509.Certificate, error)
- func ParsePrivateKey(keyBytes []byte) (crypto.PrivateKey, error)
Variables ¶
Functions ¶
func EncodeCertificates ¶
func EncodeCertificates(certificates []*x509.Certificate) []byte
func EncodePKCS8PrivateKey ¶
func ParseCertificates ¶
func ParseCertificates(certsBytes []byte) ([]*x509.Certificate, error)
func ParsePrivateKey ¶
func ParsePrivateKey(keyBytes []byte) (crypto.PrivateKey, error)
Source Files ¶
- Version
- v2.0.0-alpha.1
- Published
- Apr 22, 2020
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.