Documentation ¶
Index ¶
- type StepCAS
- func (s *StepCAS) CreateCertificate(req *apiv1.CreateCertificateRequest) (*apiv1.CreateCertificateResponse, error)
- func (s *StepCAS) GetCertificateAuthority(*apiv1.GetCertificateAuthorityRequest) (*apiv1.GetCertificateAuthorityResponse, error)
- func (s *StepCAS) RenewCertificate(req *apiv1.RenewCertificateRequest) (*apiv1.RenewCertificateResponse, error)
- func (s *StepCAS) RevokeCertificate(req *apiv1.RevokeCertificateRequest) (*apiv1.RevokeCertificateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StepCAS ¶
type StepCAS struct {
// contains filtered or unexported fields
}
StepCAS implements the cas.CertificateAuthorityService interface using another step-ca instance.
func New ¶
New creates a new CertificateAuthorityService implementation using another step-ca instance.
func (*StepCAS) CreateCertificate ¶
func (s *StepCAS) CreateCertificate(req *apiv1.CreateCertificateRequest) (*apiv1.CreateCertificateResponse, error)
CreateCertificate uses the step-ca sign request with the configured provisioner to get a new certificate from the certificate authority.
func (*StepCAS) GetCertificateAuthority ¶
func (s *StepCAS) GetCertificateAuthority(*apiv1.GetCertificateAuthorityRequest) (*apiv1.GetCertificateAuthorityResponse, error)
GetCertificateAuthority returns the root certificate of the certificate authority using the configured fingerprint.
func (*StepCAS) RenewCertificate ¶
func (s *StepCAS) RenewCertificate(req *apiv1.RenewCertificateRequest) (*apiv1.RenewCertificateResponse, error)
RenewCertificate will always return a non-implemented error as mTLS renewals are not supported yet.
func (*StepCAS) RevokeCertificate ¶
func (s *StepCAS) RevokeCertificate(req *apiv1.RevokeCertificateRequest) (*apiv1.RevokeCertificateResponse, error)
RevokeCertificate revokes a certificate.
Click to show internal directories.
Click to hide internal directories.