Versions in this module Expand all Collapse all v0 v0.2.0 Jul 13, 2015 Changes in this version + const ECPrivateKey + const RSAPrivateKey + const TLSClient + const TLSServer + const TLSUnknown + const UnknownPrivateKey + func GetOctalFormatted(buf []byte, sep string) string + func GetSubjKeyID(privateKey crypto.Signer) ([]byte, error) + type CertBundle struct + Certificate string + IssuingCA string + PrivateKey string + PrivateKeyType string + SerialNumber string + func (c *CertBundle) ToParsedCertBundle() (*ParsedCertBundle, error) + type InternalError struct + Err string + func (e InternalError) Error() string + type IssueData struct + AltNames string + CommonName string + IPSANs string + Lease string + type ParsedCertBundle struct + Certificate *x509.Certificate + CertificateBytes []byte + IssuingCA *x509.Certificate + IssuingCABytes []byte + PrivateKey crypto.Signer + PrivateKeyBytes []byte + PrivateKeyType int + func ParsePEMBundle(pemBundle string) (*ParsedCertBundle, error) + func ParsePKIJSON(input []byte) (*ParsedCertBundle, error) + func ParsePKIMap(data map[string]interface{}) (*ParsedCertBundle, error) + func (p *ParsedCertBundle) GetTLSConfig(usage TLSUsage) (*tls.Config, error) + func (p *ParsedCertBundle) ToCertBundle() (*CertBundle, error) + type Secret struct + Data map[string]interface{} + type TLSUsage int + type UserError struct + Err string + func (e UserError) Error() string