Documentation ¶
Index ¶
- func NewFixedCert(cert *x509.Certificate, originName string) pkimodel.PkiFile
- type Certificate
- func (f *Certificate) File() pkimodel.PkiFile
- func (f *Certificate) GetObject() (*x509.Certificate, error)
- func (f *Certificate) GetRawObject() []byte
- func (f *Certificate) MarkUpdated()
- func (f *Certificate) ParseCertificates() ([]*pkimodel.Certificate, error)
- func (f *Certificate) ParsePrivateKeys() ([]*pkimodel.PrivateKey, error)
- func (f *Certificate) Save() (anyChanges bool, err error)
- func (f *Certificate) SetObject(certificate *x509.Certificate) error
- func (f *Certificate) SetRawObject(bytes []byte)
- func (f *Certificate) String() string
- func (f *Certificate) TieBreakCertificates(_ *pkimodel.Certificate, _ []*pkimodel.Certificate) *pkimodel.Certificate
- func (f *Certificate) TieBreakPrivateKeys(cert *pkimodel.Certificate, keys []*pkimodel.PrivateKey) *pkimodel.PrivateKey
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
Click to show internal directories.
Click to hide internal directories.