v1betaapi

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedAccessScopeEnumValues = []AccessScope{
	"PUBLIC",
	"SNA",
}

All allowed values of AccessScope enum

View Source
var AllowedAlgorithmEnumValues = []Algorithm{
	"aes_256_gcm",
	"rsa_2048_oaep_sha256",
	"rsa_3072_oaep_sha256",
	"rsa_4096_oaep_sha256",
	"rsa_4096_oaep_sha512",
	"hmac_sha256",
	"hmac_sha384",
	"hmac_sha512",
	"ecdsa_p256_sha256",
	"ecdsa_p384_sha384",
	"ecdsa_p521_sha512",
}

All allowed values of Algorithm enum

View Source
var AllowedBackendEnumValues = []Backend{
	"software",
}

All allowed values of Backend enum

View Source
var AllowedProtectionEnumValues = []Protection{
	"software",
}

All allowed values of Protection enum

View Source
var AllowedPurposeEnumValues = []Purpose{
	"symmetric_encrypt_decrypt",
	"asymmetric_encrypt_decrypt",
	"message_authentication_code",
	"asymmetric_sign_verify",
}

All allowed values of Purpose enum

View Source
var AllowedWrappingAlgorithmEnumValues = []WrappingAlgorithm{
	"rsa_2048_oaep_sha256",
	"rsa_3072_oaep_sha256",
	"rsa_4096_oaep_sha256",
	"rsa_4096_oaep_sha512",
	"rsa_2048_oaep_sha256_aes_256_key_wrap",
	"rsa_3072_oaep_sha256_aes_256_key_wrap",
	"rsa_4096_oaep_sha256_aes_256_key_wrap",
	"rsa_4096_oaep_sha512_aes_256_key_wrap",
}

All allowed values of WrappingAlgorithm enum

View Source
var AllowedWrappingPurposeEnumValues = []WrappingPurpose{
	"wrap_symmetric_key",
	"wrap_asymmetric_key",
}

All allowed values of WrappingPurpose enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Key Management Service API API v1beta.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AccessScope

type AccessScope string

AccessScope The access scope of the key.

const (
	ACCESSSCOPE_PUBLIC AccessScope = "PUBLIC"
	ACCESSSCOPE_SNA    AccessScope = "SNA"
)

List of access_scope

func NewAccessScopeFromValue

func NewAccessScopeFromValue(v string) (*AccessScope, error)

NewAccessScopeFromValue returns a pointer to a valid AccessScope for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AccessScope) IsValid

func (v AccessScope) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AccessScope) Ptr

func (v AccessScope) Ptr() *AccessScope

Ptr returns reference to access_scope value

func (*AccessScope) UnmarshalJSON

func (v *AccessScope) UnmarshalJSON(src []byte) error

type Algorithm

type Algorithm string

Algorithm The algorithm the key material uses.

const (
	ALGORITHM_AES_256_GCM          Algorithm = "aes_256_gcm"
	ALGORITHM_RSA_2048_OAEP_SHA256 Algorithm = "rsa_2048_oaep_sha256"
	ALGORITHM_RSA_3072_OAEP_SHA256 Algorithm = "rsa_3072_oaep_sha256"
	ALGORITHM_RSA_4096_OAEP_SHA256 Algorithm = "rsa_4096_oaep_sha256"
	ALGORITHM_RSA_4096_OAEP_SHA512 Algorithm = "rsa_4096_oaep_sha512"
	ALGORITHM_HMAC_SHA256          Algorithm = "hmac_sha256"
	ALGORITHM_HMAC_SHA384          Algorithm = "hmac_sha384"
	ALGORITHM_HMAC_SHA512          Algorithm = "hmac_sha512"
	ALGORITHM_ECDSA_P256_SHA256    Algorithm = "ecdsa_p256_sha256"
	ALGORITHM_ECDSA_P384_SHA384    Algorithm = "ecdsa_p384_sha384"
	ALGORITHM_ECDSA_P521_SHA512    Algorithm = "ecdsa_p521_sha512"
)

List of algorithm

func NewAlgorithmFromValue

func NewAlgorithmFromValue(v string) (*Algorithm, error)

NewAlgorithmFromValue returns a pointer to a valid Algorithm for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Algorithm) IsValid

func (v Algorithm) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Algorithm) Ptr

func (v Algorithm) Ptr() *Algorithm

Ptr returns reference to algorithm value

func (*Algorithm) UnmarshalJSON

func (v *Algorithm) UnmarshalJSON(src []byte) error

type ApiCreateKeyRequest

type ApiCreateKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateKeyRequest) CreateKeyPayload

func (r ApiCreateKeyRequest) CreateKeyPayload(createKeyPayload CreateKeyPayload) ApiCreateKeyRequest

func (ApiCreateKeyRequest) Execute

func (r ApiCreateKeyRequest) Execute() (*Key, error)

type ApiCreateKeyRingRequest

type ApiCreateKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateKeyRingRequest) CreateKeyRingPayload

func (r ApiCreateKeyRingRequest) CreateKeyRingPayload(createKeyRingPayload CreateKeyRingPayload) ApiCreateKeyRingRequest

func (ApiCreateKeyRingRequest) Execute

func (r ApiCreateKeyRingRequest) Execute() (*KeyRing, error)

type ApiCreateWrappingKeyRequest

type ApiCreateWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload

func (r ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload(createWrappingKeyPayload CreateWrappingKeyPayload) ApiCreateWrappingKeyRequest

func (ApiCreateWrappingKeyRequest) Execute

type ApiDecryptRequest

type ApiDecryptRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDecryptRequest) DecryptPayload

func (r ApiDecryptRequest) DecryptPayload(decryptPayload DecryptPayload) ApiDecryptRequest

func (ApiDecryptRequest) Execute

func (r ApiDecryptRequest) Execute() (*DecryptedData, error)

type ApiDeleteKeyRequest

type ApiDeleteKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteKeyRequest) Execute

func (r ApiDeleteKeyRequest) Execute() error

type ApiDeleteKeyRingRequest

type ApiDeleteKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteKeyRingRequest) Execute

func (r ApiDeleteKeyRingRequest) Execute() error

type ApiDeleteWrappingKeyRequest

type ApiDeleteWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteWrappingKeyRequest) Execute

func (r ApiDeleteWrappingKeyRequest) Execute() error

type ApiDestroyVersionRequest

type ApiDestroyVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDestroyVersionRequest) Execute

func (r ApiDestroyVersionRequest) Execute() error

type ApiDisableVersionRequest

type ApiDisableVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDisableVersionRequest) Execute

func (r ApiDisableVersionRequest) Execute() error

type ApiEnableVersionRequest

type ApiEnableVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEnableVersionRequest) Execute

func (r ApiEnableVersionRequest) Execute() error

type ApiEncryptRequest

type ApiEncryptRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEncryptRequest) EncryptPayload

func (r ApiEncryptRequest) EncryptPayload(encryptPayload EncryptPayload) ApiEncryptRequest

func (ApiEncryptRequest) Execute

func (r ApiEncryptRequest) Execute() (*EncryptedData, error)

type ApiGetKeyRequest

type ApiGetKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKeyRequest) Execute

func (r ApiGetKeyRequest) Execute() (*Key, error)

type ApiGetKeyRingRequest

type ApiGetKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKeyRingRequest) Execute

func (r ApiGetKeyRingRequest) Execute() (*KeyRing, error)

type ApiGetVersionRequest

type ApiGetVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetVersionRequest) Execute

func (r ApiGetVersionRequest) Execute() (*Version, error)

type ApiGetWrappingKeyRequest

type ApiGetWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetWrappingKeyRequest) Execute

func (r ApiGetWrappingKeyRequest) Execute() (*WrappingKey, error)

type ApiImportKeyRequest

type ApiImportKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiImportKeyRequest) Execute

func (r ApiImportKeyRequest) Execute() (*Version, error)

func (ApiImportKeyRequest) ImportKeyPayload

func (r ApiImportKeyRequest) ImportKeyPayload(importKeyPayload ImportKeyPayload) ApiImportKeyRequest

type ApiListKeyRingsRequest

type ApiListKeyRingsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListKeyRingsRequest) Execute

func (r ApiListKeyRingsRequest) Execute() (*KeyRingList, error)

type ApiListKeysRequest

type ApiListKeysRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListKeysRequest) Execute

func (r ApiListKeysRequest) Execute() (*KeyList, error)

type ApiListVersionsRequest

type ApiListVersionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListVersionsRequest) Execute

func (r ApiListVersionsRequest) Execute() (*VersionList, error)

type ApiListWrappingKeysRequest

type ApiListWrappingKeysRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListWrappingKeysRequest) Execute

type ApiRestoreKeyRequest

type ApiRestoreKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreKeyRequest) Execute

func (r ApiRestoreKeyRequest) Execute() error

type ApiRestoreVersionRequest

type ApiRestoreVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreVersionRequest) Execute

func (r ApiRestoreVersionRequest) Execute() error

type ApiRotateKeyRequest

type ApiRotateKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRotateKeyRequest) Execute

func (r ApiRotateKeyRequest) Execute() (*Version, error)

type ApiSignRequest

type ApiSignRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiSignRequest) Execute

func (r ApiSignRequest) Execute() (*SignedData, error)

func (ApiSignRequest) SignPayload

func (r ApiSignRequest) SignPayload(signPayload SignPayload) ApiSignRequest

type ApiVerifyRequest

type ApiVerifyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiVerifyRequest) Execute

func (r ApiVerifyRequest) Execute() (*VerifiedData, error)

func (ApiVerifyRequest) VerifyPayload

func (r ApiVerifyRequest) VerifyPayload(verifyPayload VerifyPayload) ApiVerifyRequest

type Backend

type Backend string

Backend The backend that is responsible for maintaining this key. Deprecated - use `protection`.

const (
	BACKEND_SOFTWARE Backend = "software"
)

List of backend

func NewBackendFromValue

func NewBackendFromValue(v string) (*Backend, error)

NewBackendFromValue returns a pointer to a valid Backend for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Backend) IsValid

func (v Backend) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Backend) Ptr

func (v Backend) Ptr() *Backend

Ptr returns reference to backend value

func (*Backend) UnmarshalJSON

func (v *Backend) UnmarshalJSON(src []byte) error

type CreateKeyPayload

type CreateKeyPayload struct {
	AccessScope *AccessScope `json:"access_scope,omitempty"`
	Algorithm   Algorithm    `json:"algorithm"`
	// Deprecated
	Backend Backend `json:"backend"`
	// A user chosen description to distinguish multiple keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
	// States whether versions can be created or only imported.
	ImportOnly *bool       `json:"importOnly,omitempty"`
	Protection *Protection `json:"protection,omitempty"`
	Purpose    Purpose     `json:"purpose"`
}

CreateKeyPayload struct for CreateKeyPayload

func NewCreateKeyPayload

func NewCreateKeyPayload(algorithm Algorithm, backend Backend, displayName string, purpose Purpose) *CreateKeyPayload

NewCreateKeyPayload instantiates a new CreateKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateKeyPayloadWithDefaults

func NewCreateKeyPayloadWithDefaults() *CreateKeyPayload

NewCreateKeyPayloadWithDefaults instantiates a new CreateKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateKeyPayload) GetAccessScope

func (o *CreateKeyPayload) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value if set, zero value otherwise.

func (*CreateKeyPayload) GetAccessScopeOk

func (o *CreateKeyPayload) GetAccessScopeOk() (*AccessScope, bool)

GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetAlgorithm

func (o *CreateKeyPayload) GetAlgorithm() Algorithm

GetAlgorithm returns the Algorithm field value

func (*CreateKeyPayload) GetAlgorithmOk

func (o *CreateKeyPayload) GetAlgorithmOk() (*Algorithm, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetBackend

func (o *CreateKeyPayload) GetBackend() Backend

GetBackend returns the Backend field value Deprecated

func (*CreateKeyPayload) GetBackendOk

func (o *CreateKeyPayload) GetBackendOk() (*Backend, bool)

GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated

func (*CreateKeyPayload) GetDescription

func (o *CreateKeyPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateKeyPayload) GetDescriptionOk

func (o *CreateKeyPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetDisplayName

func (o *CreateKeyPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateKeyPayload) GetDisplayNameOk

func (o *CreateKeyPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetImportOnly

func (o *CreateKeyPayload) GetImportOnly() bool

GetImportOnly returns the ImportOnly field value if set, zero value otherwise.

func (*CreateKeyPayload) GetImportOnlyOk

func (o *CreateKeyPayload) GetImportOnlyOk() (*bool, bool)

GetImportOnlyOk returns a tuple with the ImportOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetProtection

func (o *CreateKeyPayload) GetProtection() Protection

GetProtection returns the Protection field value if set, zero value otherwise.

func (*CreateKeyPayload) GetProtectionOk

func (o *CreateKeyPayload) GetProtectionOk() (*Protection, bool)

GetProtectionOk returns a tuple with the Protection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPayload) GetPurpose

func (o *CreateKeyPayload) GetPurpose() Purpose

GetPurpose returns the Purpose field value

func (*CreateKeyPayload) GetPurposeOk

func (o *CreateKeyPayload) GetPurposeOk() (*Purpose, bool)

GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.

func (*CreateKeyPayload) HasAccessScope

func (o *CreateKeyPayload) HasAccessScope() bool

HasAccessScope returns a boolean if a field has been set.

func (*CreateKeyPayload) HasDescription

func (o *CreateKeyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateKeyPayload) HasImportOnly

func (o *CreateKeyPayload) HasImportOnly() bool

HasImportOnly returns a boolean if a field has been set.

func (*CreateKeyPayload) HasProtection

func (o *CreateKeyPayload) HasProtection() bool

HasProtection returns a boolean if a field has been set.

func (CreateKeyPayload) MarshalJSON

func (o CreateKeyPayload) MarshalJSON() ([]byte, error)

func (*CreateKeyPayload) SetAccessScope

func (o *CreateKeyPayload) SetAccessScope(v AccessScope)

SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.

func (*CreateKeyPayload) SetAlgorithm

func (o *CreateKeyPayload) SetAlgorithm(v Algorithm)

SetAlgorithm sets field value

func (*CreateKeyPayload) SetBackend

func (o *CreateKeyPayload) SetBackend(v Backend)

SetBackend sets field value Deprecated

func (*CreateKeyPayload) SetDescription

func (o *CreateKeyPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateKeyPayload) SetDisplayName

func (o *CreateKeyPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateKeyPayload) SetImportOnly

func (o *CreateKeyPayload) SetImportOnly(v bool)

SetImportOnly gets a reference to the given bool and assigns it to the ImportOnly field.

func (*CreateKeyPayload) SetProtection

func (o *CreateKeyPayload) SetProtection(v Protection)

SetProtection gets a reference to the given Protection and assigns it to the Protection field.

func (*CreateKeyPayload) SetPurpose

func (o *CreateKeyPayload) SetPurpose(v Purpose)

SetPurpose sets field value

func (CreateKeyPayload) ToMap

func (o CreateKeyPayload) ToMap() (map[string]interface{}, error)

func (*CreateKeyPayload) UnmarshalJSON

func (o *CreateKeyPayload) UnmarshalJSON(data []byte) (err error)

type CreateKeyRingPayload

type CreateKeyRingPayload struct {
	// A user chosen description to distinguish multiple key rings.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
}

CreateKeyRingPayload struct for CreateKeyRingPayload

func NewCreateKeyRingPayload

func NewCreateKeyRingPayload(displayName string) *CreateKeyRingPayload

NewCreateKeyRingPayload instantiates a new CreateKeyRingPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateKeyRingPayloadWithDefaults

func NewCreateKeyRingPayloadWithDefaults() *CreateKeyRingPayload

NewCreateKeyRingPayloadWithDefaults instantiates a new CreateKeyRingPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateKeyRingPayload) GetDescription

func (o *CreateKeyRingPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateKeyRingPayload) GetDescriptionOk

func (o *CreateKeyRingPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyRingPayload) GetDisplayName

func (o *CreateKeyRingPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateKeyRingPayload) GetDisplayNameOk

func (o *CreateKeyRingPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateKeyRingPayload) HasDescription

func (o *CreateKeyRingPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateKeyRingPayload) MarshalJSON

func (o CreateKeyRingPayload) MarshalJSON() ([]byte, error)

func (*CreateKeyRingPayload) SetDescription

func (o *CreateKeyRingPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateKeyRingPayload) SetDisplayName

func (o *CreateKeyRingPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (CreateKeyRingPayload) ToMap

func (o CreateKeyRingPayload) ToMap() (map[string]interface{}, error)

func (*CreateKeyRingPayload) UnmarshalJSON

func (o *CreateKeyRingPayload) UnmarshalJSON(data []byte) (err error)

type CreateWrappingKeyPayload

type CreateWrappingKeyPayload struct {
	AccessScope *AccessScope      `json:"access_scope,omitempty"`
	Algorithm   WrappingAlgorithm `json:"algorithm"`
	// Deprecated
	Backend Backend `json:"backend"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.
	DisplayName string          `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
	Protection  *Protection     `json:"protection,omitempty"`
	Purpose     WrappingPurpose `json:"purpose"`
}

CreateWrappingKeyPayload struct for CreateWrappingKeyPayload

func NewCreateWrappingKeyPayload

func NewCreateWrappingKeyPayload(algorithm WrappingAlgorithm, backend Backend, displayName string, purpose WrappingPurpose) *CreateWrappingKeyPayload

NewCreateWrappingKeyPayload instantiates a new CreateWrappingKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWrappingKeyPayloadWithDefaults

func NewCreateWrappingKeyPayloadWithDefaults() *CreateWrappingKeyPayload

NewCreateWrappingKeyPayloadWithDefaults instantiates a new CreateWrappingKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWrappingKeyPayload) GetAccessScope

func (o *CreateWrappingKeyPayload) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value if set, zero value otherwise.

func (*CreateWrappingKeyPayload) GetAccessScopeOk

func (o *CreateWrappingKeyPayload) GetAccessScopeOk() (*AccessScope, bool)

GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) GetAlgorithm

func (o *CreateWrappingKeyPayload) GetAlgorithm() WrappingAlgorithm

GetAlgorithm returns the Algorithm field value

func (*CreateWrappingKeyPayload) GetAlgorithmOk

func (o *CreateWrappingKeyPayload) GetAlgorithmOk() (*WrappingAlgorithm, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) GetBackend

func (o *CreateWrappingKeyPayload) GetBackend() Backend

GetBackend returns the Backend field value Deprecated

func (*CreateWrappingKeyPayload) GetBackendOk

func (o *CreateWrappingKeyPayload) GetBackendOk() (*Backend, bool)

GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated

func (*CreateWrappingKeyPayload) GetDescription

func (o *CreateWrappingKeyPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateWrappingKeyPayload) GetDescriptionOk

func (o *CreateWrappingKeyPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) GetDisplayName

func (o *CreateWrappingKeyPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateWrappingKeyPayload) GetDisplayNameOk

func (o *CreateWrappingKeyPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) GetProtection

func (o *CreateWrappingKeyPayload) GetProtection() Protection

GetProtection returns the Protection field value if set, zero value otherwise.

func (*CreateWrappingKeyPayload) GetProtectionOk

func (o *CreateWrappingKeyPayload) GetProtectionOk() (*Protection, bool)

GetProtectionOk returns a tuple with the Protection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) GetPurpose

func (o *CreateWrappingKeyPayload) GetPurpose() WrappingPurpose

GetPurpose returns the Purpose field value

func (*CreateWrappingKeyPayload) GetPurposeOk

func (o *CreateWrappingKeyPayload) GetPurposeOk() (*WrappingPurpose, bool)

GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.

func (*CreateWrappingKeyPayload) HasAccessScope

func (o *CreateWrappingKeyPayload) HasAccessScope() bool

HasAccessScope returns a boolean if a field has been set.

func (*CreateWrappingKeyPayload) HasDescription

func (o *CreateWrappingKeyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateWrappingKeyPayload) HasProtection

func (o *CreateWrappingKeyPayload) HasProtection() bool

HasProtection returns a boolean if a field has been set.

func (CreateWrappingKeyPayload) MarshalJSON

func (o CreateWrappingKeyPayload) MarshalJSON() ([]byte, error)

func (*CreateWrappingKeyPayload) SetAccessScope

func (o *CreateWrappingKeyPayload) SetAccessScope(v AccessScope)

SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.

func (*CreateWrappingKeyPayload) SetAlgorithm

func (o *CreateWrappingKeyPayload) SetAlgorithm(v WrappingAlgorithm)

SetAlgorithm sets field value

func (*CreateWrappingKeyPayload) SetBackend

func (o *CreateWrappingKeyPayload) SetBackend(v Backend)

SetBackend sets field value Deprecated

func (*CreateWrappingKeyPayload) SetDescription

func (o *CreateWrappingKeyPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateWrappingKeyPayload) SetDisplayName

func (o *CreateWrappingKeyPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateWrappingKeyPayload) SetProtection

func (o *CreateWrappingKeyPayload) SetProtection(v Protection)

SetProtection gets a reference to the given Protection and assigns it to the Protection field.

func (*CreateWrappingKeyPayload) SetPurpose

func (o *CreateWrappingKeyPayload) SetPurpose(v WrappingPurpose)

SetPurpose sets field value

func (CreateWrappingKeyPayload) ToMap

func (o CreateWrappingKeyPayload) ToMap() (map[string]interface{}, error)

func (*CreateWrappingKeyPayload) UnmarshalJSON

func (o *CreateWrappingKeyPayload) UnmarshalJSON(data []byte) (err error)

type DecryptPayload

type DecryptPayload struct {
	// The data that has to be decrypted. Encoded in base64.
	Data string `json:"data"`
}

DecryptPayload struct for DecryptPayload

func NewDecryptPayload

func NewDecryptPayload(data string) *DecryptPayload

NewDecryptPayload instantiates a new DecryptPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDecryptPayloadWithDefaults

func NewDecryptPayloadWithDefaults() *DecryptPayload

NewDecryptPayloadWithDefaults instantiates a new DecryptPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DecryptPayload) GetData

func (o *DecryptPayload) GetData() string

GetData returns the Data field value

func (*DecryptPayload) GetDataOk

func (o *DecryptPayload) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (DecryptPayload) MarshalJSON

func (o DecryptPayload) MarshalJSON() ([]byte, error)

func (*DecryptPayload) SetData

func (o *DecryptPayload) SetData(v string)

SetData sets field value

func (DecryptPayload) ToMap

func (o DecryptPayload) ToMap() (map[string]interface{}, error)

func (*DecryptPayload) UnmarshalJSON

func (o *DecryptPayload) UnmarshalJSON(data []byte) (err error)

type DecryptedData

type DecryptedData struct {
	// The decrypted data. Encoded in base64.
	Data string `json:"data"`
}

DecryptedData struct for DecryptedData

func NewDecryptedData

func NewDecryptedData(data string) *DecryptedData

NewDecryptedData instantiates a new DecryptedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDecryptedDataWithDefaults

func NewDecryptedDataWithDefaults() *DecryptedData

NewDecryptedDataWithDefaults instantiates a new DecryptedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DecryptedData) GetData

func (o *DecryptedData) GetData() string

GetData returns the Data field value

func (*DecryptedData) GetDataOk

func (o *DecryptedData) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (DecryptedData) MarshalJSON

func (o DecryptedData) MarshalJSON() ([]byte, error)

func (*DecryptedData) SetData

func (o *DecryptedData) SetData(v string)

SetData sets field value

func (DecryptedData) ToMap

func (o DecryptedData) ToMap() (map[string]interface{}, error)

func (*DecryptedData) UnmarshalJSON

func (o *DecryptedData) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateKey Create key

		Creates a new key for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiCreateKeyRequest

		Deprecated
	*/
	CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

	// CreateKeyExecute executes the request
	//  @return Key
	// Deprecated
	CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

	/*
		CreateKeyRing Create key ring

		Creates a new key ring within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@return ApiCreateKeyRingRequest

		Deprecated
	*/
	CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

	// CreateKeyRingExecute executes the request
	//  @return KeyRing
	// Deprecated
	CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

	/*
		CreateWrappingKey Create wrapping key

		Creates a new wrapping key for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiCreateWrappingKeyRequest

		Deprecated
	*/
	CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

	// CreateWrappingKeyExecute executes the request
	//  @return WrappingKey
	// Deprecated
	CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

	/*
		Decrypt Decrypt

		Decrypts data using the given key version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDecryptRequest

		Deprecated
	*/
	Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

	// DecryptExecute executes the request
	//  @return DecryptedData
	// Deprecated
	DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)

	/*
		DeleteKey Delete key

		Schedules the deletion of the given key

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiDeleteKeyRequest

		Deprecated
	*/
	DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

	// DeleteKeyExecute executes the request
	// Deprecated
	DeleteKeyExecute(r ApiDeleteKeyRequest) error

	/*
		DeleteKeyRing Delete keyring

		Deletes the given key ring if it is empty

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiDeleteKeyRingRequest

		Deprecated
	*/
	DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

	// DeleteKeyRingExecute executes the request
	// Deprecated
	DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

	/*
		DeleteWrappingKey Delete wrapping key

		Deletes the given wrapping key

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param wrappingKeyId The wrapping key UUID.
		@return ApiDeleteWrappingKeyRequest

		Deprecated
	*/
	DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

	// DeleteWrappingKeyExecute executes the request
	// Deprecated
	DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

	/*
		DestroyVersion Destroy version

		Removes the key material of a version permanently.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDestroyVersionRequest

		Deprecated
	*/
	DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

	// DestroyVersionExecute executes the request
	// Deprecated
	DestroyVersionExecute(r ApiDestroyVersionRequest) error

	/*
		DisableVersion Disable version

		Disables the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDisableVersionRequest

		Deprecated
	*/
	DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

	// DisableVersionExecute executes the request
	// Deprecated
	DisableVersionExecute(r ApiDisableVersionRequest) error

	/*
		EnableVersion Enable version

		Enables the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiEnableVersionRequest

		Deprecated
	*/
	EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

	// EnableVersionExecute executes the request
	// Deprecated
	EnableVersionExecute(r ApiEnableVersionRequest) error

	/*
		Encrypt Encrypt

		Encrypts data using the given key version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiEncryptRequest

		Deprecated
	*/
	Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

	// EncryptExecute executes the request
	//  @return EncryptedData
	// Deprecated
	EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)

	/*
		GetKey Get key

		Returns the details for the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiGetKeyRequest

		Deprecated
	*/
	GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

	// GetKeyExecute executes the request
	//  @return Key
	// Deprecated
	GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

	/*
		GetKeyRing Get key ring

		Returns the details for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiGetKeyRingRequest

		Deprecated
	*/
	GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

	// GetKeyRingExecute executes the request
	//  @return KeyRing
	// Deprecated
	GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

	/*
		GetVersion Get version

		Returns the details for the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiGetVersionRequest

		Deprecated
	*/
	GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

	// GetVersionExecute executes the request
	//  @return Version
	// Deprecated
	GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

	/*
		GetWrappingKey Get wrapping key

		Returns the details for the given wrapping key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param wrappingKeyId The wrapping key UUID.
		@return ApiGetWrappingKeyRequest

		Deprecated
	*/
	GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

	// GetWrappingKeyExecute executes the request
	//  @return WrappingKey
	// Deprecated
	GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

	/*
		ImportKey Import key

		Imports a new version to the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiImportKeyRequest

		Deprecated
	*/
	ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

	// ImportKeyExecute executes the request
	//  @return Version
	// Deprecated
	ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

	/*
		ListKeyRings List key rings

		Returns a list of all key rings within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@return ApiListKeyRingsRequest

		Deprecated
	*/
	ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

	// ListKeyRingsExecute executes the request
	//  @return KeyRingList
	// Deprecated
	ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

	/*
		ListKeys List keys

		Returns the keys for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiListKeysRequest

		Deprecated
	*/
	ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

	// ListKeysExecute executes the request
	//  @return KeyList
	// Deprecated
	ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

	/*
		ListVersions List versions

		Returns a list of all versions of a given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiListVersionsRequest

		Deprecated
	*/
	ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

	// ListVersionsExecute executes the request
	//  @return VersionList
	// Deprecated
	ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

	/*
		ListWrappingKeys List wrapping keys

		Returns the wrapping keys for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiListWrappingKeysRequest

		Deprecated
	*/
	ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

	// ListWrappingKeysExecute executes the request
	//  @return WrappingKeyList
	// Deprecated
	ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

	/*
		RestoreKey Restore deleted key

		Restores the given key from being deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiRestoreKeyRequest

		Deprecated
	*/
	RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

	// RestoreKeyExecute executes the request
	// Deprecated
	RestoreKeyExecute(r ApiRestoreKeyRequest) error

	/*
		RestoreVersion Restore version

		Restores the given version from being destroyed

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiRestoreVersionRequest

		Deprecated
	*/
	RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

	// RestoreVersionExecute executes the request
	// Deprecated
	RestoreVersionExecute(r ApiRestoreVersionRequest) error

	/*
		RotateKey Rotate key

		Rotates the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiRotateKeyRequest

		Deprecated
	*/
	RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

	// RotateKeyExecute executes the request
	//  @return Version
	// Deprecated
	RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

	/*
		Sign Sign

		Sign data using the given key version as secret.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiSignRequest

		Deprecated
	*/
	Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

	// SignExecute executes the request
	//  @return SignedData
	// Deprecated
	SignExecute(r ApiSignRequest) (*SignedData, error)

	/*
		Verify Verify

		Verify data using the given key version as secret.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiVerifyRequest

		Deprecated
	*/
	Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

	// VerifyExecute executes the request
	//  @return VerifiedData
	// Deprecated
	VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateKey

func (a *DefaultAPIService) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

CreateKey Create key

Creates a new key for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateKeyRequest

Deprecated

func (*DefaultAPIService) CreateKeyExecute

func (a *DefaultAPIService) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

Execute executes the request

@return Key

Deprecated

func (*DefaultAPIService) CreateKeyRing

func (a *DefaultAPIService) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

CreateKeyRing Create key ring

Creates a new key ring within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiCreateKeyRingRequest

Deprecated

func (*DefaultAPIService) CreateKeyRingExecute

func (a *DefaultAPIService) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

Execute executes the request

@return KeyRing

Deprecated

func (*DefaultAPIService) CreateWrappingKey

func (a *DefaultAPIService) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

CreateWrappingKey Create wrapping key

Creates a new wrapping key for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateWrappingKeyRequest

Deprecated

func (*DefaultAPIService) CreateWrappingKeyExecute

func (a *DefaultAPIService) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

Execute executes the request

@return WrappingKey

Deprecated

func (*DefaultAPIService) Decrypt

func (a *DefaultAPIService) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

Decrypt Decrypt

Decrypts data using the given key version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDecryptRequest

Deprecated

func (*DefaultAPIService) DecryptExecute

func (a *DefaultAPIService) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)

Execute executes the request

@return DecryptedData

Deprecated

func (*DefaultAPIService) DeleteKey

func (a *DefaultAPIService) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

DeleteKey Delete key

Schedules the deletion of the given key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiDeleteKeyRequest

Deprecated

func (*DefaultAPIService) DeleteKeyExecute

func (a *DefaultAPIService) DeleteKeyExecute(r ApiDeleteKeyRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteKeyRing

func (a *DefaultAPIService) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

DeleteKeyRing Delete keyring

Deletes the given key ring if it is empty

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiDeleteKeyRingRequest

Deprecated

func (*DefaultAPIService) DeleteKeyRingExecute

func (a *DefaultAPIService) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteWrappingKey

func (a *DefaultAPIService) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

DeleteWrappingKey Delete wrapping key

Deletes the given wrapping key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiDeleteWrappingKeyRequest

Deprecated

func (*DefaultAPIService) DeleteWrappingKeyExecute

func (a *DefaultAPIService) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DestroyVersion

func (a *DefaultAPIService) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

DestroyVersion Destroy version

Removes the key material of a version permanently.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDestroyVersionRequest

Deprecated

func (*DefaultAPIService) DestroyVersionExecute

func (a *DefaultAPIService) DestroyVersionExecute(r ApiDestroyVersionRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DisableVersion

func (a *DefaultAPIService) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

DisableVersion Disable version

Disables the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDisableVersionRequest

Deprecated

func (*DefaultAPIService) DisableVersionExecute

func (a *DefaultAPIService) DisableVersionExecute(r ApiDisableVersionRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) EnableVersion

func (a *DefaultAPIService) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

EnableVersion Enable version

Enables the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEnableVersionRequest

Deprecated

func (*DefaultAPIService) EnableVersionExecute

func (a *DefaultAPIService) EnableVersionExecute(r ApiEnableVersionRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) Encrypt

func (a *DefaultAPIService) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

Encrypt Encrypt

Encrypts data using the given key version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEncryptRequest

Deprecated

func (*DefaultAPIService) EncryptExecute

func (a *DefaultAPIService) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)

Execute executes the request

@return EncryptedData

Deprecated

func (*DefaultAPIService) GetKey

func (a *DefaultAPIService) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

GetKey Get key

Returns the details for the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiGetKeyRequest

Deprecated

func (*DefaultAPIService) GetKeyExecute

func (a *DefaultAPIService) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

Execute executes the request

@return Key

Deprecated

func (*DefaultAPIService) GetKeyRing

func (a *DefaultAPIService) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

GetKeyRing Get key ring

Returns the details for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiGetKeyRingRequest

Deprecated

func (*DefaultAPIService) GetKeyRingExecute

func (a *DefaultAPIService) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

Execute executes the request

@return KeyRing

Deprecated

func (*DefaultAPIService) GetVersion

func (a *DefaultAPIService) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

GetVersion Get version

Returns the details for the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiGetVersionRequest

Deprecated

func (*DefaultAPIService) GetVersionExecute

func (a *DefaultAPIService) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

Execute executes the request

@return Version

Deprecated

func (*DefaultAPIService) GetWrappingKey

func (a *DefaultAPIService) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

GetWrappingKey Get wrapping key

Returns the details for the given wrapping key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiGetWrappingKeyRequest

Deprecated

func (*DefaultAPIService) GetWrappingKeyExecute

func (a *DefaultAPIService) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

Execute executes the request

@return WrappingKey

Deprecated

func (*DefaultAPIService) ImportKey

func (a *DefaultAPIService) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

ImportKey Import key

Imports a new version to the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiImportKeyRequest

Deprecated

func (*DefaultAPIService) ImportKeyExecute

func (a *DefaultAPIService) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

Execute executes the request

@return Version

Deprecated

func (*DefaultAPIService) ListKeyRings

func (a *DefaultAPIService) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

ListKeyRings List key rings

Returns a list of all key rings within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiListKeyRingsRequest

Deprecated

func (*DefaultAPIService) ListKeyRingsExecute

func (a *DefaultAPIService) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

Execute executes the request

@return KeyRingList

Deprecated

func (*DefaultAPIService) ListKeys

func (a *DefaultAPIService) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

ListKeys List keys

Returns the keys for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListKeysRequest

Deprecated

func (*DefaultAPIService) ListKeysExecute

func (a *DefaultAPIService) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

Execute executes the request

@return KeyList

Deprecated

func (*DefaultAPIService) ListVersions

func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

ListVersions List versions

Returns a list of all versions of a given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiListVersionsRequest

Deprecated

func (*DefaultAPIService) ListVersionsExecute

func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

Execute executes the request

@return VersionList

Deprecated

func (*DefaultAPIService) ListWrappingKeys

func (a *DefaultAPIService) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

ListWrappingKeys List wrapping keys

Returns the wrapping keys for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListWrappingKeysRequest

Deprecated

func (*DefaultAPIService) ListWrappingKeysExecute

func (a *DefaultAPIService) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

Execute executes the request

@return WrappingKeyList

Deprecated

func (*DefaultAPIService) RestoreKey

func (a *DefaultAPIService) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

RestoreKey Restore deleted key

Restores the given key from being deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRestoreKeyRequest

Deprecated

func (*DefaultAPIService) RestoreKeyExecute

func (a *DefaultAPIService) RestoreKeyExecute(r ApiRestoreKeyRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RestoreVersion

func (a *DefaultAPIService) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

RestoreVersion Restore version

Restores the given version from being destroyed

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiRestoreVersionRequest

Deprecated

func (*DefaultAPIService) RestoreVersionExecute

func (a *DefaultAPIService) RestoreVersionExecute(r ApiRestoreVersionRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RotateKey

func (a *DefaultAPIService) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

RotateKey Rotate key

Rotates the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRotateKeyRequest

Deprecated

func (*DefaultAPIService) RotateKeyExecute

func (a *DefaultAPIService) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

Execute executes the request

@return Version

Deprecated

func (*DefaultAPIService) Sign

func (a *DefaultAPIService) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

Sign Sign

Sign data using the given key version as secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiSignRequest

Deprecated

func (*DefaultAPIService) SignExecute

func (a *DefaultAPIService) SignExecute(r ApiSignRequest) (*SignedData, error)

Execute executes the request

@return SignedData

Deprecated

func (*DefaultAPIService) Verify

func (a *DefaultAPIService) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

Verify Verify

Verify data using the given key version as secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiVerifyRequest

Deprecated

func (*DefaultAPIService) VerifyExecute

func (a *DefaultAPIService) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)

Execute executes the request

@return VerifiedData

Deprecated

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// Deprecated: CreateKeyExecuteMock can be populated to implement the behavior of the CreateKeyExecute function of this mock
	CreateKeyExecuteMock *func(r ApiCreateKeyRequest) (*Key, error)
	// Deprecated: CreateKeyRingExecuteMock can be populated to implement the behavior of the CreateKeyRingExecute function of this mock
	CreateKeyRingExecuteMock *func(r ApiCreateKeyRingRequest) (*KeyRing, error)
	// Deprecated: CreateWrappingKeyExecuteMock can be populated to implement the behavior of the CreateWrappingKeyExecute function of this mock
	CreateWrappingKeyExecuteMock *func(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
	// Deprecated: DecryptExecuteMock can be populated to implement the behavior of the DecryptExecute function of this mock
	DecryptExecuteMock *func(r ApiDecryptRequest) (*DecryptedData, error)
	// Deprecated: DeleteKeyExecuteMock can be populated to implement the behavior of the DeleteKeyExecute function of this mock
	DeleteKeyExecuteMock *func(r ApiDeleteKeyRequest) error
	// Deprecated: DeleteKeyRingExecuteMock can be populated to implement the behavior of the DeleteKeyRingExecute function of this mock
	DeleteKeyRingExecuteMock *func(r ApiDeleteKeyRingRequest) error
	// Deprecated: DeleteWrappingKeyExecuteMock can be populated to implement the behavior of the DeleteWrappingKeyExecute function of this mock
	DeleteWrappingKeyExecuteMock *func(r ApiDeleteWrappingKeyRequest) error
	// Deprecated: DestroyVersionExecuteMock can be populated to implement the behavior of the DestroyVersionExecute function of this mock
	DestroyVersionExecuteMock *func(r ApiDestroyVersionRequest) error
	// Deprecated: DisableVersionExecuteMock can be populated to implement the behavior of the DisableVersionExecute function of this mock
	DisableVersionExecuteMock *func(r ApiDisableVersionRequest) error
	// Deprecated: EnableVersionExecuteMock can be populated to implement the behavior of the EnableVersionExecute function of this mock
	EnableVersionExecuteMock *func(r ApiEnableVersionRequest) error
	// Deprecated: EncryptExecuteMock can be populated to implement the behavior of the EncryptExecute function of this mock
	EncryptExecuteMock *func(r ApiEncryptRequest) (*EncryptedData, error)
	// Deprecated: GetKeyExecuteMock can be populated to implement the behavior of the GetKeyExecute function of this mock
	GetKeyExecuteMock *func(r ApiGetKeyRequest) (*Key, error)
	// Deprecated: GetKeyRingExecuteMock can be populated to implement the behavior of the GetKeyRingExecute function of this mock
	GetKeyRingExecuteMock *func(r ApiGetKeyRingRequest) (*KeyRing, error)
	// Deprecated: GetVersionExecuteMock can be populated to implement the behavior of the GetVersionExecute function of this mock
	GetVersionExecuteMock *func(r ApiGetVersionRequest) (*Version, error)
	// Deprecated: GetWrappingKeyExecuteMock can be populated to implement the behavior of the GetWrappingKeyExecute function of this mock
	GetWrappingKeyExecuteMock *func(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
	// Deprecated: ImportKeyExecuteMock can be populated to implement the behavior of the ImportKeyExecute function of this mock
	ImportKeyExecuteMock *func(r ApiImportKeyRequest) (*Version, error)
	// Deprecated: ListKeyRingsExecuteMock can be populated to implement the behavior of the ListKeyRingsExecute function of this mock
	ListKeyRingsExecuteMock *func(r ApiListKeyRingsRequest) (*KeyRingList, error)
	// Deprecated: ListKeysExecuteMock can be populated to implement the behavior of the ListKeysExecute function of this mock
	ListKeysExecuteMock *func(r ApiListKeysRequest) (*KeyList, error)
	// Deprecated: ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
	ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*VersionList, error)
	// Deprecated: ListWrappingKeysExecuteMock can be populated to implement the behavior of the ListWrappingKeysExecute function of this mock
	ListWrappingKeysExecuteMock *func(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
	// Deprecated: RestoreKeyExecuteMock can be populated to implement the behavior of the RestoreKeyExecute function of this mock
	RestoreKeyExecuteMock *func(r ApiRestoreKeyRequest) error
	// Deprecated: RestoreVersionExecuteMock can be populated to implement the behavior of the RestoreVersionExecute function of this mock
	RestoreVersionExecuteMock *func(r ApiRestoreVersionRequest) error
	// Deprecated: RotateKeyExecuteMock can be populated to implement the behavior of the RotateKeyExecute function of this mock
	RotateKeyExecuteMock *func(r ApiRotateKeyRequest) (*Version, error)
	// Deprecated: SignExecuteMock can be populated to implement the behavior of the SignExecute function of this mock
	SignExecuteMock *func(r ApiSignRequest) (*SignedData, error)
	// Deprecated: VerifyExecuteMock can be populated to implement the behavior of the VerifyExecute function of this mock
	VerifyExecuteMock *func(r ApiVerifyRequest) (*VerifiedData, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateKey

func (a DefaultAPIServiceMock) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

Deprecated

func (DefaultAPIServiceMock) CreateKeyExecute deprecated

func (a DefaultAPIServiceMock) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

Deprecated: CreateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateKeyRing

func (a DefaultAPIServiceMock) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

Deprecated

func (DefaultAPIServiceMock) CreateKeyRingExecute deprecated

func (a DefaultAPIServiceMock) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

Deprecated: CreateKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateWrappingKey

func (a DefaultAPIServiceMock) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

Deprecated

func (DefaultAPIServiceMock) CreateWrappingKeyExecute deprecated

func (a DefaultAPIServiceMock) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

Deprecated: CreateWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Decrypt

func (a DefaultAPIServiceMock) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

Deprecated

func (DefaultAPIServiceMock) DecryptExecute deprecated

Deprecated: DecryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DecryptExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKey

func (a DefaultAPIServiceMock) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

Deprecated

func (DefaultAPIServiceMock) DeleteKeyExecute deprecated

func (a DefaultAPIServiceMock) DeleteKeyExecute(r ApiDeleteKeyRequest) error

Deprecated: DeleteKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKeyRing

func (a DefaultAPIServiceMock) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

Deprecated

func (DefaultAPIServiceMock) DeleteKeyRingExecute deprecated

func (a DefaultAPIServiceMock) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

Deprecated: DeleteKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteWrappingKey

func (a DefaultAPIServiceMock) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

Deprecated

func (DefaultAPIServiceMock) DeleteWrappingKeyExecute deprecated

func (a DefaultAPIServiceMock) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

Deprecated: DeleteWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DestroyVersion

func (a DefaultAPIServiceMock) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

Deprecated

func (DefaultAPIServiceMock) DestroyVersionExecute deprecated

func (a DefaultAPIServiceMock) DestroyVersionExecute(r ApiDestroyVersionRequest) error

Deprecated: DestroyVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DestroyVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DisableVersion

func (a DefaultAPIServiceMock) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

Deprecated

func (DefaultAPIServiceMock) DisableVersionExecute deprecated

func (a DefaultAPIServiceMock) DisableVersionExecute(r ApiDisableVersionRequest) error

Deprecated: DisableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableVersion

func (a DefaultAPIServiceMock) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

Deprecated

func (DefaultAPIServiceMock) EnableVersionExecute deprecated

func (a DefaultAPIServiceMock) EnableVersionExecute(r ApiEnableVersionRequest) error

Deprecated: EnableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Encrypt

func (a DefaultAPIServiceMock) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

Deprecated

func (DefaultAPIServiceMock) EncryptExecute deprecated

Deprecated: EncryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EncryptExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKey

func (a DefaultAPIServiceMock) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

Deprecated

func (DefaultAPIServiceMock) GetKeyExecute deprecated

func (a DefaultAPIServiceMock) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

Deprecated: GetKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKeyRing

func (a DefaultAPIServiceMock) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

Deprecated

func (DefaultAPIServiceMock) GetKeyRingExecute deprecated

func (a DefaultAPIServiceMock) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

Deprecated: GetKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetVersion

func (a DefaultAPIServiceMock) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

Deprecated

func (DefaultAPIServiceMock) GetVersionExecute deprecated

func (a DefaultAPIServiceMock) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

Deprecated: GetVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetWrappingKey

func (a DefaultAPIServiceMock) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

Deprecated

func (DefaultAPIServiceMock) GetWrappingKeyExecute deprecated

func (a DefaultAPIServiceMock) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

Deprecated: GetWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ImportKey

func (a DefaultAPIServiceMock) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

Deprecated

func (DefaultAPIServiceMock) ImportKeyExecute deprecated

func (a DefaultAPIServiceMock) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

Deprecated: ImportKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ImportKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeyRings

func (a DefaultAPIServiceMock) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

Deprecated

func (DefaultAPIServiceMock) ListKeyRingsExecute deprecated

func (a DefaultAPIServiceMock) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

Deprecated: ListKeyRingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyRingsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeys

func (a DefaultAPIServiceMock) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

Deprecated

func (DefaultAPIServiceMock) ListKeysExecute deprecated

func (a DefaultAPIServiceMock) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

Deprecated: ListKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVersions

func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

Deprecated

func (DefaultAPIServiceMock) ListVersionsExecute deprecated

func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

Deprecated: ListVersionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVersionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListWrappingKeys

func (a DefaultAPIServiceMock) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

Deprecated

func (DefaultAPIServiceMock) ListWrappingKeysExecute deprecated

func (a DefaultAPIServiceMock) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

Deprecated: ListWrappingKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWrappingKeysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreKey

func (a DefaultAPIServiceMock) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

Deprecated

func (DefaultAPIServiceMock) RestoreKeyExecute deprecated

func (a DefaultAPIServiceMock) RestoreKeyExecute(r ApiRestoreKeyRequest) error

Deprecated: RestoreKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreVersion

func (a DefaultAPIServiceMock) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

Deprecated

func (DefaultAPIServiceMock) RestoreVersionExecute deprecated

func (a DefaultAPIServiceMock) RestoreVersionExecute(r ApiRestoreVersionRequest) error

Deprecated: RestoreVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RotateKey

func (a DefaultAPIServiceMock) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

Deprecated

func (DefaultAPIServiceMock) RotateKeyExecute deprecated

func (a DefaultAPIServiceMock) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

Deprecated: RotateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RotateKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Sign

func (a DefaultAPIServiceMock) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

Deprecated

func (DefaultAPIServiceMock) SignExecute deprecated

Deprecated: SignExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SignExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Verify

func (a DefaultAPIServiceMock) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

Deprecated

func (DefaultAPIServiceMock) VerifyExecute deprecated

Deprecated: VerifyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the VerifyExecuteMock field in the DefaultAPIServiceMock struct.

type EncryptPayload

type EncryptPayload struct {
	// The data that has to be encrypted. Encoded in base64.
	Data string `json:"data"`
}

EncryptPayload struct for EncryptPayload

func NewEncryptPayload

func NewEncryptPayload(data string) *EncryptPayload

NewEncryptPayload instantiates a new EncryptPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncryptPayloadWithDefaults

func NewEncryptPayloadWithDefaults() *EncryptPayload

NewEncryptPayloadWithDefaults instantiates a new EncryptPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncryptPayload) GetData

func (o *EncryptPayload) GetData() string

GetData returns the Data field value

func (*EncryptPayload) GetDataOk

func (o *EncryptPayload) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (EncryptPayload) MarshalJSON

func (o EncryptPayload) MarshalJSON() ([]byte, error)

func (*EncryptPayload) SetData

func (o *EncryptPayload) SetData(v string)

SetData sets field value

func (EncryptPayload) ToMap

func (o EncryptPayload) ToMap() (map[string]interface{}, error)

func (*EncryptPayload) UnmarshalJSON

func (o *EncryptPayload) UnmarshalJSON(data []byte) (err error)

type EncryptedData

type EncryptedData struct {
	// The encrypted data. Encoded in base64.
	Data string `json:"data"`
}

EncryptedData struct for EncryptedData

func NewEncryptedData

func NewEncryptedData(data string) *EncryptedData

NewEncryptedData instantiates a new EncryptedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncryptedDataWithDefaults

func NewEncryptedDataWithDefaults() *EncryptedData

NewEncryptedDataWithDefaults instantiates a new EncryptedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncryptedData) GetData

func (o *EncryptedData) GetData() string

GetData returns the Data field value

func (*EncryptedData) GetDataOk

func (o *EncryptedData) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (EncryptedData) MarshalJSON

func (o EncryptedData) MarshalJSON() ([]byte, error)

func (*EncryptedData) SetData

func (o *EncryptedData) SetData(v string)

SetData sets field value

func (EncryptedData) ToMap

func (o EncryptedData) ToMap() (map[string]interface{}, error)

func (*EncryptedData) UnmarshalJSON

func (o *EncryptedData) UnmarshalJSON(data []byte) (err error)

type HttpError

type HttpError struct {
	// A string that gives a short information about what went wrong.
	Message string `json:"message"`
}

HttpError struct for HttpError

func NewHttpError

func NewHttpError(message string) *HttpError

NewHttpError instantiates a new HttpError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHttpErrorWithDefaults

func NewHttpErrorWithDefaults() *HttpError

NewHttpErrorWithDefaults instantiates a new HttpError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HttpError) GetMessage

func (o *HttpError) GetMessage() string

GetMessage returns the Message field value

func (*HttpError) GetMessageOk

func (o *HttpError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (HttpError) MarshalJSON

func (o HttpError) MarshalJSON() ([]byte, error)

func (*HttpError) SetMessage

func (o *HttpError) SetMessage(v string)

SetMessage sets field value

func (HttpError) ToMap

func (o HttpError) ToMap() (map[string]interface{}, error)

func (*HttpError) UnmarshalJSON

func (o *HttpError) UnmarshalJSON(data []byte) (err error)

type ImportKeyPayload

type ImportKeyPayload struct {
	// The wrapped key material that has to be imported. Encoded in base64.
	WrappedKey string `json:"wrappedKey"`
	// The unique id of the wrapping key the key material has been wrapped with.
	WrappingKeyId string `json:"wrappingKeyId"`
}

ImportKeyPayload struct for ImportKeyPayload

func NewImportKeyPayload

func NewImportKeyPayload(wrappedKey string, wrappingKeyId string) *ImportKeyPayload

NewImportKeyPayload instantiates a new ImportKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImportKeyPayloadWithDefaults

func NewImportKeyPayloadWithDefaults() *ImportKeyPayload

NewImportKeyPayloadWithDefaults instantiates a new ImportKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ImportKeyPayload) GetWrappedKey

func (o *ImportKeyPayload) GetWrappedKey() string

GetWrappedKey returns the WrappedKey field value

func (*ImportKeyPayload) GetWrappedKeyOk

func (o *ImportKeyPayload) GetWrappedKeyOk() (*string, bool)

GetWrappedKeyOk returns a tuple with the WrappedKey field value and a boolean to check if the value has been set.

func (*ImportKeyPayload) GetWrappingKeyId

func (o *ImportKeyPayload) GetWrappingKeyId() string

GetWrappingKeyId returns the WrappingKeyId field value

func (*ImportKeyPayload) GetWrappingKeyIdOk

func (o *ImportKeyPayload) GetWrappingKeyIdOk() (*string, bool)

GetWrappingKeyIdOk returns a tuple with the WrappingKeyId field value and a boolean to check if the value has been set.

func (ImportKeyPayload) MarshalJSON

func (o ImportKeyPayload) MarshalJSON() ([]byte, error)

func (*ImportKeyPayload) SetWrappedKey

func (o *ImportKeyPayload) SetWrappedKey(v string)

SetWrappedKey sets field value

func (*ImportKeyPayload) SetWrappingKeyId

func (o *ImportKeyPayload) SetWrappingKeyId(v string)

SetWrappingKeyId sets field value

func (ImportKeyPayload) ToMap

func (o ImportKeyPayload) ToMap() (map[string]interface{}, error)

func (*ImportKeyPayload) UnmarshalJSON

func (o *ImportKeyPayload) UnmarshalJSON(data []byte) (err error)

type Key

type Key struct {
	AccessScope AccessScope `json:"access_scope"`
	Algorithm   Algorithm   `json:"algorithm"`
	// Deprecated
	Backend Backend `json:"backend"`
	// The date and time the creation of the key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// This date is set when a key is pending deletion and refers to the scheduled date of deletion
	DeletionDate *time.Time `json:"deletionDate,omitempty"`
	// A user chosen description to distinguish multiple keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple keys.
	DisplayName string `json:"displayName"`
	// A auto generated unique id which identifies the keys.
	Id string `json:"id"`
	// States whether versions can be created or only imported.
	ImportOnly bool `json:"importOnly"`
	// The unique id of the key ring this key is assigned to.
	KeyRingId  string     `json:"keyRingId"`
	Protection Protection `json:"protection"`
	Purpose    Purpose    `json:"purpose"`
	// The current state of the key.
	State string `json:"state"`
}

Key struct for Key

func NewKey

func NewKey(accessScope AccessScope, algorithm Algorithm, backend Backend, createdAt time.Time, displayName string, id string, importOnly bool, keyRingId string, protection Protection, purpose Purpose, state string) *Key

NewKey instantiates a new Key object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeyWithDefaults

func NewKeyWithDefaults() *Key

NewKeyWithDefaults instantiates a new Key object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Key) GetAccessScope

func (o *Key) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value

func (*Key) GetAccessScopeOk

func (o *Key) GetAccessScopeOk() (*AccessScope, bool)

GetAccessScopeOk returns a tuple with the AccessScope field value and a boolean to check if the value has been set.

func (*Key) GetAlgorithm

func (o *Key) GetAlgorithm() Algorithm

GetAlgorithm returns the Algorithm field value

func (*Key) GetAlgorithmOk

func (o *Key) GetAlgorithmOk() (*Algorithm, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.

func (*Key) GetBackend

func (o *Key) GetBackend() Backend

GetBackend returns the Backend field value Deprecated

func (*Key) GetBackendOk

func (o *Key) GetBackendOk() (*Backend, bool)

GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated

func (*Key) GetCreatedAt

func (o *Key) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Key) GetCreatedAtOk

func (o *Key) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Key) GetDeletionDate

func (o *Key) GetDeletionDate() time.Time

GetDeletionDate returns the DeletionDate field value if set, zero value otherwise.

func (*Key) GetDeletionDateOk

func (o *Key) GetDeletionDateOk() (*time.Time, bool)

GetDeletionDateOk returns a tuple with the DeletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Key) GetDescription

func (o *Key) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Key) GetDescriptionOk

func (o *Key) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Key) GetDisplayName

func (o *Key) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Key) GetDisplayNameOk

func (o *Key) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*Key) GetId

func (o *Key) GetId() string

GetId returns the Id field value

func (*Key) GetIdOk

func (o *Key) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Key) GetImportOnly

func (o *Key) GetImportOnly() bool

GetImportOnly returns the ImportOnly field value

func (*Key) GetImportOnlyOk

func (o *Key) GetImportOnlyOk() (*bool, bool)

GetImportOnlyOk returns a tuple with the ImportOnly field value and a boolean to check if the value has been set.

func (*Key) GetKeyRingId

func (o *Key) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*Key) GetKeyRingIdOk

func (o *Key) GetKeyRingIdOk() (*string, bool)

GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.

func (*Key) GetProtection

func (o *Key) GetProtection() Protection

GetProtection returns the Protection field value

func (*Key) GetProtectionOk

func (o *Key) GetProtectionOk() (*Protection, bool)

GetProtectionOk returns a tuple with the Protection field value and a boolean to check if the value has been set.

func (*Key) GetPurpose

func (o *Key) GetPurpose() Purpose

GetPurpose returns the Purpose field value

func (*Key) GetPurposeOk

func (o *Key) GetPurposeOk() (*Purpose, bool)

GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.

func (*Key) GetState

func (o *Key) GetState() string

GetState returns the State field value

func (*Key) GetStateOk

func (o *Key) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Key) HasDeletionDate

func (o *Key) HasDeletionDate() bool

HasDeletionDate returns a boolean if a field has been set.

func (*Key) HasDescription

func (o *Key) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Key) MarshalJSON

func (o Key) MarshalJSON() ([]byte, error)

func (*Key) SetAccessScope

func (o *Key) SetAccessScope(v AccessScope)

SetAccessScope sets field value

func (*Key) SetAlgorithm

func (o *Key) SetAlgorithm(v Algorithm)

SetAlgorithm sets field value

func (*Key) SetBackend

func (o *Key) SetBackend(v Backend)

SetBackend sets field value Deprecated

func (*Key) SetCreatedAt

func (o *Key) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Key) SetDeletionDate

func (o *Key) SetDeletionDate(v time.Time)

SetDeletionDate gets a reference to the given time.Time and assigns it to the DeletionDate field.

func (*Key) SetDescription

func (o *Key) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Key) SetDisplayName

func (o *Key) SetDisplayName(v string)

SetDisplayName sets field value

func (*Key) SetId

func (o *Key) SetId(v string)

SetId sets field value

func (*Key) SetImportOnly

func (o *Key) SetImportOnly(v bool)

SetImportOnly sets field value

func (*Key) SetKeyRingId

func (o *Key) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*Key) SetProtection

func (o *Key) SetProtection(v Protection)

SetProtection sets field value

func (*Key) SetPurpose

func (o *Key) SetPurpose(v Purpose)

SetPurpose sets field value

func (*Key) SetState

func (o *Key) SetState(v string)

SetState sets field value

func (Key) ToMap

func (o Key) ToMap() (map[string]interface{}, error)

func (*Key) UnmarshalJSON

func (o *Key) UnmarshalJSON(data []byte) (err error)

type KeyList

type KeyList struct {
	Keys []Key `json:"keys"`
}

KeyList struct for KeyList

func NewKeyList

func NewKeyList(keys []Key) *KeyList

NewKeyList instantiates a new KeyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeyListWithDefaults

func NewKeyListWithDefaults() *KeyList

NewKeyListWithDefaults instantiates a new KeyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeyList) GetKeys

func (o *KeyList) GetKeys() []Key

GetKeys returns the Keys field value

func (*KeyList) GetKeysOk

func (o *KeyList) GetKeysOk() ([]Key, bool)

GetKeysOk returns a tuple with the Keys field value and a boolean to check if the value has been set.

func (KeyList) MarshalJSON

func (o KeyList) MarshalJSON() ([]byte, error)

func (*KeyList) SetKeys

func (o *KeyList) SetKeys(v []Key)

SetKeys sets field value

func (KeyList) ToMap

func (o KeyList) ToMap() (map[string]interface{}, error)

func (*KeyList) UnmarshalJSON

func (o *KeyList) UnmarshalJSON(data []byte) (err error)

type KeyRing

type KeyRing struct {
	// The date and time the creation of the key ring was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// A user chosen description to distinguish multiple key rings.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple key rings.
	DisplayName string `json:"displayName"`
	// A auto generated unique id which identifies the key ring.
	Id string `json:"id"`
	// The current state of the key ring.
	State string `json:"state"`
}

KeyRing struct for KeyRing

func NewKeyRing

func NewKeyRing(createdAt time.Time, displayName string, id string, state string) *KeyRing

NewKeyRing instantiates a new KeyRing object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeyRingWithDefaults

func NewKeyRingWithDefaults() *KeyRing

NewKeyRingWithDefaults instantiates a new KeyRing object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeyRing) GetCreatedAt

func (o *KeyRing) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*KeyRing) GetCreatedAtOk

func (o *KeyRing) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*KeyRing) GetDescription

func (o *KeyRing) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*KeyRing) GetDescriptionOk

func (o *KeyRing) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeyRing) GetDisplayName

func (o *KeyRing) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*KeyRing) GetDisplayNameOk

func (o *KeyRing) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*KeyRing) GetId

func (o *KeyRing) GetId() string

GetId returns the Id field value

func (*KeyRing) GetIdOk

func (o *KeyRing) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*KeyRing) GetState

func (o *KeyRing) GetState() string

GetState returns the State field value

func (*KeyRing) GetStateOk

func (o *KeyRing) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*KeyRing) HasDescription

func (o *KeyRing) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (KeyRing) MarshalJSON

func (o KeyRing) MarshalJSON() ([]byte, error)

func (*KeyRing) SetCreatedAt

func (o *KeyRing) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*KeyRing) SetDescription

func (o *KeyRing) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*KeyRing) SetDisplayName

func (o *KeyRing) SetDisplayName(v string)

SetDisplayName sets field value

func (*KeyRing) SetId

func (o *KeyRing) SetId(v string)

SetId sets field value

func (*KeyRing) SetState

func (o *KeyRing) SetState(v string)

SetState sets field value

func (KeyRing) ToMap

func (o KeyRing) ToMap() (map[string]interface{}, error)

func (*KeyRing) UnmarshalJSON

func (o *KeyRing) UnmarshalJSON(data []byte) (err error)

type KeyRingList

type KeyRingList struct {
	KeyRings []KeyRing `json:"keyRings"`
}

KeyRingList struct for KeyRingList

func NewKeyRingList

func NewKeyRingList(keyRings []KeyRing) *KeyRingList

NewKeyRingList instantiates a new KeyRingList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeyRingListWithDefaults

func NewKeyRingListWithDefaults() *KeyRingList

NewKeyRingListWithDefaults instantiates a new KeyRingList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeyRingList) GetKeyRings

func (o *KeyRingList) GetKeyRings() []KeyRing

GetKeyRings returns the KeyRings field value

func (*KeyRingList) GetKeyRingsOk

func (o *KeyRingList) GetKeyRingsOk() ([]KeyRing, bool)

GetKeyRingsOk returns a tuple with the KeyRings field value and a boolean to check if the value has been set.

func (KeyRingList) MarshalJSON

func (o KeyRingList) MarshalJSON() ([]byte, error)

func (*KeyRingList) SetKeyRings

func (o *KeyRingList) SetKeyRings(v []KeyRing)

SetKeyRings sets field value

func (KeyRingList) ToMap

func (o KeyRingList) ToMap() (map[string]interface{}, error)

func (*KeyRingList) UnmarshalJSON

func (o *KeyRingList) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAccessScope

type NullableAccessScope struct {
	// contains filtered or unexported fields
}

func NewNullableAccessScope

func NewNullableAccessScope(val *AccessScope) *NullableAccessScope

func (NullableAccessScope) Get

func (NullableAccessScope) IsSet

func (v NullableAccessScope) IsSet() bool

func (NullableAccessScope) MarshalJSON

func (v NullableAccessScope) MarshalJSON() ([]byte, error)

func (*NullableAccessScope) Set

func (v *NullableAccessScope) Set(val *AccessScope)

func (*NullableAccessScope) UnmarshalJSON

func (v *NullableAccessScope) UnmarshalJSON(src []byte) error

func (*NullableAccessScope) Unset

func (v *NullableAccessScope) Unset()

type NullableAlgorithm

type NullableAlgorithm struct {
	// contains filtered or unexported fields
}

func NewNullableAlgorithm

func NewNullableAlgorithm(val *Algorithm) *NullableAlgorithm

func (NullableAlgorithm) Get

func (v NullableAlgorithm) Get() *Algorithm

func (NullableAlgorithm) IsSet

func (v NullableAlgorithm) IsSet() bool

func (NullableAlgorithm) MarshalJSON

func (v NullableAlgorithm) MarshalJSON() ([]byte, error)

func (*NullableAlgorithm) Set

func (v *NullableAlgorithm) Set(val *Algorithm)

func (*NullableAlgorithm) UnmarshalJSON

func (v *NullableAlgorithm) UnmarshalJSON(src []byte) error

func (*NullableAlgorithm) Unset

func (v *NullableAlgorithm) Unset()

type NullableBackend

type NullableBackend struct {
	// contains filtered or unexported fields
}

func NewNullableBackend

func NewNullableBackend(val *Backend) *NullableBackend

func (NullableBackend) Get

func (v NullableBackend) Get() *Backend

func (NullableBackend) IsSet

func (v NullableBackend) IsSet() bool

func (NullableBackend) MarshalJSON

func (v NullableBackend) MarshalJSON() ([]byte, error)

func (*NullableBackend) Set

func (v *NullableBackend) Set(val *Backend)

func (*NullableBackend) UnmarshalJSON

func (v *NullableBackend) UnmarshalJSON(src []byte) error

func (*NullableBackend) Unset

func (v *NullableBackend) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateKeyPayload

type NullableCreateKeyPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateKeyPayload

func NewNullableCreateKeyPayload(val *CreateKeyPayload) *NullableCreateKeyPayload

func (NullableCreateKeyPayload) Get

func (NullableCreateKeyPayload) IsSet

func (v NullableCreateKeyPayload) IsSet() bool

func (NullableCreateKeyPayload) MarshalJSON

func (v NullableCreateKeyPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateKeyPayload) Set

func (*NullableCreateKeyPayload) UnmarshalJSON

func (v *NullableCreateKeyPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateKeyPayload) Unset

func (v *NullableCreateKeyPayload) Unset()

type NullableCreateKeyRingPayload

type NullableCreateKeyRingPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateKeyRingPayload

func NewNullableCreateKeyRingPayload(val *CreateKeyRingPayload) *NullableCreateKeyRingPayload

func (NullableCreateKeyRingPayload) Get

func (NullableCreateKeyRingPayload) IsSet

func (NullableCreateKeyRingPayload) MarshalJSON

func (v NullableCreateKeyRingPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateKeyRingPayload) Set

func (*NullableCreateKeyRingPayload) UnmarshalJSON

func (v *NullableCreateKeyRingPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateKeyRingPayload) Unset

func (v *NullableCreateKeyRingPayload) Unset()

type NullableCreateWrappingKeyPayload

type NullableCreateWrappingKeyPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateWrappingKeyPayload) Get

func (NullableCreateWrappingKeyPayload) IsSet

func (NullableCreateWrappingKeyPayload) MarshalJSON

func (v NullableCreateWrappingKeyPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateWrappingKeyPayload) Set

func (*NullableCreateWrappingKeyPayload) UnmarshalJSON

func (v *NullableCreateWrappingKeyPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateWrappingKeyPayload) Unset

type NullableDecryptPayload

type NullableDecryptPayload struct {
	// contains filtered or unexported fields
}

func NewNullableDecryptPayload

func NewNullableDecryptPayload(val *DecryptPayload) *NullableDecryptPayload

func (NullableDecryptPayload) Get

func (NullableDecryptPayload) IsSet

func (v NullableDecryptPayload) IsSet() bool

func (NullableDecryptPayload) MarshalJSON

func (v NullableDecryptPayload) MarshalJSON() ([]byte, error)

func (*NullableDecryptPayload) Set

func (*NullableDecryptPayload) UnmarshalJSON

func (v *NullableDecryptPayload) UnmarshalJSON(src []byte) error

func (*NullableDecryptPayload) Unset

func (v *NullableDecryptPayload) Unset()

type NullableDecryptedData

type NullableDecryptedData struct {
	// contains filtered or unexported fields
}

func NewNullableDecryptedData

func NewNullableDecryptedData(val *DecryptedData) *NullableDecryptedData

func (NullableDecryptedData) Get

func (NullableDecryptedData) IsSet

func (v NullableDecryptedData) IsSet() bool

func (NullableDecryptedData) MarshalJSON

func (v NullableDecryptedData) MarshalJSON() ([]byte, error)

func (*NullableDecryptedData) Set

func (v *NullableDecryptedData) Set(val *DecryptedData)

func (*NullableDecryptedData) UnmarshalJSON

func (v *NullableDecryptedData) UnmarshalJSON(src []byte) error

func (*NullableDecryptedData) Unset

func (v *NullableDecryptedData) Unset()

type NullableEncryptPayload

type NullableEncryptPayload struct {
	// contains filtered or unexported fields
}

func NewNullableEncryptPayload

func NewNullableEncryptPayload(val *EncryptPayload) *NullableEncryptPayload

func (NullableEncryptPayload) Get

func (NullableEncryptPayload) IsSet

func (v NullableEncryptPayload) IsSet() bool

func (NullableEncryptPayload) MarshalJSON

func (v NullableEncryptPayload) MarshalJSON() ([]byte, error)

func (*NullableEncryptPayload) Set

func (*NullableEncryptPayload) UnmarshalJSON

func (v *NullableEncryptPayload) UnmarshalJSON(src []byte) error

func (*NullableEncryptPayload) Unset

func (v *NullableEncryptPayload) Unset()

type NullableEncryptedData

type NullableEncryptedData struct {
	// contains filtered or unexported fields
}

func NewNullableEncryptedData

func NewNullableEncryptedData(val *EncryptedData) *NullableEncryptedData

func (NullableEncryptedData) Get

func (NullableEncryptedData) IsSet

func (v NullableEncryptedData) IsSet() bool

func (NullableEncryptedData) MarshalJSON

func (v NullableEncryptedData) MarshalJSON() ([]byte, error)

func (*NullableEncryptedData) Set

func (v *NullableEncryptedData) Set(val *EncryptedData)

func (*NullableEncryptedData) UnmarshalJSON

func (v *NullableEncryptedData) UnmarshalJSON(src []byte) error

func (*NullableEncryptedData) Unset

func (v *NullableEncryptedData) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHttpError

type NullableHttpError struct {
	// contains filtered or unexported fields
}

func NewNullableHttpError

func NewNullableHttpError(val *HttpError) *NullableHttpError

func (NullableHttpError) Get

func (v NullableHttpError) Get() *HttpError

func (NullableHttpError) IsSet

func (v NullableHttpError) IsSet() bool

func (NullableHttpError) MarshalJSON

func (v NullableHttpError) MarshalJSON() ([]byte, error)

func (*NullableHttpError) Set

func (v *NullableHttpError) Set(val *HttpError)

func (*NullableHttpError) UnmarshalJSON

func (v *NullableHttpError) UnmarshalJSON(src []byte) error

func (*NullableHttpError) Unset

func (v *NullableHttpError) Unset()

type NullableImportKeyPayload

type NullableImportKeyPayload struct {
	// contains filtered or unexported fields
}

func NewNullableImportKeyPayload

func NewNullableImportKeyPayload(val *ImportKeyPayload) *NullableImportKeyPayload

func (NullableImportKeyPayload) Get

func (NullableImportKeyPayload) IsSet

func (v NullableImportKeyPayload) IsSet() bool

func (NullableImportKeyPayload) MarshalJSON

func (v NullableImportKeyPayload) MarshalJSON() ([]byte, error)

func (*NullableImportKeyPayload) Set

func (*NullableImportKeyPayload) UnmarshalJSON

func (v *NullableImportKeyPayload) UnmarshalJSON(src []byte) error

func (*NullableImportKeyPayload) Unset

func (v *NullableImportKeyPayload) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableKey

type NullableKey struct {
	// contains filtered or unexported fields
}

func NewNullableKey

func NewNullableKey(val *Key) *NullableKey

func (NullableKey) Get

func (v NullableKey) Get() *Key

func (NullableKey) IsSet

func (v NullableKey) IsSet() bool

func (NullableKey) MarshalJSON

func (v NullableKey) MarshalJSON() ([]byte, error)

func (*NullableKey) Set

func (v *NullableKey) Set(val *Key)

func (*NullableKey) UnmarshalJSON

func (v *NullableKey) UnmarshalJSON(src []byte) error

func (*NullableKey) Unset

func (v *NullableKey) Unset()

type NullableKeyList

type NullableKeyList struct {
	// contains filtered or unexported fields
}

func NewNullableKeyList

func NewNullableKeyList(val *KeyList) *NullableKeyList

func (NullableKeyList) Get

func (v NullableKeyList) Get() *KeyList

func (NullableKeyList) IsSet

func (v NullableKeyList) IsSet() bool

func (NullableKeyList) MarshalJSON

func (v NullableKeyList) MarshalJSON() ([]byte, error)

func (*NullableKeyList) Set

func (v *NullableKeyList) Set(val *KeyList)

func (*NullableKeyList) UnmarshalJSON

func (v *NullableKeyList) UnmarshalJSON(src []byte) error

func (*NullableKeyList) Unset

func (v *NullableKeyList) Unset()

type NullableKeyRing

type NullableKeyRing struct {
	// contains filtered or unexported fields
}

func NewNullableKeyRing

func NewNullableKeyRing(val *KeyRing) *NullableKeyRing

func (NullableKeyRing) Get

func (v NullableKeyRing) Get() *KeyRing

func (NullableKeyRing) IsSet

func (v NullableKeyRing) IsSet() bool

func (NullableKeyRing) MarshalJSON

func (v NullableKeyRing) MarshalJSON() ([]byte, error)

func (*NullableKeyRing) Set

func (v *NullableKeyRing) Set(val *KeyRing)

func (*NullableKeyRing) UnmarshalJSON

func (v *NullableKeyRing) UnmarshalJSON(src []byte) error

func (*NullableKeyRing) Unset

func (v *NullableKeyRing) Unset()

type NullableKeyRingList

type NullableKeyRingList struct {
	// contains filtered or unexported fields
}

func NewNullableKeyRingList

func NewNullableKeyRingList(val *KeyRingList) *NullableKeyRingList

func (NullableKeyRingList) Get

func (NullableKeyRingList) IsSet

func (v NullableKeyRingList) IsSet() bool

func (NullableKeyRingList) MarshalJSON

func (v NullableKeyRingList) MarshalJSON() ([]byte, error)

func (*NullableKeyRingList) Set

func (v *NullableKeyRingList) Set(val *KeyRingList)

func (*NullableKeyRingList) UnmarshalJSON

func (v *NullableKeyRingList) UnmarshalJSON(src []byte) error

func (*NullableKeyRingList) Unset

func (v *NullableKeyRingList) Unset()

type NullableProtection

type NullableProtection struct {
	// contains filtered or unexported fields
}

func NewNullableProtection

func NewNullableProtection(val *Protection) *NullableProtection

func (NullableProtection) Get

func (v NullableProtection) Get() *Protection

func (NullableProtection) IsSet

func (v NullableProtection) IsSet() bool

func (NullableProtection) MarshalJSON

func (v NullableProtection) MarshalJSON() ([]byte, error)

func (*NullableProtection) Set

func (v *NullableProtection) Set(val *Protection)

func (*NullableProtection) UnmarshalJSON

func (v *NullableProtection) UnmarshalJSON(src []byte) error

func (*NullableProtection) Unset

func (v *NullableProtection) Unset()

type NullablePurpose

type NullablePurpose struct {
	// contains filtered or unexported fields
}

func NewNullablePurpose

func NewNullablePurpose(val *Purpose) *NullablePurpose

func (NullablePurpose) Get

func (v NullablePurpose) Get() *Purpose

func (NullablePurpose) IsSet

func (v NullablePurpose) IsSet() bool

func (NullablePurpose) MarshalJSON

func (v NullablePurpose) MarshalJSON() ([]byte, error)

func (*NullablePurpose) Set

func (v *NullablePurpose) Set(val *Purpose)

func (*NullablePurpose) UnmarshalJSON

func (v *NullablePurpose) UnmarshalJSON(src []byte) error

func (*NullablePurpose) Unset

func (v *NullablePurpose) Unset()

type NullableSignPayload

type NullableSignPayload struct {
	// contains filtered or unexported fields
}

func NewNullableSignPayload

func NewNullableSignPayload(val *SignPayload) *NullableSignPayload

func (NullableSignPayload) Get

func (NullableSignPayload) IsSet

func (v NullableSignPayload) IsSet() bool

func (NullableSignPayload) MarshalJSON

func (v NullableSignPayload) MarshalJSON() ([]byte, error)

func (*NullableSignPayload) Set

func (v *NullableSignPayload) Set(val *SignPayload)

func (*NullableSignPayload) UnmarshalJSON

func (v *NullableSignPayload) UnmarshalJSON(src []byte) error

func (*NullableSignPayload) Unset

func (v *NullableSignPayload) Unset()

type NullableSignedData

type NullableSignedData struct {
	// contains filtered or unexported fields
}

func NewNullableSignedData

func NewNullableSignedData(val *SignedData) *NullableSignedData

func (NullableSignedData) Get

func (v NullableSignedData) Get() *SignedData

func (NullableSignedData) IsSet

func (v NullableSignedData) IsSet() bool

func (NullableSignedData) MarshalJSON

func (v NullableSignedData) MarshalJSON() ([]byte, error)

func (*NullableSignedData) Set

func (v *NullableSignedData) Set(val *SignedData)

func (*NullableSignedData) UnmarshalJSON

func (v *NullableSignedData) UnmarshalJSON(src []byte) error

func (*NullableSignedData) Unset

func (v *NullableSignedData) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableVerifiedData

type NullableVerifiedData struct {
	// contains filtered or unexported fields
}

func NewNullableVerifiedData

func NewNullableVerifiedData(val *VerifiedData) *NullableVerifiedData

func (NullableVerifiedData) Get

func (NullableVerifiedData) IsSet

func (v NullableVerifiedData) IsSet() bool

func (NullableVerifiedData) MarshalJSON

func (v NullableVerifiedData) MarshalJSON() ([]byte, error)

func (*NullableVerifiedData) Set

func (v *NullableVerifiedData) Set(val *VerifiedData)

func (*NullableVerifiedData) UnmarshalJSON

func (v *NullableVerifiedData) UnmarshalJSON(src []byte) error

func (*NullableVerifiedData) Unset

func (v *NullableVerifiedData) Unset()

type NullableVerifyPayload

type NullableVerifyPayload struct {
	// contains filtered or unexported fields
}

func NewNullableVerifyPayload

func NewNullableVerifyPayload(val *VerifyPayload) *NullableVerifyPayload

func (NullableVerifyPayload) Get

func (NullableVerifyPayload) IsSet

func (v NullableVerifyPayload) IsSet() bool

func (NullableVerifyPayload) MarshalJSON

func (v NullableVerifyPayload) MarshalJSON() ([]byte, error)

func (*NullableVerifyPayload) Set

func (v *NullableVerifyPayload) Set(val *VerifyPayload)

func (*NullableVerifyPayload) UnmarshalJSON

func (v *NullableVerifyPayload) UnmarshalJSON(src []byte) error

func (*NullableVerifyPayload) Unset

func (v *NullableVerifyPayload) Unset()

type NullableVersion

type NullableVersion struct {
	// contains filtered or unexported fields
}

func NewNullableVersion

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON

func (v NullableVersion) MarshalJSON() ([]byte, error)

func (*NullableVersion) Set

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON

func (v *NullableVersion) UnmarshalJSON(src []byte) error

func (*NullableVersion) Unset

func (v *NullableVersion) Unset()

type NullableVersionList

type NullableVersionList struct {
	// contains filtered or unexported fields
}

func NewNullableVersionList

func NewNullableVersionList(val *VersionList) *NullableVersionList

func (NullableVersionList) Get

func (NullableVersionList) IsSet

func (v NullableVersionList) IsSet() bool

func (NullableVersionList) MarshalJSON

func (v NullableVersionList) MarshalJSON() ([]byte, error)

func (*NullableVersionList) Set

func (v *NullableVersionList) Set(val *VersionList)

func (*NullableVersionList) UnmarshalJSON

func (v *NullableVersionList) UnmarshalJSON(src []byte) error

func (*NullableVersionList) Unset

func (v *NullableVersionList) Unset()

type NullableWrappingAlgorithm

type NullableWrappingAlgorithm struct {
	// contains filtered or unexported fields
}

func NewNullableWrappingAlgorithm

func NewNullableWrappingAlgorithm(val *WrappingAlgorithm) *NullableWrappingAlgorithm

func (NullableWrappingAlgorithm) Get

func (NullableWrappingAlgorithm) IsSet

func (v NullableWrappingAlgorithm) IsSet() bool

func (NullableWrappingAlgorithm) MarshalJSON

func (v NullableWrappingAlgorithm) MarshalJSON() ([]byte, error)

func (*NullableWrappingAlgorithm) Set

func (*NullableWrappingAlgorithm) UnmarshalJSON

func (v *NullableWrappingAlgorithm) UnmarshalJSON(src []byte) error

func (*NullableWrappingAlgorithm) Unset

func (v *NullableWrappingAlgorithm) Unset()

type NullableWrappingKey

type NullableWrappingKey struct {
	// contains filtered or unexported fields
}

func NewNullableWrappingKey

func NewNullableWrappingKey(val *WrappingKey) *NullableWrappingKey

func (NullableWrappingKey) Get

func (NullableWrappingKey) IsSet

func (v NullableWrappingKey) IsSet() bool

func (NullableWrappingKey) MarshalJSON

func (v NullableWrappingKey) MarshalJSON() ([]byte, error)

func (*NullableWrappingKey) Set

func (v *NullableWrappingKey) Set(val *WrappingKey)

func (*NullableWrappingKey) UnmarshalJSON

func (v *NullableWrappingKey) UnmarshalJSON(src []byte) error

func (*NullableWrappingKey) Unset

func (v *NullableWrappingKey) Unset()

type NullableWrappingKeyList

type NullableWrappingKeyList struct {
	// contains filtered or unexported fields
}

func NewNullableWrappingKeyList

func NewNullableWrappingKeyList(val *WrappingKeyList) *NullableWrappingKeyList

func (NullableWrappingKeyList) Get

func (NullableWrappingKeyList) IsSet

func (v NullableWrappingKeyList) IsSet() bool

func (NullableWrappingKeyList) MarshalJSON

func (v NullableWrappingKeyList) MarshalJSON() ([]byte, error)

func (*NullableWrappingKeyList) Set

func (*NullableWrappingKeyList) UnmarshalJSON

func (v *NullableWrappingKeyList) UnmarshalJSON(src []byte) error

func (*NullableWrappingKeyList) Unset

func (v *NullableWrappingKeyList) Unset()

type NullableWrappingPurpose

type NullableWrappingPurpose struct {
	// contains filtered or unexported fields
}

func NewNullableWrappingPurpose

func NewNullableWrappingPurpose(val *WrappingPurpose) *NullableWrappingPurpose

func (NullableWrappingPurpose) Get

func (NullableWrappingPurpose) IsSet

func (v NullableWrappingPurpose) IsSet() bool

func (NullableWrappingPurpose) MarshalJSON

func (v NullableWrappingPurpose) MarshalJSON() ([]byte, error)

func (*NullableWrappingPurpose) Set

func (*NullableWrappingPurpose) UnmarshalJSON

func (v *NullableWrappingPurpose) UnmarshalJSON(src []byte) error

func (*NullableWrappingPurpose) Unset

func (v *NullableWrappingPurpose) Unset()

type Protection

type Protection string

Protection The underlying system that is responsible for protecting the key material. Overrides the deprecated 'backend' field.

const (
	PROTECTION_SOFTWARE Protection = "software"
)

List of protection

func NewProtectionFromValue

func NewProtectionFromValue(v string) (*Protection, error)

NewProtectionFromValue returns a pointer to a valid Protection for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Protection) IsValid

func (v Protection) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Protection) Ptr

func (v Protection) Ptr() *Protection

Ptr returns reference to protection value

func (*Protection) UnmarshalJSON

func (v *Protection) UnmarshalJSON(src []byte) error

type Purpose

type Purpose string

Purpose The purpose of the key.

const (
	PURPOSE_SYMMETRIC_ENCRYPT_DECRYPT   Purpose = "symmetric_encrypt_decrypt"
	PURPOSE_ASYMMETRIC_ENCRYPT_DECRYPT  Purpose = "asymmetric_encrypt_decrypt"
	PURPOSE_MESSAGE_AUTHENTICATION_CODE Purpose = "message_authentication_code"
	PURPOSE_ASYMMETRIC_SIGN_VERIFY      Purpose = "asymmetric_sign_verify"
)

List of purpose

func NewPurposeFromValue

func NewPurposeFromValue(v string) (*Purpose, error)

NewPurposeFromValue returns a pointer to a valid Purpose for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Purpose) IsValid

func (v Purpose) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Purpose) Ptr

func (v Purpose) Ptr() *Purpose

Ptr returns reference to purpose value

func (*Purpose) UnmarshalJSON

func (v *Purpose) UnmarshalJSON(src []byte) error

type SignPayload

type SignPayload struct {
	// The data that has to be signed. Encoded in base64.
	Data string `json:"data"`
}

SignPayload struct for SignPayload

func NewSignPayload

func NewSignPayload(data string) *SignPayload

NewSignPayload instantiates a new SignPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSignPayloadWithDefaults

func NewSignPayloadWithDefaults() *SignPayload

NewSignPayloadWithDefaults instantiates a new SignPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SignPayload) GetData

func (o *SignPayload) GetData() string

GetData returns the Data field value

func (*SignPayload) GetDataOk

func (o *SignPayload) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SignPayload) MarshalJSON

func (o SignPayload) MarshalJSON() ([]byte, error)

func (*SignPayload) SetData

func (o *SignPayload) SetData(v string)

SetData sets field value

func (SignPayload) ToMap

func (o SignPayload) ToMap() (map[string]interface{}, error)

func (*SignPayload) UnmarshalJSON

func (o *SignPayload) UnmarshalJSON(data []byte) (err error)

type SignedData

type SignedData struct {
	// The data that was signed. Encoded in base64.
	Data string `json:"data"`
	// The signature of the data. Encoded in base64.
	Signature string `json:"signature"`
}

SignedData struct for SignedData

func NewSignedData

func NewSignedData(data string, signature string) *SignedData

NewSignedData instantiates a new SignedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSignedDataWithDefaults

func NewSignedDataWithDefaults() *SignedData

NewSignedDataWithDefaults instantiates a new SignedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SignedData) GetData

func (o *SignedData) GetData() string

GetData returns the Data field value

func (*SignedData) GetDataOk

func (o *SignedData) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SignedData) GetSignature

func (o *SignedData) GetSignature() string

GetSignature returns the Signature field value

func (*SignedData) GetSignatureOk

func (o *SignedData) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.

func (SignedData) MarshalJSON

func (o SignedData) MarshalJSON() ([]byte, error)

func (*SignedData) SetData

func (o *SignedData) SetData(v string)

SetData sets field value

func (*SignedData) SetSignature

func (o *SignedData) SetSignature(v string)

SetSignature sets field value

func (SignedData) ToMap

func (o SignedData) ToMap() (map[string]interface{}, error)

func (*SignedData) UnmarshalJSON

func (o *SignedData) UnmarshalJSON(data []byte) (err error)

type VerifiedData

type VerifiedData struct {
	// Whether or not the data has a valid signature.
	Valid bool `json:"valid"`
}

VerifiedData struct for VerifiedData

func NewVerifiedData

func NewVerifiedData(valid bool) *VerifiedData

NewVerifiedData instantiates a new VerifiedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerifiedDataWithDefaults

func NewVerifiedDataWithDefaults() *VerifiedData

NewVerifiedDataWithDefaults instantiates a new VerifiedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerifiedData) GetValid

func (o *VerifiedData) GetValid() bool

GetValid returns the Valid field value

func (*VerifiedData) GetValidOk

func (o *VerifiedData) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value and a boolean to check if the value has been set.

func (VerifiedData) MarshalJSON

func (o VerifiedData) MarshalJSON() ([]byte, error)

func (*VerifiedData) SetValid

func (o *VerifiedData) SetValid(v bool)

SetValid sets field value

func (VerifiedData) ToMap

func (o VerifiedData) ToMap() (map[string]interface{}, error)

func (*VerifiedData) UnmarshalJSON

func (o *VerifiedData) UnmarshalJSON(data []byte) (err error)

type VerifyPayload

type VerifyPayload struct {
	// The data to be verified. Encoded in base64.
	Data string `json:"data"`
	// The signature of the data. Encoded in base64.
	Signature string `json:"signature"`
}

VerifyPayload struct for VerifyPayload

func NewVerifyPayload

func NewVerifyPayload(data string, signature string) *VerifyPayload

NewVerifyPayload instantiates a new VerifyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerifyPayloadWithDefaults

func NewVerifyPayloadWithDefaults() *VerifyPayload

NewVerifyPayloadWithDefaults instantiates a new VerifyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerifyPayload) GetData

func (o *VerifyPayload) GetData() string

GetData returns the Data field value

func (*VerifyPayload) GetDataOk

func (o *VerifyPayload) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*VerifyPayload) GetSignature

func (o *VerifyPayload) GetSignature() string

GetSignature returns the Signature field value

func (*VerifyPayload) GetSignatureOk

func (o *VerifyPayload) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.

func (VerifyPayload) MarshalJSON

func (o VerifyPayload) MarshalJSON() ([]byte, error)

func (*VerifyPayload) SetData

func (o *VerifyPayload) SetData(v string)

SetData sets field value

func (*VerifyPayload) SetSignature

func (o *VerifyPayload) SetSignature(v string)

SetSignature sets field value

func (VerifyPayload) ToMap

func (o VerifyPayload) ToMap() (map[string]interface{}, error)

func (*VerifyPayload) UnmarshalJSON

func (o *VerifyPayload) UnmarshalJSON(data []byte) (err error)

type Version

type Version struct {
	// The date and time the creation of the key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// The scheduled date when a version's key material will be erased completely from the backend
	DestroyDate *time.Time `json:"destroyDate,omitempty"`
	// States whether versions is enabled or disabled.
	Disabled bool `json:"disabled"`
	// The unique id of the key this version is assigned to.
	KeyId string `json:"keyId"`
	// The unique id of the key ring the key of this version is assigned to.
	KeyRingId string `json:"keyRingId"`
	// A sequential number which identifies the key versions.
	Number int64 `json:"number"`
	// The public key of the key version. Only present in asymmetric keys.
	PublicKey *string `json:"publicKey,omitempty"`
	// The current state of the key.
	State string `json:"state"`
}

Version struct for Version

func NewVersion

func NewVersion(createdAt time.Time, disabled bool, keyId string, keyRingId string, number int64, state string) *Version

NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionWithDefaults

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Version) GetCreatedAt

func (o *Version) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Version) GetCreatedAtOk

func (o *Version) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Version) GetDestroyDate

func (o *Version) GetDestroyDate() time.Time

GetDestroyDate returns the DestroyDate field value if set, zero value otherwise.

func (*Version) GetDestroyDateOk

func (o *Version) GetDestroyDateOk() (*time.Time, bool)

GetDestroyDateOk returns a tuple with the DestroyDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Version) GetDisabled

func (o *Version) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*Version) GetDisabledOk

func (o *Version) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.

func (*Version) GetKeyId

func (o *Version) GetKeyId() string

GetKeyId returns the KeyId field value

func (*Version) GetKeyIdOk

func (o *Version) GetKeyIdOk() (*string, bool)

GetKeyIdOk returns a tuple with the KeyId field value and a boolean to check if the value has been set.

func (*Version) GetKeyRingId

func (o *Version) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*Version) GetKeyRingIdOk

func (o *Version) GetKeyRingIdOk() (*string, bool)

GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.

func (*Version) GetNumber

func (o *Version) GetNumber() int64

GetNumber returns the Number field value

func (*Version) GetNumberOk

func (o *Version) GetNumberOk() (*int64, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*Version) GetPublicKey

func (o *Version) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*Version) GetPublicKeyOk

func (o *Version) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Version) GetState

func (o *Version) GetState() string

GetState returns the State field value

func (*Version) GetStateOk

func (o *Version) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Version) HasDestroyDate

func (o *Version) HasDestroyDate() bool

HasDestroyDate returns a boolean if a field has been set.

func (*Version) HasPublicKey

func (o *Version) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (Version) MarshalJSON

func (o Version) MarshalJSON() ([]byte, error)

func (*Version) SetCreatedAt

func (o *Version) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Version) SetDestroyDate

func (o *Version) SetDestroyDate(v time.Time)

SetDestroyDate gets a reference to the given time.Time and assigns it to the DestroyDate field.

func (*Version) SetDisabled

func (o *Version) SetDisabled(v bool)

SetDisabled sets field value

func (*Version) SetKeyId

func (o *Version) SetKeyId(v string)

SetKeyId sets field value

func (*Version) SetKeyRingId

func (o *Version) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*Version) SetNumber

func (o *Version) SetNumber(v int64)

SetNumber sets field value

func (*Version) SetPublicKey

func (o *Version) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*Version) SetState

func (o *Version) SetState(v string)

SetState sets field value

func (Version) ToMap

func (o Version) ToMap() (map[string]interface{}, error)

func (*Version) UnmarshalJSON

func (o *Version) UnmarshalJSON(data []byte) (err error)

type VersionList

type VersionList struct {
	Versions []Version `json:"versions"`
}

VersionList struct for VersionList

func NewVersionList

func NewVersionList(versions []Version) *VersionList

NewVersionList instantiates a new VersionList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionListWithDefaults

func NewVersionListWithDefaults() *VersionList

NewVersionListWithDefaults instantiates a new VersionList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionList) GetVersions

func (o *VersionList) GetVersions() []Version

GetVersions returns the Versions field value

func (*VersionList) GetVersionsOk

func (o *VersionList) GetVersionsOk() ([]Version, bool)

GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.

func (VersionList) MarshalJSON

func (o VersionList) MarshalJSON() ([]byte, error)

func (*VersionList) SetVersions

func (o *VersionList) SetVersions(v []Version)

SetVersions sets field value

func (VersionList) ToMap

func (o VersionList) ToMap() (map[string]interface{}, error)

func (*VersionList) UnmarshalJSON

func (o *VersionList) UnmarshalJSON(data []byte) (err error)

type WrappingAlgorithm

type WrappingAlgorithm string

WrappingAlgorithm The wrapping algorithm used to wrap the key to import.

const (
	WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256                  WrappingAlgorithm = "rsa_2048_oaep_sha256"
	WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256                  WrappingAlgorithm = "rsa_3072_oaep_sha256"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256                  WrappingAlgorithm = "rsa_4096_oaep_sha256"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512                  WrappingAlgorithm = "rsa_4096_oaep_sha512"
	WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_2048_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_3072_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha512_aes_256_key_wrap"
)

List of wrappingAlgorithm

func NewWrappingAlgorithmFromValue

func NewWrappingAlgorithmFromValue(v string) (*WrappingAlgorithm, error)

NewWrappingAlgorithmFromValue returns a pointer to a valid WrappingAlgorithm for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WrappingAlgorithm) IsValid

func (v WrappingAlgorithm) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WrappingAlgorithm) Ptr

Ptr returns reference to wrappingAlgorithm value

func (*WrappingAlgorithm) UnmarshalJSON

func (v *WrappingAlgorithm) UnmarshalJSON(src []byte) error

type WrappingKey

type WrappingKey struct {
	AccessScope AccessScope       `json:"access_scope"`
	Algorithm   WrappingAlgorithm `json:"algorithm"`
	// Deprecated
	Backend Backend `json:"backend"`
	// The date and time the creation of the wrapping key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys.
	DisplayName string `json:"displayName"`
	// The date and time the wrapping key will expire.
	ExpiresAt time.Time `json:"expiresAt"`
	// A auto generated unique id which identifies the wrapping keys.
	Id string `json:"id"`
	// The unique id of the key ring this wrapping key is assigned to.
	KeyRingId  string     `json:"keyRingId"`
	Protection Protection `json:"protection"`
	// The public key of the wrapping key.
	PublicKey *string         `json:"publicKey,omitempty"`
	Purpose   WrappingPurpose `json:"purpose"`
	// The current state of the wrapping key.
	State string `json:"state"`
}

WrappingKey struct for WrappingKey

func NewWrappingKey

func NewWrappingKey(accessScope AccessScope, algorithm WrappingAlgorithm, backend Backend, createdAt time.Time, displayName string, expiresAt time.Time, id string, keyRingId string, protection Protection, purpose WrappingPurpose, state string) *WrappingKey

NewWrappingKey instantiates a new WrappingKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWrappingKeyWithDefaults

func NewWrappingKeyWithDefaults() *WrappingKey

NewWrappingKeyWithDefaults instantiates a new WrappingKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WrappingKey) GetAccessScope

func (o *WrappingKey) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value

func (*WrappingKey) GetAccessScopeOk

func (o *WrappingKey) GetAccessScopeOk() (*AccessScope, bool)

GetAccessScopeOk returns a tuple with the AccessScope field value and a boolean to check if the value has been set.

func (*WrappingKey) GetAlgorithm

func (o *WrappingKey) GetAlgorithm() WrappingAlgorithm

GetAlgorithm returns the Algorithm field value

func (*WrappingKey) GetAlgorithmOk

func (o *WrappingKey) GetAlgorithmOk() (*WrappingAlgorithm, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.

func (*WrappingKey) GetBackend

func (o *WrappingKey) GetBackend() Backend

GetBackend returns the Backend field value Deprecated

func (*WrappingKey) GetBackendOk

func (o *WrappingKey) GetBackendOk() (*Backend, bool)

GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated

func (*WrappingKey) GetCreatedAt

func (o *WrappingKey) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*WrappingKey) GetCreatedAtOk

func (o *WrappingKey) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WrappingKey) GetDescription

func (o *WrappingKey) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WrappingKey) GetDescriptionOk

func (o *WrappingKey) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WrappingKey) GetDisplayName

func (o *WrappingKey) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*WrappingKey) GetDisplayNameOk

func (o *WrappingKey) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*WrappingKey) GetExpiresAt

func (o *WrappingKey) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*WrappingKey) GetExpiresAtOk

func (o *WrappingKey) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*WrappingKey) GetId

func (o *WrappingKey) GetId() string

GetId returns the Id field value

func (*WrappingKey) GetIdOk

func (o *WrappingKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WrappingKey) GetKeyRingId

func (o *WrappingKey) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*WrappingKey) GetKeyRingIdOk

func (o *WrappingKey) GetKeyRingIdOk() (*string, bool)

GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.

func (*WrappingKey) GetProtection

func (o *WrappingKey) GetProtection() Protection

GetProtection returns the Protection field value

func (*WrappingKey) GetProtectionOk

func (o *WrappingKey) GetProtectionOk() (*Protection, bool)

GetProtectionOk returns a tuple with the Protection field value and a boolean to check if the value has been set.

func (*WrappingKey) GetPublicKey

func (o *WrappingKey) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*WrappingKey) GetPublicKeyOk

func (o *WrappingKey) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WrappingKey) GetPurpose

func (o *WrappingKey) GetPurpose() WrappingPurpose

GetPurpose returns the Purpose field value

func (*WrappingKey) GetPurposeOk

func (o *WrappingKey) GetPurposeOk() (*WrappingPurpose, bool)

GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.

func (*WrappingKey) GetState

func (o *WrappingKey) GetState() string

GetState returns the State field value

func (*WrappingKey) GetStateOk

func (o *WrappingKey) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*WrappingKey) HasDescription

func (o *WrappingKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WrappingKey) HasPublicKey

func (o *WrappingKey) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (WrappingKey) MarshalJSON

func (o WrappingKey) MarshalJSON() ([]byte, error)

func (*WrappingKey) SetAccessScope

func (o *WrappingKey) SetAccessScope(v AccessScope)

SetAccessScope sets field value

func (*WrappingKey) SetAlgorithm

func (o *WrappingKey) SetAlgorithm(v WrappingAlgorithm)

SetAlgorithm sets field value

func (*WrappingKey) SetBackend

func (o *WrappingKey) SetBackend(v Backend)

SetBackend sets field value Deprecated

func (*WrappingKey) SetCreatedAt

func (o *WrappingKey) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WrappingKey) SetDescription

func (o *WrappingKey) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WrappingKey) SetDisplayName

func (o *WrappingKey) SetDisplayName(v string)

SetDisplayName sets field value

func (*WrappingKey) SetExpiresAt

func (o *WrappingKey) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*WrappingKey) SetId

func (o *WrappingKey) SetId(v string)

SetId sets field value

func (*WrappingKey) SetKeyRingId

func (o *WrappingKey) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*WrappingKey) SetProtection

func (o *WrappingKey) SetProtection(v Protection)

SetProtection sets field value

func (*WrappingKey) SetPublicKey

func (o *WrappingKey) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*WrappingKey) SetPurpose

func (o *WrappingKey) SetPurpose(v WrappingPurpose)

SetPurpose sets field value

func (*WrappingKey) SetState

func (o *WrappingKey) SetState(v string)

SetState sets field value

func (WrappingKey) ToMap

func (o WrappingKey) ToMap() (map[string]interface{}, error)

func (*WrappingKey) UnmarshalJSON

func (o *WrappingKey) UnmarshalJSON(data []byte) (err error)

type WrappingKeyList

type WrappingKeyList struct {
	WrappingKeys []WrappingKey `json:"wrappingKeys"`
}

WrappingKeyList struct for WrappingKeyList

func NewWrappingKeyList

func NewWrappingKeyList(wrappingKeys []WrappingKey) *WrappingKeyList

NewWrappingKeyList instantiates a new WrappingKeyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWrappingKeyListWithDefaults

func NewWrappingKeyListWithDefaults() *WrappingKeyList

NewWrappingKeyListWithDefaults instantiates a new WrappingKeyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WrappingKeyList) GetWrappingKeys

func (o *WrappingKeyList) GetWrappingKeys() []WrappingKey

GetWrappingKeys returns the WrappingKeys field value

func (*WrappingKeyList) GetWrappingKeysOk

func (o *WrappingKeyList) GetWrappingKeysOk() ([]WrappingKey, bool)

GetWrappingKeysOk returns a tuple with the WrappingKeys field value and a boolean to check if the value has been set.

func (WrappingKeyList) MarshalJSON

func (o WrappingKeyList) MarshalJSON() ([]byte, error)

func (*WrappingKeyList) SetWrappingKeys

func (o *WrappingKeyList) SetWrappingKeys(v []WrappingKey)

SetWrappingKeys sets field value

func (WrappingKeyList) ToMap

func (o WrappingKeyList) ToMap() (map[string]interface{}, error)

func (*WrappingKeyList) UnmarshalJSON

func (o *WrappingKeyList) UnmarshalJSON(data []byte) (err error)

type WrappingPurpose

type WrappingPurpose string

WrappingPurpose The wrapping purpose for the wrapping key.

const (
	WRAPPINGPURPOSE_WRAP_SYMMETRIC_KEY  WrappingPurpose = "wrap_symmetric_key"
	WRAPPINGPURPOSE_WRAP_ASYMMETRIC_KEY WrappingPurpose = "wrap_asymmetric_key"
)

List of wrappingPurpose

func NewWrappingPurposeFromValue

func NewWrappingPurposeFromValue(v string) (*WrappingPurpose, error)

NewWrappingPurposeFromValue returns a pointer to a valid WrappingPurpose for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WrappingPurpose) IsValid

func (v WrappingPurpose) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WrappingPurpose) Ptr

Ptr returns reference to wrappingPurpose value

func (*WrappingPurpose) UnmarshalJSON

func (v *WrappingPurpose) UnmarshalJSON(src []byte) error

Jump to

Keyboard shortcuts

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