certificatesRevocation

package
v0.0.0-...-367d749 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
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

type CertificatesRevocationService struct {
	*client.PfClient
}

func New

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

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 ImportOcspCertificateInput

type ImportOcspCertificateInput struct {
	Body models.X509File
}

type UpdateRevocationSettingsInput

type UpdateRevocationSettingsInput struct {
	Body models.CertificateRevocationSettings
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL