Documentation ¶
Index ¶
- Variables
- func GetKey(eng *url.URL, file, newkey string) (crypto.PrivateKey, error)
- func ListEngines() []string
- func LoadCert(pemBytes []byte) ([]*x509.Certificate, error)
- func LoadCertFromFile(f string) ([]*x509.Certificate, error)
- func LoadEngineKey(engine string, addr *url.URL) (crypto.PrivateKey, error)
- func LoadPrivateKey(pemBytes []byte) (crypto.PrivateKey, error)
- func NewCertRequest(subject map[string]string, dns []string) (*x509.CertificateRequest, error)
- func SavePrivateKey(key crypto.PrivateKey, file string) error
- func SupportedCurves() []string
- type CsrConfig
- type Engine
Constants ¶
This section is empty.
Variables ¶
View Source
var CURVES = map[string]elliptic.Curve{}
View Source
var EMPTY = []string{}
Functions ¶
func ListEngines ¶
func ListEngines() []string
func LoadCertFromFile ¶
func LoadCertFromFile(f string) ([]*x509.Certificate, error)
func LoadEngineKey ¶
func LoadPrivateKey ¶
func LoadPrivateKey(pemBytes []byte) (crypto.PrivateKey, error)
func NewCertRequest ¶
func SavePrivateKey ¶
func SavePrivateKey(key crypto.PrivateKey, file string) error
func SupportedCurves ¶
func SupportedCurves() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.