Documentation ¶
Overview ¶
Copyright (c) technicianted. All rights reserved. Licensed under the MIT License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelfSignedCA ¶
type SelfSignedCA struct {
// contains filtered or unexported fields
}
func NewCAFromFiles ¶
func NewCAFromFiles(keyPath, certPath string) (*SelfSignedCA, error)
func NewSelfSignedCA ¶
func (*SelfSignedCA) CACertBytes ¶
func (ca *SelfSignedCA) CACertBytes() []byte
func (*SelfSignedCA) CAKeyBytes ¶
func (ca *SelfSignedCA) CAKeyBytes() []byte
func (*SelfSignedCA) CreateAndSignCertificate ¶
func (ca *SelfSignedCA) CreateAndSignCertificate(cert *x509.Certificate) (certPEMBytes, keyPEMBytes []byte, err error)
Click to show internal directories.
Click to hide internal directories.