Documentation ¶
Index ¶
- func GetPrevRoleCertDates(certFile string) (*rdl.Timestamp, *rdl.Timestamp, error)
- func GetRoleCertificates(ztsUrl string, opts *options.Options) bool
- func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options) error
- func RegisterInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, ...) error
- func RoleKey(rotateKey bool, svcKey string) (*rsa.PrivateKey, error)
- func RunAgent(siaCmd, siaDir, ztsUrl string, opts *options.Options)
- func SaveRoleCertKey(key, cert []byte, role options.Role, opts *options.Options) error
- func SaveSvcCertKey(key, cert []byte, svc options.Service, opts *options.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrevRoleCertDates ¶
func GetRoleCertificates ¶ added in v1.11.12
func RefreshInstance ¶
func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options) error
func RegisterInstance ¶
func RegisterInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, docExpiryCheck bool) error
func SaveRoleCertKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.