Documentation ¶
Index ¶
- Constants
- type CertificatesRevocationAPI
- type CertificatesRevocationService
- func (s *CertificatesRevocationService) DeleteOcspCertificateById(input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error)
- func (s *CertificatesRevocationService) DeleteOcspCertificateByIdWithContext(ctx context.Context, input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetOcspCertificateById(input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetOcspCertificateByIdWithContext(ctx context.Context, input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetOcspCertificates() (output *models.CertViews, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetOcspCertificatesWithContext(ctx context.Context) (output *models.CertViews, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetRevocationSettings() (output *models.CertificateRevocationSettings, resp *http.Response, err error)
- func (s *CertificatesRevocationService) GetRevocationSettingsWithContext(ctx context.Context) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
- func (s *CertificatesRevocationService) ImportOcspCertificate(input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error)
- func (s *CertificatesRevocationService) ImportOcspCertificateWithContext(ctx context.Context, input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error)
- func (s *CertificatesRevocationService) UpdateRevocationSettings(input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
- func (s *CertificatesRevocationService) UpdateRevocationSettingsWithContext(ctx context.Context, input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
- type DeleteOcspCertificateByIdInput
- type GetOcspCertificateByIdInput
- type ImportOcspCertificateInput
- type UpdateRevocationSettingsInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "CertificatesRevocation"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificatesRevocationAPI ¶
type CertificatesRevocationAPI interface { GetRevocationSettings() (output *models.CertificateRevocationSettings, resp *http.Response, err error) GetRevocationSettingsWithContext(ctx context.Context) (output *models.CertificateRevocationSettings, resp *http.Response, err error) UpdateRevocationSettings(input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error) UpdateRevocationSettingsWithContext(ctx context.Context, input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error) GetOcspCertificates() (output *models.CertViews, resp *http.Response, err error) GetOcspCertificatesWithContext(ctx context.Context) (output *models.CertViews, resp *http.Response, err error) ImportOcspCertificate(input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error) ImportOcspCertificateWithContext(ctx context.Context, input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error) GetOcspCertificateById(input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error) GetOcspCertificateByIdWithContext(ctx context.Context, input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error) DeleteOcspCertificateById(input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error) DeleteOcspCertificateByIdWithContext(ctx context.Context, input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error) }
type CertificatesRevocationService ¶
func New ¶
func New(cfg *config.Config) *CertificatesRevocationService
New creates a new instance of the CertificatesRevocationService client.
func (*CertificatesRevocationService) DeleteOcspCertificateById ¶
func (s *CertificatesRevocationService) DeleteOcspCertificateById(input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error)
DeleteOcspCertificateById - Delete an OCSP responder signature verification certificate by ID. RequestType: DELETE Input: input *DeleteOcspCertificateByIdInput
func (*CertificatesRevocationService) DeleteOcspCertificateByIdWithContext ¶
func (s *CertificatesRevocationService) DeleteOcspCertificateByIdWithContext(ctx context.Context, input *DeleteOcspCertificateByIdInput) (output *models.ApiResult, resp *http.Response, err error)
DeleteOcspCertificateByIdWithContext - Delete an OCSP responder signature verification certificate by ID. RequestType: DELETE Input: ctx context.Context, input *DeleteOcspCertificateByIdInput
func (*CertificatesRevocationService) GetOcspCertificateById ¶
func (s *CertificatesRevocationService) GetOcspCertificateById(input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error)
GetOcspCertificateById - Get an OCSP responder signature verification certificate by ID. RequestType: GET Input: input *GetOcspCertificateByIdInput
func (*CertificatesRevocationService) GetOcspCertificateByIdWithContext ¶
func (s *CertificatesRevocationService) GetOcspCertificateByIdWithContext(ctx context.Context, input *GetOcspCertificateByIdInput) (output *models.CertView, resp *http.Response, err error)
GetOcspCertificateByIdWithContext - Get an OCSP responder signature verification certificate by ID. RequestType: GET Input: ctx context.Context, input *GetOcspCertificateByIdInput
func (*CertificatesRevocationService) GetOcspCertificates ¶
func (s *CertificatesRevocationService) GetOcspCertificates() (output *models.CertViews, resp *http.Response, err error)
GetOcspCertificates - Get the list of available OCSP responder signature verification certificates. RequestType: GET Input:
func (*CertificatesRevocationService) GetOcspCertificatesWithContext ¶
func (s *CertificatesRevocationService) GetOcspCertificatesWithContext(ctx context.Context) (output *models.CertViews, resp *http.Response, err error)
GetOcspCertificatesWithContext - Get the list of available OCSP responder signature verification certificates. RequestType: GET Input: ctx context.Context,
func (*CertificatesRevocationService) GetRevocationSettings ¶
func (s *CertificatesRevocationService) GetRevocationSettings() (output *models.CertificateRevocationSettings, resp *http.Response, err error)
GetRevocationSettings - Get certificate revocation settings. RequestType: GET Input:
func (*CertificatesRevocationService) GetRevocationSettingsWithContext ¶
func (s *CertificatesRevocationService) GetRevocationSettingsWithContext(ctx context.Context) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
GetRevocationSettingsWithContext - Get certificate revocation settings. RequestType: GET Input: ctx context.Context,
func (*CertificatesRevocationService) ImportOcspCertificate ¶
func (s *CertificatesRevocationService) ImportOcspCertificate(input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error)
ImportOcspCertificate - Import an OCSP responder signature verification certificate. RequestType: POST Input: input *ImportOcspCertificateInput
func (*CertificatesRevocationService) ImportOcspCertificateWithContext ¶
func (s *CertificatesRevocationService) ImportOcspCertificateWithContext(ctx context.Context, input *ImportOcspCertificateInput) (output *models.CertView, resp *http.Response, err error)
ImportOcspCertificateWithContext - Import an OCSP responder signature verification certificate. RequestType: POST Input: ctx context.Context, input *ImportOcspCertificateInput
func (*CertificatesRevocationService) UpdateRevocationSettings ¶
func (s *CertificatesRevocationService) UpdateRevocationSettings(input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
UpdateRevocationSettings - Update certificate revocation settings. RequestType: PUT Input: input *UpdateRevocationSettingsInput
func (*CertificatesRevocationService) UpdateRevocationSettingsWithContext ¶
func (s *CertificatesRevocationService) UpdateRevocationSettingsWithContext(ctx context.Context, input *UpdateRevocationSettingsInput) (output *models.CertificateRevocationSettings, resp *http.Response, err error)
UpdateRevocationSettingsWithContext - Update certificate revocation settings. RequestType: PUT Input: ctx context.Context, input *UpdateRevocationSettingsInput
type DeleteOcspCertificateByIdInput ¶
type DeleteOcspCertificateByIdInput struct {
Id string
}
type GetOcspCertificateByIdInput ¶
type GetOcspCertificateByIdInput struct {
Id string
}
type UpdateRevocationSettingsInput ¶
type UpdateRevocationSettingsInput struct {
Body models.CertificateRevocationSettings
}