Documentation ¶
Index ¶
- func DecodeB64(message string) ([]byte, error)
- func DecodeEd25519Priv(path string) (ed25519.PrivateKey, error)
- func DecodeX509CSR(r io.Reader) (*x509.CertificateRequest, error)
- func DecodeX509CSRFromPath(path string) (*x509.CertificateRequest, error)
- func DecodeX509Cert(r io.Reader) (*x509.Certificate, error)
- func DecodeX509CertFromPath(path string) (*x509.Certificate, error)
- func EncodeB64(bytes []byte) string
- func EncodeEd25519Priv(buf *bytes.Buffer, key ed25519.PrivateKey) error
- func EncodeX509Cert(buf *bytes.Buffer, b []byte) error
- type NoPEMDataError
- type NotEd25519KeyError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeEd25519Priv ¶
func DecodeEd25519Priv(path string) (ed25519.PrivateKey, error)
func DecodeX509CSR ¶
func DecodeX509CSR(r io.Reader) (*x509.CertificateRequest, error)
func DecodeX509CSRFromPath ¶
func DecodeX509CSRFromPath(path string) (*x509.CertificateRequest, error)
func DecodeX509Cert ¶
func DecodeX509Cert(r io.Reader) (*x509.Certificate, error)
func DecodeX509CertFromPath ¶
func DecodeX509CertFromPath(path string) (*x509.Certificate, error)
func EncodeEd25519Priv ¶
func EncodeEd25519Priv(buf *bytes.Buffer, key ed25519.PrivateKey) error
Types ¶
type NoPEMDataError ¶
type NoPEMDataError struct{}
func (*NoPEMDataError) Error ¶
func (e *NoPEMDataError) Error() string
type NotEd25519KeyError ¶
type NotEd25519KeyError struct {
// contains filtered or unexported fields
}
func (*NotEd25519KeyError) Error ¶
func (e *NotEd25519KeyError) Error() string
Click to show internal directories.
Click to hide internal directories.