fixed

package
v0.0.0-...-23a808a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFixedCert

func NewFixedCert(cert *x509.Certificate, originName string) pkimodel.PkiFile

Types

type Certificate

type Certificate struct {
	// contains filtered or unexported fields
}

func (*Certificate) File

func (f *Certificate) File() pkimodel.PkiFile

func (*Certificate) GetObject

func (f *Certificate) GetObject() (*x509.Certificate, error)

func (*Certificate) GetRawObject

func (f *Certificate) GetRawObject() []byte

func (*Certificate) MarkUpdated

func (f *Certificate) MarkUpdated()

func (*Certificate) ParseCertificates

func (f *Certificate) ParseCertificates() ([]*pkimodel.Certificate, error)

func (*Certificate) ParsePrivateKeys

func (f *Certificate) ParsePrivateKeys() ([]*pkimodel.PrivateKey, error)

func (*Certificate) Save

func (f *Certificate) Save() (anyChanges bool, err error)

func (*Certificate) SetObject

func (f *Certificate) SetObject(certificate *x509.Certificate) error

func (*Certificate) SetRawObject

func (f *Certificate) SetRawObject(bytes []byte)

func (*Certificate) String

func (f *Certificate) String() string

func (*Certificate) TieBreakCertificates

func (f *Certificate) TieBreakCertificates(_ *pkimodel.Certificate, _ []*pkimodel.Certificate) *pkimodel.Certificate

func (*Certificate) TieBreakPrivateKeys

func (f *Certificate) TieBreakPrivateKeys(cert *pkimodel.Certificate, keys []*pkimodel.PrivateKey) *pkimodel.PrivateKey

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL