Documentation ¶
Index ¶
- func CertificatesToPems(certs []*x509.Certificate) []byte
- func CreateCACertificate(t *testing.T) ([]byte, *ecdsa.PrivateKey)
- func CreateIntermediateCACertificate(t *testing.T, signerCerts []byte, signerPriv *ecdsa.PrivateKey) ([]byte, *ecdsa.PrivateKey)
- func GetLeafCertificate(pem []byte) []byte
- func JoinPems(pems ...[]byte) []byte
- func PrivateKeyToPem(t *testing.T, priv *ecdsa.PrivateKey) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificatesToPems ¶
func CertificatesToPems(certs []*x509.Certificate) []byte
func CreateCACertificate ¶
func CreateCACertificate(t *testing.T) ([]byte, *ecdsa.PrivateKey)
func CreateIntermediateCACertificate ¶
func CreateIntermediateCACertificate(t *testing.T, signerCerts []byte, signerPriv *ecdsa.PrivateKey) ([]byte, *ecdsa.PrivateKey)
func GetLeafCertificate ¶
func PrivateKeyToPem ¶
func PrivateKeyToPem(t *testing.T, priv *ecdsa.PrivateKey) []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.