Documentation ¶
Index ¶
- Constants
- type DeleteChainCertificateCommandInput
- type DeleteKeyPairCommandInput
- type ExportKeyPairCertInput
- type ExportKeyPairInput
- type GenerateCsrCommandInput
- type GenerateKeyPairCommandInput
- type GetKeyPairCommandInput
- type GetKeyPairsCommandInput
- type ImportCSRResponseCommandInput
- type ImportKeyPairCommandInput
- type KeyPairsAPI
- type KeyPairsService
- func (s *KeyPairsService) DeleteChainCertificateCommand(input *DeleteChainCertificateCommandInput) (resp *http.Response, err error)
- func (s *KeyPairsService) DeleteKeyPairCommand(input *DeleteKeyPairCommandInput) (resp *http.Response, err error)
- func (s *KeyPairsService) ExportKeyPair(input *ExportKeyPairInput) (resp *http.Response, err error)
- func (s *KeyPairsService) ExportKeyPairCert(input *ExportKeyPairCertInput) (output *string, resp *http.Response, err error)
- func (s *KeyPairsService) GenerateCsrCommand(input *GenerateCsrCommandInput) (output *string, resp *http.Response, err error)
- func (s *KeyPairsService) GenerateKeyPairCommand(input *GenerateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- func (s *KeyPairsService) GetKeyPairCommand(input *GetKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- func (s *KeyPairsService) GetKeyPairsCommand(input *GetKeyPairsCommandInput) (output *models.KeyPairsView, resp *http.Response, err error)
- func (s *KeyPairsService) GetKeypairsCreatableGeneralNamesCommand() (output *models.SanTypes, resp *http.Response, err error)
- func (s *KeyPairsService) ImportCSRResponseCommand(input *ImportCSRResponseCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- func (s *KeyPairsService) ImportKeyPairCommand(input *ImportKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- func (s *KeyPairsService) KeyAlgorithms() (output *models.KeyAlgorithmsView, resp *http.Response, err error)
- func (s *KeyPairsService) PatchKeyPairCommand(input *PatchKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- func (s *KeyPairsService) UpdateKeyPairCommand(input *UpdateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
- type PatchKeyPairCommandInput
- type UpdateKeyPairCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "KeyPairs"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteChainCertificateCommandInput ¶
DeleteChainCertificateCommandInput - Inputs for DeleteChainCertificateCommand
type DeleteKeyPairCommandInput ¶
type DeleteKeyPairCommandInput struct {
Id string
}
DeleteKeyPairCommandInput - Inputs for DeleteKeyPairCommand
type ExportKeyPairCertInput ¶
type ExportKeyPairCertInput struct {
Id string
}
ExportKeyPairCertInput - Inputs for ExportKeyPairCert
type ExportKeyPairInput ¶
type ExportKeyPairInput struct { Body models.ExportParameters Id string }
ExportKeyPairInput - Inputs for ExportKeyPair
type GenerateCsrCommandInput ¶
type GenerateCsrCommandInput struct {
Id string
}
GenerateCsrCommandInput - Inputs for GenerateCsrCommand
type GenerateKeyPairCommandInput ¶
type GenerateKeyPairCommandInput struct {
Body models.NewKeyPairConfigView
}
GenerateKeyPairCommandInput - Inputs for GenerateKeyPairCommand
type GetKeyPairCommandInput ¶
type GetKeyPairCommandInput struct {
Id string
}
GetKeyPairCommandInput - Inputs for GetKeyPairCommand
type GetKeyPairsCommandInput ¶
type GetKeyPairsCommandInput struct { Page string NumberPerPage string Filter string Alias string SortKey string Order string }
GetKeyPairsCommandInput - Inputs for GetKeyPairsCommand
type ImportCSRResponseCommandInput ¶
type ImportCSRResponseCommandInput struct { Body models.CSRResponseImportDocView Id string }
ImportCSRResponseCommandInput - Inputs for ImportCSRResponseCommand
type ImportKeyPairCommandInput ¶
type ImportKeyPairCommandInput struct {
Body models.PKCS12FileImportDocView
}
ImportKeyPairCommandInput - Inputs for ImportKeyPairCommand
type KeyPairsAPI ¶
type KeyPairsAPI interface { GetKeyPairsCommand(input *GetKeyPairsCommandInput) (output *models.KeyPairsView, resp *http.Response, err error) GenerateKeyPairCommand(input *GenerateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error) ImportKeyPairCommand(input *ImportKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error) KeyAlgorithms() (output *models.KeyAlgorithmsView, resp *http.Response, err error) GetKeypairsCreatableGeneralNamesCommand() (output *models.SanTypes, resp *http.Response, err error) DeleteKeyPairCommand(input *DeleteKeyPairCommandInput) (resp *http.Response, err error) GetKeyPairCommand(input *GetKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error) PatchKeyPairCommand(input *PatchKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error) UpdateKeyPairCommand(input *UpdateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error) ExportKeyPairCert(input *ExportKeyPairCertInput) (output *string, resp *http.Response, err error) GenerateCsrCommand(input *GenerateCsrCommandInput) (output *string, resp *http.Response, err error) ImportCSRResponseCommand(input *ImportCSRResponseCommandInput) (output *models.KeyPairView, resp *http.Response, err error) ExportKeyPair(input *ExportKeyPairInput) (resp *http.Response, err error) DeleteChainCertificateCommand(input *DeleteChainCertificateCommandInput) (resp *http.Response, err error) }
type KeyPairsService ¶
KeyPairsService provides the API operations for making requests to KeyPairs endpoint.
func New ¶
func New(cfg *config.Config) *KeyPairsService
New createa a new instance of the KeyPairsService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String()) //Create a KeyPairsService from the configuration svc := keyPairs.New(cfg)
func (*KeyPairsService) DeleteChainCertificateCommand ¶
func (s *KeyPairsService) DeleteChainCertificateCommand(input *DeleteChainCertificateCommandInput) (resp *http.Response, err error)
DeleteChainCertificateCommand - Delete a Chain Certificate RequestType: DELETE Input: input *DeleteChainCertificateCommandInput
func (*KeyPairsService) DeleteKeyPairCommand ¶
func (s *KeyPairsService) DeleteKeyPairCommand(input *DeleteKeyPairCommandInput) (resp *http.Response, err error)
DeleteKeyPairCommand - Delete a Key Pair RequestType: DELETE Input: input *DeleteKeyPairCommandInput
func (*KeyPairsService) ExportKeyPair ¶
func (s *KeyPairsService) ExportKeyPair(input *ExportKeyPairInput) (resp *http.Response, err error)
ExportKeyPair - Export a Key Pair in the PKCS12 file format RequestType: POST Input: input *ExportKeyPairInput
func (*KeyPairsService) ExportKeyPairCert ¶
func (s *KeyPairsService) ExportKeyPairCert(input *ExportKeyPairCertInput) (output *string, resp *http.Response, err error)
ExportKeyPairCert - Export only the Certificate from a Key Pair RequestType: GET Input: input *ExportKeyPairCertInput
func (*KeyPairsService) GenerateCsrCommand ¶
func (s *KeyPairsService) GenerateCsrCommand(input *GenerateCsrCommandInput) (output *string, resp *http.Response, err error)
GenerateCsrCommand - Generate a Certificate Signing Request for a Key Pair RequestType: GET Input: input *GenerateCsrCommandInput
func (*KeyPairsService) GenerateKeyPairCommand ¶
func (s *KeyPairsService) GenerateKeyPairCommand(input *GenerateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
GenerateKeyPairCommand - Generate a Key Pair RequestType: POST Input: input *GenerateKeyPairCommandInput
func (*KeyPairsService) GetKeyPairCommand ¶
func (s *KeyPairsService) GetKeyPairCommand(input *GetKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
GetKeyPairCommand - Get a Key Pair RequestType: GET Input: input *GetKeyPairCommandInput
func (*KeyPairsService) GetKeyPairsCommand ¶
func (s *KeyPairsService) GetKeyPairsCommand(input *GetKeyPairsCommandInput) (output *models.KeyPairsView, resp *http.Response, err error)
GetKeyPairsCommand - Get all Key Pairs RequestType: GET Input: input *GetKeyPairsCommandInput
func (*KeyPairsService) GetKeypairsCreatableGeneralNamesCommand ¶
func (s *KeyPairsService) GetKeypairsCreatableGeneralNamesCommand() (output *models.SanTypes, resp *http.Response, err error)
GetKeypairsCreatableGeneralNamesCommand - Get the valid General Names for creating Subject Alternative Names RequestType: GET Input:
func (*KeyPairsService) ImportCSRResponseCommand ¶
func (s *KeyPairsService) ImportCSRResponseCommand(input *ImportCSRResponseCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
ImportCSRResponseCommand - Import a Certificate Signing Request response RequestType: POST Input: input *ImportCSRResponseCommandInput
func (*KeyPairsService) ImportKeyPairCommand ¶
func (s *KeyPairsService) ImportKeyPairCommand(input *ImportKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
ImportKeyPairCommand - Import a Key Pair from a PKCS12 file RequestType: POST Input: input *ImportKeyPairCommandInput
func (*KeyPairsService) KeyAlgorithms ¶
func (s *KeyPairsService) KeyAlgorithms() (output *models.KeyAlgorithmsView, resp *http.Response, err error)
KeyAlgorithms - Get the key algorithms supported by Key Pair generation RequestType: GET Input:
func (*KeyPairsService) PatchKeyPairCommand ¶
func (s *KeyPairsService) PatchKeyPairCommand(input *PatchKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
PatchKeyPairCommand - Update the chainCertificates of a Key Pair RequestType: PATCH Input: input *PatchKeyPairCommandInput
func (*KeyPairsService) UpdateKeyPairCommand ¶
func (s *KeyPairsService) UpdateKeyPairCommand(input *UpdateKeyPairCommandInput) (output *models.KeyPairView, resp *http.Response, err error)
UpdateKeyPairCommand - Update a Key Pair RequestType: PUT Input: input *UpdateKeyPairCommandInput
type PatchKeyPairCommandInput ¶
type PatchKeyPairCommandInput struct { Body models.ChainCertificatesDocView Id string }
PatchKeyPairCommandInput - Inputs for PatchKeyPairCommand
type UpdateKeyPairCommandInput ¶
type UpdateKeyPairCommandInput struct { Body models.PKCS12FileImportDocView Id string }
UpdateKeyPairCommandInput - Inputs for UpdateKeyPairCommand