Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
CA is a cross-signing certificate authority.
func (*CA) GetIntermCACert ¶
GetIntermCACert returns the intermediate CA certificate in PEM format.
func (*CA) GetMeshCACert ¶
GetMeshCACert returns the mesh CA certificate of the CA in PEM format.
func (*CA) GetRootCACert ¶
GetRootCACert returns the root certificate of the CA in PEM format.
func (*CA) NewAttestedMeshCert ¶
func (c *CA) NewAttestedMeshCert(names []string, extensions []pkix.Extension, subjectPublicKey any) ([]byte, error)
NewAttestedMeshCert creates a new attested mesh certificate.
func (*CA) RotateIntermCerts ¶
RotateIntermCerts rotates the intermediate and mesh CA certificate. All existing mesh certificates will remain valid under the rootCA but not under the new intermediate and mesh CA certificates. To distribute the new intermediate and mesh CA certificates, all workloads should be restarted.
Click to show internal directories.
Click to hide internal directories.