kms

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 AllowedKeyRingStateEnumValues = []KeyRingState{
	"creating",
	"active",
	"deleted",
}

All allowed values of KeyRing enum

View Source
var AllowedKeyStateEnumValues = []KeyState{
	"active",
	"deleted",
	"not_available",
	"errors_exist",
	"creating",
	"no_version",
}

All allowed values of Key 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 AllowedVersionStateEnumValues = []VersionState{
	"active",
	"creating",
	"key_material_invalid",
	"key_material_unavailable",
	"disabled",
	"destroyed",
}

All allowed values of Version 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 AllowedWrappingKeyStateEnumValues = []WrappingKeyState{
	"active",
	"creating",
	"expired",
	"deleted",
	"key_material_unavailable",
}

All allowed values of WrappingKey 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 ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

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 {
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Key Management Service API API v1.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. Optionally receives configuration options

func (*APIClient) CreateKey

func (a *APIClient) 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

func (*APIClient) CreateKeyExecute

func (a *APIClient) CreateKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*Key, error)

func (*APIClient) CreateKeyRing

func (a *APIClient) 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

func (*APIClient) CreateKeyRingExecute

func (a *APIClient) CreateKeyRingExecute(ctx context.Context, projectId string, regionId string) (*KeyRing, error)

func (*APIClient) CreateWrappingKey

func (a *APIClient) 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

func (*APIClient) CreateWrappingKeyExecute

func (a *APIClient) CreateWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*WrappingKey, error)

func (*APIClient) Decrypt

func (a *APIClient) 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

func (*APIClient) DecryptExecute

func (a *APIClient) DecryptExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*DecryptedData, error)

func (*APIClient) DeleteKey

func (a *APIClient) 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

func (*APIClient) DeleteKeyExecute

func (a *APIClient) DeleteKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) error

func (*APIClient) DeleteKeyRing

func (a *APIClient) 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

func (*APIClient) DeleteKeyRingExecute

func (a *APIClient) DeleteKeyRingExecute(ctx context.Context, projectId string, regionId string, keyRingId string) error

func (*APIClient) DeleteWrappingKey added in v0.3.0

func (a *APIClient) 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

func (*APIClient) DeleteWrappingKeyExecute added in v0.3.0

func (a *APIClient) DeleteWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) error

func (*APIClient) DestroyVersion

func (a *APIClient) 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

func (*APIClient) DestroyVersionExecute

func (a *APIClient) DestroyVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) error

func (*APIClient) DisableVersion

func (a *APIClient) 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

func (*APIClient) DisableVersionExecute

func (a *APIClient) DisableVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) error

func (*APIClient) EnableVersion

func (a *APIClient) 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

func (*APIClient) EnableVersionExecute

func (a *APIClient) EnableVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) error

func (*APIClient) Encrypt

func (a *APIClient) 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

func (*APIClient) EncryptExecute

func (a *APIClient) EncryptExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*EncryptedData, error)

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

func (*APIClient) GetKey

func (a *APIClient) 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

func (*APIClient) GetKeyExecute

func (a *APIClient) GetKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*Key, error)

func (*APIClient) GetKeyRing

func (a *APIClient) 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

func (*APIClient) GetKeyRingExecute

func (a *APIClient) GetKeyRingExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*KeyRing, error)

func (*APIClient) GetVersion

func (a *APIClient) 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

func (*APIClient) GetVersionExecute

func (a *APIClient) GetVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*Version, error)

func (*APIClient) GetWrappingKey

func (a *APIClient) 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

func (*APIClient) GetWrappingKeyExecute

func (a *APIClient) GetWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) (*WrappingKey, error)

func (*APIClient) ImportKey

func (a *APIClient) 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

func (*APIClient) ImportKeyExecute

func (a *APIClient) ImportKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*Version, error)

func (*APIClient) ListKeyRings

func (a *APIClient) 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

func (*APIClient) ListKeyRingsExecute

func (a *APIClient) ListKeyRingsExecute(ctx context.Context, projectId string, regionId string) (*KeyRingList, error)

func (*APIClient) ListKeys

func (a *APIClient) 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

func (*APIClient) ListKeysExecute

func (a *APIClient) ListKeysExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*KeyList, error)

func (*APIClient) ListVersions

func (a *APIClient) 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

func (*APIClient) ListVersionsExecute

func (a *APIClient) ListVersionsExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*VersionList, error)

func (*APIClient) ListWrappingKeys

func (a *APIClient) 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

func (*APIClient) ListWrappingKeysExecute

func (a *APIClient) ListWrappingKeysExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*WrappingKeyList, error)

func (*APIClient) RestoreKey

func (a *APIClient) 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

func (*APIClient) RestoreKeyExecute

func (a *APIClient) RestoreKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) error

func (*APIClient) RestoreVersion

func (a *APIClient) 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

func (*APIClient) RestoreVersionExecute

func (a *APIClient) RestoreVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) error

func (*APIClient) RotateKey

func (a *APIClient) 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

func (*APIClient) RotateKeyExecute

func (a *APIClient) RotateKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*Version, error)

func (*APIClient) Sign

func (a *APIClient) 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

func (*APIClient) SignExecute

func (a *APIClient) SignExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*SignedData, error)

func (*APIClient) Verify

func (a *APIClient) 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

func (*APIClient) VerifyExecute

func (a *APIClient) VerifyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*VerifiedData, error)

type AccessScope added in v1.0.0

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 added in v1.0.0

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 added in v1.0.0

func (v AccessScope) IsValid() bool

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

func (AccessScope) Ptr added in v1.0.0

func (v AccessScope) Ptr() *AccessScope

Ptr returns reference to access_scope value

func (*AccessScope) UnmarshalJSON added in v1.0.0

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 interface {
	CreateKeyPayload(createKeyPayload CreateKeyPayload) ApiCreateKeyRequest
	Execute() (*Key, error)
}

type ApiCreateKeyRingRequest

type ApiCreateKeyRingRequest interface {
	CreateKeyRingPayload(createKeyRingPayload CreateKeyRingPayload) ApiCreateKeyRingRequest
	Execute() (*KeyRing, error)
}

type ApiCreateWrappingKeyRequest

type ApiCreateWrappingKeyRequest interface {
	CreateWrappingKeyPayload(createWrappingKeyPayload CreateWrappingKeyPayload) ApiCreateWrappingKeyRequest
	Execute() (*WrappingKey, error)
}

type ApiDecryptRequest

type ApiDecryptRequest interface {
	DecryptPayload(decryptPayload DecryptPayload) ApiDecryptRequest
	Execute() (*DecryptedData, error)
}

type ApiDeleteKeyRequest

type ApiDeleteKeyRequest interface {
	Execute() error
}

type ApiDeleteKeyRingRequest

type ApiDeleteKeyRingRequest interface {
	Execute() error
}

type ApiDeleteWrappingKeyRequest added in v0.3.0

type ApiDeleteWrappingKeyRequest interface {
	Execute() error
}

type ApiDestroyVersionRequest

type ApiDestroyVersionRequest interface {
	Execute() error
}

type ApiDisableVersionRequest

type ApiDisableVersionRequest interface {
	Execute() error
}

type ApiEnableVersionRequest

type ApiEnableVersionRequest interface {
	Execute() error
}

type ApiEncryptRequest

type ApiEncryptRequest interface {
	EncryptPayload(encryptPayload EncryptPayload) ApiEncryptRequest
	Execute() (*EncryptedData, error)
}

type ApiGetKeyRequest

type ApiGetKeyRequest interface {
	Execute() (*Key, error)
}

type ApiGetKeyRingRequest

type ApiGetKeyRingRequest interface {
	Execute() (*KeyRing, error)
}

type ApiGetVersionRequest

type ApiGetVersionRequest interface {
	Execute() (*Version, error)
}

type ApiGetWrappingKeyRequest

type ApiGetWrappingKeyRequest interface {
	Execute() (*WrappingKey, error)
}

type ApiImportKeyRequest

type ApiImportKeyRequest interface {
	ImportKeyPayload(importKeyPayload ImportKeyPayload) ApiImportKeyRequest
	Execute() (*Version, error)
}

type ApiListKeyRingsRequest

type ApiListKeyRingsRequest interface {
	Execute() (*KeyRingList, error)
}

type ApiListKeysRequest

type ApiListKeysRequest interface {
	Execute() (*KeyList, error)
}

type ApiListVersionsRequest

type ApiListVersionsRequest interface {
	Execute() (*VersionList, error)
}

type ApiListWrappingKeysRequest

type ApiListWrappingKeysRequest interface {
	Execute() (*WrappingKeyList, error)
}

type ApiRestoreKeyRequest

type ApiRestoreKeyRequest interface {
	Execute() error
}

type ApiRestoreVersionRequest

type ApiRestoreVersionRequest interface {
	Execute() error
}

type ApiRotateKeyRequest

type ApiRotateKeyRequest interface {
	Execute() (*Version, error)
}

type ApiSignRequest

type ApiSignRequest interface {
	SignPayload(signPayload SignPayload) ApiSignRequest
	Execute() (*SignedData, error)
}

type ApiVerifyRequest

type ApiVerifyRequest interface {
	VerifyPayload(verifyPayload VerifyPayload) ApiVerifyRequest
	Execute() (*VerifiedData, error)
}

type CreateKeyPayload

type CreateKeyPayload struct {
	AccessScope CreateKeyPayloadGetAccessScopeAttributeType `json:"access_scope,omitempty"`
	// REQUIRED
	Algorithm CreateKeyPayloadGetAlgorithmAttributeType `json:"algorithm" required:"true"`
	// A user chosen description to distinguish multiple keys.
	Description CreateKeyPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The display name to distinguish multiple keys.
	// REQUIRED
	DisplayName CreateKeyPayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// States whether versions can be created or only imported.
	ImportOnly CreateKeyPayloadgetImportOnlyAttributeType `json:"importOnly,omitempty"`
	// REQUIRED
	Protection CreateKeyPayloadGetProtectionAttributeType `json:"protection" required:"true"`
	// REQUIRED
	Purpose CreateKeyPayloadGetPurposeAttributeType `json:"purpose" required:"true"`
}

CreateKeyPayload struct for CreateKeyPayload

func NewCreateKeyPayload

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 added in v1.0.0

func (o *CreateKeyPayload) GetAccessScope() (res CreateKeyPayloadGetAccessScopeRetType)

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

func (*CreateKeyPayload) GetAccessScopeOk added in v1.0.0

func (o *CreateKeyPayload) GetAccessScopeOk() (ret CreateKeyPayloadGetAccessScopeRetType, ok 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() (ret CreateKeyPayloadGetAlgorithmRetType)

GetAlgorithm returns the Algorithm field value

func (*CreateKeyPayload) GetAlgorithmOk

func (o *CreateKeyPayload) GetAlgorithmOk() (ret CreateKeyPayloadGetAlgorithmRetType, ok bool)

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

func (*CreateKeyPayload) GetDescription

func (o *CreateKeyPayload) GetDescription() (res CreateKeyPayloadGetDescriptionRetType)

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

func (*CreateKeyPayload) GetDescriptionOk

func (o *CreateKeyPayload) GetDescriptionOk() (ret CreateKeyPayloadGetDescriptionRetType, ok 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() (ret CreateKeyPayloadGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*CreateKeyPayload) GetDisplayNameOk

func (o *CreateKeyPayload) GetDisplayNameOk() (ret CreateKeyPayloadGetDisplayNameRetType, ok 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() (res CreateKeyPayloadgetImportOnlyRetType)

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

func (*CreateKeyPayload) GetImportOnlyOk

func (o *CreateKeyPayload) GetImportOnlyOk() (ret CreateKeyPayloadgetImportOnlyRetType, ok 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 added in v1.0.0

func (o *CreateKeyPayload) GetProtection() (ret CreateKeyPayloadGetProtectionRetType)

GetProtection returns the Protection field value

func (*CreateKeyPayload) GetProtectionOk added in v1.0.0

func (o *CreateKeyPayload) GetProtectionOk() (ret CreateKeyPayloadGetProtectionRetType, ok bool)

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

func (*CreateKeyPayload) GetPurpose

GetPurpose returns the Purpose field value

func (*CreateKeyPayload) GetPurposeOk

func (o *CreateKeyPayload) GetPurposeOk() (ret CreateKeyPayloadGetPurposeRetType, ok bool)

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

func (*CreateKeyPayload) HasAccessScope added in v1.0.0

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) SetAccessScope added in v1.0.0

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

func (*CreateKeyPayload) SetAlgorithm

SetAlgorithm sets field value

func (*CreateKeyPayload) SetDescription

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

func (*CreateKeyPayload) SetDisplayName

SetDisplayName sets field value

func (*CreateKeyPayload) SetImportOnly

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

func (*CreateKeyPayload) SetProtection added in v1.0.0

SetProtection sets field value

func (*CreateKeyPayload) SetPurpose

SetPurpose sets field value

func (CreateKeyPayload) ToMap

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

type CreateKeyPayloadGetAccessScopeArgType added in v1.0.0

type CreateKeyPayloadGetAccessScopeArgType = AccessScope

type CreateKeyPayloadGetAccessScopeAttributeType added in v1.0.0

type CreateKeyPayloadGetAccessScopeAttributeType = *AccessScope

isEnumRef

type CreateKeyPayloadGetAccessScopeRetType added in v1.0.0

type CreateKeyPayloadGetAccessScopeRetType = AccessScope

type CreateKeyPayloadGetAlgorithmArgType

type CreateKeyPayloadGetAlgorithmArgType = Algorithm

type CreateKeyPayloadGetAlgorithmAttributeType

type CreateKeyPayloadGetAlgorithmAttributeType = *Algorithm

isEnumRef

type CreateKeyPayloadGetAlgorithmRetType

type CreateKeyPayloadGetAlgorithmRetType = Algorithm

type CreateKeyPayloadGetDescriptionArgType

type CreateKeyPayloadGetDescriptionArgType = string

type CreateKeyPayloadGetDescriptionAttributeType

type CreateKeyPayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateKeyPayloadGetDescriptionRetType

type CreateKeyPayloadGetDescriptionRetType = string

type CreateKeyPayloadGetDisplayNameArgType

type CreateKeyPayloadGetDisplayNameArgType = string

type CreateKeyPayloadGetDisplayNameAttributeType

type CreateKeyPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type CreateKeyPayloadGetDisplayNameRetType

type CreateKeyPayloadGetDisplayNameRetType = string

type CreateKeyPayloadGetProtectionArgType added in v1.0.0

type CreateKeyPayloadGetProtectionArgType = Protection

type CreateKeyPayloadGetProtectionAttributeType added in v1.0.0

type CreateKeyPayloadGetProtectionAttributeType = *Protection

isEnumRef

type CreateKeyPayloadGetProtectionRetType added in v1.0.0

type CreateKeyPayloadGetProtectionRetType = Protection

type CreateKeyPayloadGetPurposeArgType

type CreateKeyPayloadGetPurposeArgType = Purpose

type CreateKeyPayloadGetPurposeAttributeType

type CreateKeyPayloadGetPurposeAttributeType = *Purpose

isEnumRef

type CreateKeyPayloadGetPurposeRetType

type CreateKeyPayloadGetPurposeRetType = Purpose

type CreateKeyPayloadgetImportOnlyArgType

type CreateKeyPayloadgetImportOnlyArgType = bool

type CreateKeyPayloadgetImportOnlyAttributeType

type CreateKeyPayloadgetImportOnlyAttributeType = *bool

isBoolean

type CreateKeyPayloadgetImportOnlyRetType

type CreateKeyPayloadgetImportOnlyRetType = bool

type CreateKeyRequest added in v0.2.0

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

func (CreateKeyRequest) CreateKeyPayload added in v0.2.0

func (r CreateKeyRequest) CreateKeyPayload(createKeyPayload CreateKeyPayload) ApiCreateKeyRequest

func (CreateKeyRequest) Execute added in v0.2.0

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

type CreateKeyRingPayload

type CreateKeyRingPayload struct {
	// A user chosen description to distinguish multiple key rings.
	Description CreateKeyRingPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The display name to distinguish multiple key rings.
	// REQUIRED
	DisplayName CreateKeyRingPayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
}

CreateKeyRingPayload struct for CreateKeyRingPayload

func NewCreateKeyRingPayload

func NewCreateKeyRingPayload(displayName CreateKeyRingPayloadGetDisplayNameArgType) *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

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

func (*CreateKeyRingPayload) GetDescriptionOk

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

GetDisplayName returns the DisplayName field value

func (*CreateKeyRingPayload) GetDisplayNameOk

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) SetDescription

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

func (*CreateKeyRingPayload) SetDisplayName

SetDisplayName sets field value

func (CreateKeyRingPayload) ToMap

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

type CreateKeyRingPayloadGetDescriptionArgType

type CreateKeyRingPayloadGetDescriptionArgType = string

type CreateKeyRingPayloadGetDescriptionAttributeType

type CreateKeyRingPayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateKeyRingPayloadGetDescriptionRetType

type CreateKeyRingPayloadGetDescriptionRetType = string

type CreateKeyRingPayloadGetDisplayNameArgType

type CreateKeyRingPayloadGetDisplayNameArgType = string

type CreateKeyRingPayloadGetDisplayNameAttributeType

type CreateKeyRingPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type CreateKeyRingPayloadGetDisplayNameRetType

type CreateKeyRingPayloadGetDisplayNameRetType = string

type CreateKeyRingRequest added in v0.2.0

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

func (CreateKeyRingRequest) CreateKeyRingPayload added in v0.2.0

func (r CreateKeyRingRequest) CreateKeyRingPayload(createKeyRingPayload CreateKeyRingPayload) ApiCreateKeyRingRequest

func (CreateKeyRingRequest) Execute added in v0.2.0

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

type CreateWrappingKeyPayload

type CreateWrappingKeyPayload struct {
	AccessScope CreateWrappingKeyPayloadGetAccessScopeAttributeType `json:"access_scope,omitempty"`
	// REQUIRED
	Algorithm CreateWrappingKeyPayloadGetAlgorithmAttributeType `json:"algorithm" required:"true"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description CreateWrappingKeyPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys.
	// REQUIRED
	DisplayName CreateWrappingKeyPayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// REQUIRED
	Protection CreateWrappingKeyPayloadGetProtectionAttributeType `json:"protection" required:"true"`
	// REQUIRED
	Purpose CreateWrappingKeyPayloadGetPurposeAttributeType `json:"purpose" required:"true"`
}

CreateWrappingKeyPayload struct for CreateWrappingKeyPayload

func NewCreateWrappingKeyPayload

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 added in v1.0.0

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

func (*CreateWrappingKeyPayload) GetAccessScopeOk added in v1.0.0

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

GetAlgorithm returns the Algorithm field value

func (*CreateWrappingKeyPayload) GetAlgorithmOk

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

func (*CreateWrappingKeyPayload) GetDescription

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

func (*CreateWrappingKeyPayload) GetDescriptionOk

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

GetDisplayName returns the DisplayName field value

func (*CreateWrappingKeyPayload) GetDisplayNameOk

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

func (*CreateWrappingKeyPayload) GetProtection added in v1.0.0

GetProtection returns the Protection field value

func (*CreateWrappingKeyPayload) GetProtectionOk added in v1.0.0

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

func (*CreateWrappingKeyPayload) GetPurpose

GetPurpose returns the Purpose field value

func (*CreateWrappingKeyPayload) GetPurposeOk

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

func (*CreateWrappingKeyPayload) HasAccessScope added in v1.0.0

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) SetAccessScope added in v1.0.0

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

func (*CreateWrappingKeyPayload) SetAlgorithm

SetAlgorithm sets field value

func (*CreateWrappingKeyPayload) SetDescription

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

func (*CreateWrappingKeyPayload) SetDisplayName

SetDisplayName sets field value

func (*CreateWrappingKeyPayload) SetProtection added in v1.0.0

SetProtection sets field value

func (*CreateWrappingKeyPayload) SetPurpose

SetPurpose sets field value

func (CreateWrappingKeyPayload) ToMap

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

type CreateWrappingKeyPayloadGetAccessScopeArgType added in v1.0.0

type CreateWrappingKeyPayloadGetAccessScopeArgType = AccessScope

type CreateWrappingKeyPayloadGetAccessScopeAttributeType added in v1.0.0

type CreateWrappingKeyPayloadGetAccessScopeAttributeType = *AccessScope

isEnumRef

type CreateWrappingKeyPayloadGetAccessScopeRetType added in v1.0.0

type CreateWrappingKeyPayloadGetAccessScopeRetType = AccessScope

type CreateWrappingKeyPayloadGetAlgorithmArgType

type CreateWrappingKeyPayloadGetAlgorithmArgType = WrappingAlgorithm

type CreateWrappingKeyPayloadGetAlgorithmAttributeType

type CreateWrappingKeyPayloadGetAlgorithmAttributeType = *WrappingAlgorithm

isEnumRef

type CreateWrappingKeyPayloadGetAlgorithmRetType

type CreateWrappingKeyPayloadGetAlgorithmRetType = WrappingAlgorithm

type CreateWrappingKeyPayloadGetDescriptionArgType

type CreateWrappingKeyPayloadGetDescriptionArgType = string

type CreateWrappingKeyPayloadGetDescriptionAttributeType

type CreateWrappingKeyPayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateWrappingKeyPayloadGetDescriptionRetType

type CreateWrappingKeyPayloadGetDescriptionRetType = string

type CreateWrappingKeyPayloadGetDisplayNameArgType

type CreateWrappingKeyPayloadGetDisplayNameArgType = string

type CreateWrappingKeyPayloadGetDisplayNameAttributeType

type CreateWrappingKeyPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type CreateWrappingKeyPayloadGetDisplayNameRetType

type CreateWrappingKeyPayloadGetDisplayNameRetType = string

type CreateWrappingKeyPayloadGetProtectionArgType added in v1.0.0

type CreateWrappingKeyPayloadGetProtectionArgType = Protection

type CreateWrappingKeyPayloadGetProtectionAttributeType added in v1.0.0

type CreateWrappingKeyPayloadGetProtectionAttributeType = *Protection

isEnumRef

type CreateWrappingKeyPayloadGetProtectionRetType added in v1.0.0

type CreateWrappingKeyPayloadGetProtectionRetType = Protection

type CreateWrappingKeyPayloadGetPurposeArgType

type CreateWrappingKeyPayloadGetPurposeArgType = WrappingPurpose

type CreateWrappingKeyPayloadGetPurposeAttributeType

type CreateWrappingKeyPayloadGetPurposeAttributeType = *WrappingPurpose

isEnumRef

type CreateWrappingKeyPayloadGetPurposeRetType

type CreateWrappingKeyPayloadGetPurposeRetType = WrappingPurpose

type CreateWrappingKeyRequest added in v0.2.0

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

func (CreateWrappingKeyRequest) CreateWrappingKeyPayload added in v0.2.0

func (r CreateWrappingKeyRequest) CreateWrappingKeyPayload(createWrappingKeyPayload CreateWrappingKeyPayload) ApiCreateWrappingKeyRequest

func (CreateWrappingKeyRequest) Execute added in v0.2.0

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

type DecryptPayload

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

DecryptPayload struct for DecryptPayload

func NewDecryptPayload

func NewDecryptPayload(data DecryptPayloadGetDataArgType) *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() (ret DecryptPayloadGetDataRetType)

GetData returns the Data field value

func (*DecryptPayload) GetDataOk

func (o *DecryptPayload) GetDataOk() (ret DecryptPayloadGetDataRetType, ok bool)

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

func (*DecryptPayload) SetData

SetData sets field value

func (DecryptPayload) ToMap

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

type DecryptPayloadGetDataArgType

type DecryptPayloadGetDataArgType = []byte

type DecryptPayloadGetDataAttributeType

type DecryptPayloadGetDataAttributeType = *[]byte

isByteArray

type DecryptPayloadGetDataRetType

type DecryptPayloadGetDataRetType = []byte

type DecryptRequest added in v0.2.0

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

func (DecryptRequest) DecryptPayload added in v0.2.0

func (r DecryptRequest) DecryptPayload(decryptPayload DecryptPayload) ApiDecryptRequest

func (DecryptRequest) Execute added in v0.2.0

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

type DecryptedData

type DecryptedData struct {
	// The decrypted data. Encoded in base64.
	// REQUIRED
	Data DecryptedDataGetDataAttributeType `json:"data" required:"true"`
}

DecryptedData struct for DecryptedData

func NewDecryptedData

func NewDecryptedData(data DecryptedDataGetDataArgType) *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() (ret DecryptedDataGetDataRetType)

GetData returns the Data field value

func (*DecryptedData) GetDataOk

func (o *DecryptedData) GetDataOk() (ret DecryptedDataGetDataRetType, ok bool)

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

func (*DecryptedData) SetData

SetData sets field value

func (DecryptedData) ToMap

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

type DecryptedDataGetDataArgType

type DecryptedDataGetDataArgType = []byte

type DecryptedDataGetDataAttributeType

type DecryptedDataGetDataAttributeType = *[]byte

isByteArray

type DecryptedDataGetDataRetType

type DecryptedDataGetDataRetType = []byte

type DefaultApi added in v0.2.0

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
	*/
	CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
	/*
		CreateKeyExecute executes the request

		@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 Key

	*/
	CreateKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*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
	*/
	CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
	/*
		CreateKeyRingExecute executes the request

		@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 KeyRing

	*/
	CreateKeyRingExecute(ctx context.Context, projectId string, regionId string) (*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
	*/
	CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
	/*
		CreateWrappingKeyExecute executes the request

		@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 WrappingKey

	*/
	CreateWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*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
	*/
	Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest
	/*
		DecryptExecute executes the request

		@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 DecryptedData

	*/
	DecryptExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*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
	*/
	DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest
	/*
		DeleteKeyExecute executes the request

	*/
	DeleteKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) 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
	*/
	DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
	/*
		DeleteKeyRingExecute executes the request

	*/
	DeleteKeyRingExecute(ctx context.Context, projectId string, regionId string, keyRingId string) 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
	*/
	DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest
	/*
		DeleteWrappingKeyExecute executes the request

	*/
	DeleteWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) 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
	*/
	DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest
	/*
		DestroyVersionExecute executes the request

	*/
	DestroyVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) 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
	*/
	DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest
	/*
		DisableVersionExecute executes the request

	*/
	DisableVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) 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
	*/
	EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest
	/*
		EnableVersionExecute executes the request

	*/
	EnableVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) 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
	*/
	Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest
	/*
		EncryptExecute executes the request

		@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 EncryptedData

	*/
	EncryptExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*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
	*/
	GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest
	/*
		GetKeyExecute executes the request

		@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 Key

	*/
	GetKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*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
	*/
	GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
	/*
		GetKeyRingExecute executes the request

		@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 KeyRing

	*/
	GetKeyRingExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*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
	*/
	GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest
	/*
		GetVersionExecute executes the request

		@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 Version

	*/
	GetVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*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
	*/
	GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest
	/*
		GetWrappingKeyExecute executes the request

		@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 WrappingKey

	*/
	GetWrappingKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) (*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
	*/
	ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest
	/*
		ImportKeyExecute executes the request

		@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 Version

	*/
	ImportKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*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
	*/
	ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
	/*
		ListKeyRingsExecute executes the request

		@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 KeyRingList

	*/
	ListKeyRingsExecute(ctx context.Context, projectId string, regionId string) (*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
	*/
	ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
	/*
		ListKeysExecute executes the request

		@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 KeyList

	*/
	ListKeysExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*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
	*/
	ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest
	/*
		ListVersionsExecute executes the request

		@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 VersionList

	*/
	ListVersionsExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*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
	*/
	ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
	/*
		ListWrappingKeysExecute executes the request

		@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 WrappingKeyList

	*/
	ListWrappingKeysExecute(ctx context.Context, projectId string, regionId string, keyRingId string) (*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
	*/
	RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest
	/*
		RestoreKeyExecute executes the request

	*/
	RestoreKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) 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
	*/
	RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest
	/*
		RestoreVersionExecute executes the request

	*/
	RestoreVersionExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) 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
	*/
	RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest
	/*
		RotateKeyExecute executes the request

		@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 Version

	*/
	RotateKeyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) (*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
	*/
	Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest
	/*
		SignExecute executes the request

		@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 SignedData

	*/
	SignExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*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
	*/
	Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest
	/*
		VerifyExecute executes the request

		@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 VerifiedData

	*/
	VerifyExecute(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) (*VerifiedData, error)
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type DeleteKeyRequest added in v0.2.0

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

func (DeleteKeyRequest) Execute added in v0.2.0

func (r DeleteKeyRequest) Execute() error

type DeleteKeyRingRequest added in v0.2.0

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

func (DeleteKeyRingRequest) Execute added in v0.2.0

func (r DeleteKeyRingRequest) Execute() error

type DeleteWrappingKeyRequest added in v0.3.0

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

func (DeleteWrappingKeyRequest) Execute added in v0.3.0

func (r DeleteWrappingKeyRequest) Execute() error

type DestroyVersionRequest added in v0.2.0

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

func (DestroyVersionRequest) Execute added in v0.2.0

func (r DestroyVersionRequest) Execute() error

type DisableVersionRequest added in v0.2.0

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

func (DisableVersionRequest) Execute added in v0.2.0

func (r DisableVersionRequest) Execute() error

type EnableVersionRequest added in v0.2.0

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

func (EnableVersionRequest) Execute added in v0.2.0

func (r EnableVersionRequest) Execute() error

type EncryptPayload

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

EncryptPayload struct for EncryptPayload

func NewEncryptPayload

func NewEncryptPayload(data EncryptPayloadGetDataArgType) *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() (ret EncryptPayloadGetDataRetType)

GetData returns the Data field value

func (*EncryptPayload) GetDataOk

func (o *EncryptPayload) GetDataOk() (ret EncryptPayloadGetDataRetType, ok bool)

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

func (*EncryptPayload) SetData

SetData sets field value

func (EncryptPayload) ToMap

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

type EncryptPayloadGetDataArgType

type EncryptPayloadGetDataArgType = []byte

type EncryptPayloadGetDataAttributeType

type EncryptPayloadGetDataAttributeType = *[]byte

isByteArray

type EncryptPayloadGetDataRetType

type EncryptPayloadGetDataRetType = []byte

type EncryptRequest added in v0.2.0

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

func (EncryptRequest) EncryptPayload added in v0.2.0

func (r EncryptRequest) EncryptPayload(encryptPayload EncryptPayload) ApiEncryptRequest

func (EncryptRequest) Execute added in v0.2.0

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

type EncryptedData

type EncryptedData struct {
	// The encrypted data. Encoded in base64.
	// REQUIRED
	Data EncryptedDataGetDataAttributeType `json:"data" required:"true"`
}

EncryptedData struct for EncryptedData

func NewEncryptedData

func NewEncryptedData(data EncryptedDataGetDataArgType) *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() (ret EncryptedDataGetDataRetType)

GetData returns the Data field value

func (*EncryptedData) GetDataOk

func (o *EncryptedData) GetDataOk() (ret EncryptedDataGetDataRetType, ok bool)

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

func (*EncryptedData) SetData

SetData sets field value

func (EncryptedData) ToMap

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

type EncryptedDataGetDataArgType

type EncryptedDataGetDataArgType = []byte

type EncryptedDataGetDataAttributeType

type EncryptedDataGetDataAttributeType = *[]byte

isByteArray

type EncryptedDataGetDataRetType

type EncryptedDataGetDataRetType = []byte

type GetKeyRequest added in v0.2.0

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

func (GetKeyRequest) Execute added in v0.2.0

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

type GetKeyRingRequest added in v0.2.0

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

func (GetKeyRingRequest) Execute added in v0.2.0

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

type GetVersionRequest added in v0.2.0

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

func (GetVersionRequest) Execute added in v0.2.0

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

type GetWrappingKeyRequest added in v0.2.0

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

func (GetWrappingKeyRequest) Execute added in v0.2.0

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

type HttpError

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

HttpError struct for HttpError

func NewHttpError

func NewHttpError(message HttpErrorGetMessageArgType) *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() (ret HttpErrorGetMessageRetType)

GetMessage returns the Message field value

func (*HttpError) GetMessageOk

func (o *HttpError) GetMessageOk() (ret HttpErrorGetMessageRetType, ok bool)

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

func (*HttpError) SetMessage

func (o *HttpError) SetMessage(v HttpErrorGetMessageRetType)

SetMessage sets field value

func (HttpError) ToMap

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

type HttpErrorGetMessageArgType

type HttpErrorGetMessageArgType = string

type HttpErrorGetMessageAttributeType

type HttpErrorGetMessageAttributeType = *string

isNotNullableString

type HttpErrorGetMessageRetType

type HttpErrorGetMessageRetType = string

type ImportKeyPayload

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

ImportKeyPayload struct for ImportKeyPayload

func NewImportKeyPayload

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() (ret ImportKeyPayloadGetWrappedKeyRetType)

GetWrappedKey returns the WrappedKey field value

func (*ImportKeyPayload) GetWrappedKeyOk

func (o *ImportKeyPayload) GetWrappedKeyOk() (ret ImportKeyPayloadGetWrappedKeyRetType, ok 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() (ret ImportKeyPayloadGetWrappingKeyIdRetType)

GetWrappingKeyId returns the WrappingKeyId field value

func (*ImportKeyPayload) GetWrappingKeyIdOk

func (o *ImportKeyPayload) GetWrappingKeyIdOk() (ret ImportKeyPayloadGetWrappingKeyIdRetType, ok bool)

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

func (*ImportKeyPayload) SetWrappedKey

SetWrappedKey sets field value

func (*ImportKeyPayload) SetWrappingKeyId

SetWrappingKeyId sets field value

func (ImportKeyPayload) ToMap

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

type ImportKeyPayloadGetWrappedKeyArgType

type ImportKeyPayloadGetWrappedKeyArgType = string

type ImportKeyPayloadGetWrappedKeyAttributeType

type ImportKeyPayloadGetWrappedKeyAttributeType = *string

isNotNullableString

type ImportKeyPayloadGetWrappedKeyRetType

type ImportKeyPayloadGetWrappedKeyRetType = string

type ImportKeyPayloadGetWrappingKeyIdArgType

type ImportKeyPayloadGetWrappingKeyIdArgType = string

type ImportKeyPayloadGetWrappingKeyIdAttributeType

type ImportKeyPayloadGetWrappingKeyIdAttributeType = *string

isNotNullableString

type ImportKeyPayloadGetWrappingKeyIdRetType

type ImportKeyPayloadGetWrappingKeyIdRetType = string

type ImportKeyRequest added in v0.2.0

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

func (ImportKeyRequest) Execute added in v0.2.0

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

func (ImportKeyRequest) ImportKeyPayload added in v0.2.0

func (r ImportKeyRequest) ImportKeyPayload(importKeyPayload ImportKeyPayload) ApiImportKeyRequest

type Key

type Key struct {
	// REQUIRED
	AccessScope KeyGetAccessScopeAttributeType `json:"access_scope" required:"true"`
	// REQUIRED
	Algorithm KeyGetAlgorithmAttributeType `json:"algorithm" required:"true"`
	// The date and time the creation of the key was triggered.
	// REQUIRED
	CreatedAt KeyGetCreatedAtAttributeType `json:"createdAt" required:"true"`
	// This date is set when a key is pending deletion and refers to the scheduled date of deletion
	DeletionDate KeyGetDeletionDateAttributeType `json:"deletionDate,omitempty"`
	// A user chosen description to distinguish multiple keys.
	Description KeyGetDescriptionAttributeType `json:"description,omitempty"`
	// The display name to distinguish multiple keys.
	// REQUIRED
	DisplayName KeyGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// A auto generated unique id which identifies the keys.
	// REQUIRED
	Id KeyGetIdAttributeType `json:"id" required:"true"`
	// States whether versions can be created or only imported.
	ImportOnly KeygetImportOnlyAttributeType `json:"importOnly,omitempty"`
	// The unique id of the key ring this key is assigned to.
	// REQUIRED
	KeyRingId KeyGetKeyRingIdAttributeType `json:"keyRingId" required:"true"`
	// REQUIRED
	Protection KeyGetProtectionAttributeType `json:"protection" required:"true"`
	// REQUIRED
	Purpose KeyGetPurposeAttributeType `json:"purpose" required:"true"`
	// The current state of the key.
	// REQUIRED
	State KeyGetStateAttributeType `json:"state" required:"true"`
}

Key struct for Key

func NewKey

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 added in v1.0.0

func (o *Key) GetAccessScope() (ret KeyGetAccessScopeRetType)

GetAccessScope returns the AccessScope field value

func (*Key) GetAccessScopeOk added in v1.0.0

func (o *Key) GetAccessScopeOk() (ret KeyGetAccessScopeRetType, ok 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() (ret KeyGetAlgorithmRetType)

GetAlgorithm returns the Algorithm field value

func (*Key) GetAlgorithmOk

func (o *Key) GetAlgorithmOk() (ret KeyGetAlgorithmRetType, ok bool)

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

func (*Key) GetCreatedAt

func (o *Key) GetCreatedAt() (ret KeyGetCreatedAtRetType)

GetCreatedAt returns the CreatedAt field value

func (*Key) GetCreatedAtOk

func (o *Key) GetCreatedAtOk() (ret KeyGetCreatedAtRetType, ok 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() (res KeyGetDeletionDateRetType)

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

func (*Key) GetDeletionDateOk

func (o *Key) GetDeletionDateOk() (ret KeyGetDeletionDateRetType, ok 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() (res KeyGetDescriptionRetType)

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

func (*Key) GetDescriptionOk

func (o *Key) GetDescriptionOk() (ret KeyGetDescriptionRetType, ok 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() (ret KeyGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*Key) GetDisplayNameOk

func (o *Key) GetDisplayNameOk() (ret KeyGetDisplayNameRetType, ok 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() (ret KeyGetIdRetType)

GetId returns the Id field value

func (*Key) GetIdOk

func (o *Key) GetIdOk() (ret KeyGetIdRetType, ok 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() (res KeygetImportOnlyRetType)

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

func (*Key) GetImportOnlyOk

func (o *Key) GetImportOnlyOk() (ret KeygetImportOnlyRetType, ok 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 (*Key) GetKeyRingId

func (o *Key) GetKeyRingId() (ret KeyGetKeyRingIdRetType)

GetKeyRingId returns the KeyRingId field value

func (*Key) GetKeyRingIdOk

func (o *Key) GetKeyRingIdOk() (ret KeyGetKeyRingIdRetType, ok bool)

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

func (*Key) GetProtection added in v1.0.0

func (o *Key) GetProtection() (ret KeyGetProtectionRetType)

GetProtection returns the Protection field value

func (*Key) GetProtectionOk added in v1.0.0

func (o *Key) GetProtectionOk() (ret KeyGetProtectionRetType, ok 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() (ret KeyGetPurposeRetType)

GetPurpose returns the Purpose field value

func (*Key) GetPurposeOk

func (o *Key) GetPurposeOk() (ret KeyGetPurposeRetType, ok 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() (ret KeyGetStateRetType)

GetState returns the State field value

func (*Key) GetStateOk

func (o *Key) GetStateOk() (ret KeyGetStateRetType, ok 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) HasImportOnly

func (o *Key) HasImportOnly() bool

HasImportOnly returns a boolean if a field has been set.

func (*Key) SetAccessScope added in v1.0.0

func (o *Key) SetAccessScope(v KeyGetAccessScopeRetType)

SetAccessScope sets field value

func (*Key) SetAlgorithm

func (o *Key) SetAlgorithm(v KeyGetAlgorithmRetType)

SetAlgorithm sets field value

func (*Key) SetCreatedAt

func (o *Key) SetCreatedAt(v KeyGetCreatedAtRetType)

SetCreatedAt sets field value

func (*Key) SetDeletionDate

func (o *Key) SetDeletionDate(v KeyGetDeletionDateRetType)

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

func (*Key) SetDescription

func (o *Key) SetDescription(v KeyGetDescriptionRetType)

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

func (*Key) SetDisplayName

func (o *Key) SetDisplayName(v KeyGetDisplayNameRetType)

SetDisplayName sets field value

func (*Key) SetId

func (o *Key) SetId(v KeyGetIdRetType)

SetId sets field value

func (*Key) SetImportOnly

func (o *Key) SetImportOnly(v KeygetImportOnlyRetType)

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

func (*Key) SetKeyRingId

func (o *Key) SetKeyRingId(v KeyGetKeyRingIdRetType)

SetKeyRingId sets field value

func (*Key) SetProtection added in v1.0.0

func (o *Key) SetProtection(v KeyGetProtectionRetType)

SetProtection sets field value

func (*Key) SetPurpose

func (o *Key) SetPurpose(v KeyGetPurposeRetType)

SetPurpose sets field value

func (*Key) SetState

func (o *Key) SetState(v KeyGetStateRetType)

SetState sets field value

func (Key) ToMap

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

type KeyGetAccessScopeArgType added in v1.0.0

type KeyGetAccessScopeArgType = AccessScope

type KeyGetAccessScopeAttributeType added in v1.0.0

type KeyGetAccessScopeAttributeType = *AccessScope

isEnumRef

type KeyGetAccessScopeRetType added in v1.0.0

type KeyGetAccessScopeRetType = AccessScope

type KeyGetAlgorithmArgType

type KeyGetAlgorithmArgType = Algorithm

type KeyGetAlgorithmAttributeType

type KeyGetAlgorithmAttributeType = *Algorithm

isEnumRef

type KeyGetAlgorithmRetType

type KeyGetAlgorithmRetType = Algorithm

type KeyGetCreatedAtArgType

type KeyGetCreatedAtArgType = time.Time

type KeyGetCreatedAtAttributeType

type KeyGetCreatedAtAttributeType = *time.Time

isDateTime

type KeyGetCreatedAtRetType

type KeyGetCreatedAtRetType = time.Time

type KeyGetDeletionDateArgType

type KeyGetDeletionDateArgType = time.Time

type KeyGetDeletionDateAttributeType

type KeyGetDeletionDateAttributeType = *time.Time

isDateTime

type KeyGetDeletionDateRetType

type KeyGetDeletionDateRetType = time.Time

type KeyGetDescriptionArgType

type KeyGetDescriptionArgType = string

type KeyGetDescriptionAttributeType

type KeyGetDescriptionAttributeType = *string

isNotNullableString

type KeyGetDescriptionRetType

type KeyGetDescriptionRetType = string

type KeyGetDisplayNameArgType

type KeyGetDisplayNameArgType = string

type KeyGetDisplayNameAttributeType

type KeyGetDisplayNameAttributeType = *string

isNotNullableString

type KeyGetDisplayNameRetType

type KeyGetDisplayNameRetType = string

type KeyGetIdArgType

type KeyGetIdArgType = string

type KeyGetIdAttributeType

type KeyGetIdAttributeType = *string

isNotNullableString

type KeyGetIdRetType

type KeyGetIdRetType = string

type KeyGetKeyRingIdArgType

type KeyGetKeyRingIdArgType = string

type KeyGetKeyRingIdAttributeType

type KeyGetKeyRingIdAttributeType = *string

isNotNullableString

type KeyGetKeyRingIdRetType

type KeyGetKeyRingIdRetType = string

type KeyGetProtectionArgType added in v1.0.0

type KeyGetProtectionArgType = Protection

type KeyGetProtectionAttributeType added in v1.0.0

type KeyGetProtectionAttributeType = *Protection

isEnumRef

type KeyGetProtectionRetType added in v1.0.0

type KeyGetProtectionRetType = Protection

type KeyGetPurposeArgType

type KeyGetPurposeArgType = Purpose

type KeyGetPurposeAttributeType

type KeyGetPurposeAttributeType = *Purpose

isEnumRef

type KeyGetPurposeRetType

type KeyGetPurposeRetType = Purpose

type KeyGetStateArgType

type KeyGetStateArgType = KeyState

type KeyGetStateAttributeType

type KeyGetStateAttributeType = *KeyState

type KeyGetStateRetType

type KeyGetStateRetType = KeyState

type KeyList

type KeyList struct {
	// REQUIRED
	Keys KeyListGetKeysAttributeType `json:"keys" required:"true"`
}

KeyList struct for KeyList

func NewKeyList

func NewKeyList(keys KeyListGetKeysArgType) *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() (ret KeyListGetKeysRetType)

GetKeys returns the Keys field value

func (*KeyList) GetKeysOk

func (o *KeyList) GetKeysOk() (ret KeyListGetKeysRetType, ok bool)

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

func (*KeyList) SetKeys

func (o *KeyList) SetKeys(v KeyListGetKeysRetType)

SetKeys sets field value

func (KeyList) ToMap

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

type KeyListGetKeysArgType

type KeyListGetKeysArgType = []Key

type KeyListGetKeysAttributeType

type KeyListGetKeysAttributeType = *[]Key

isArray

type KeyListGetKeysRetType

type KeyListGetKeysRetType = []Key

type KeyRing

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

KeyRing struct for KeyRing

func NewKeyRing

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() (ret KeyRingGetCreatedAtRetType)

GetCreatedAt returns the CreatedAt field value

func (*KeyRing) GetCreatedAtOk

func (o *KeyRing) GetCreatedAtOk() (ret KeyRingGetCreatedAtRetType, ok 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() (res KeyRingGetDescriptionRetType)

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

func (*KeyRing) GetDescriptionOk

func (o *KeyRing) GetDescriptionOk() (ret KeyRingGetDescriptionRetType, ok 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() (ret KeyRingGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*KeyRing) GetDisplayNameOk

func (o *KeyRing) GetDisplayNameOk() (ret KeyRingGetDisplayNameRetType, ok 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() (ret KeyRingGetIdRetType)

GetId returns the Id field value

func (*KeyRing) GetIdOk

func (o *KeyRing) GetIdOk() (ret KeyRingGetIdRetType, ok 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() (ret KeyRingGetStateRetType)

GetState returns the State field value

func (*KeyRing) GetStateOk

func (o *KeyRing) GetStateOk() (ret KeyRingGetStateRetType, ok 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) SetCreatedAt

func (o *KeyRing) SetCreatedAt(v KeyRingGetCreatedAtRetType)

SetCreatedAt sets field value

func (*KeyRing) SetDescription

func (o *KeyRing) SetDescription(v KeyRingGetDescriptionRetType)

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

func (*KeyRing) SetDisplayName

func (o *KeyRing) SetDisplayName(v KeyRingGetDisplayNameRetType)

SetDisplayName sets field value

func (*KeyRing) SetId

func (o *KeyRing) SetId(v KeyRingGetIdRetType)

SetId sets field value

func (*KeyRing) SetState

func (o *KeyRing) SetState(v KeyRingGetStateRetType)

SetState sets field value

func (KeyRing) ToMap

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

type KeyRingGetCreatedAtArgType

type KeyRingGetCreatedAtArgType = time.Time

type KeyRingGetCreatedAtAttributeType

type KeyRingGetCreatedAtAttributeType = *time.Time

isDateTime

type KeyRingGetCreatedAtRetType

type KeyRingGetCreatedAtRetType = time.Time

type KeyRingGetDescriptionArgType

type KeyRingGetDescriptionArgType = string

type KeyRingGetDescriptionAttributeType

type KeyRingGetDescriptionAttributeType = *string

isNotNullableString

type KeyRingGetDescriptionRetType

type KeyRingGetDescriptionRetType = string

type KeyRingGetDisplayNameArgType

type KeyRingGetDisplayNameArgType = string

type KeyRingGetDisplayNameAttributeType

type KeyRingGetDisplayNameAttributeType = *string

isNotNullableString

type KeyRingGetDisplayNameRetType

type KeyRingGetDisplayNameRetType = string

type KeyRingGetIdArgType

type KeyRingGetIdArgType = string

type KeyRingGetIdAttributeType

type KeyRingGetIdAttributeType = *string

isNotNullableString

type KeyRingGetIdRetType

type KeyRingGetIdRetType = string

type KeyRingGetStateArgType

type KeyRingGetStateArgType = KeyRingState

type KeyRingGetStateAttributeType

type KeyRingGetStateAttributeType = *KeyRingState

type KeyRingGetStateRetType

type KeyRingGetStateRetType = KeyRingState

type KeyRingList

type KeyRingList struct {
	// REQUIRED
	KeyRings KeyRingListGetKeyRingsAttributeType `json:"keyRings" required:"true"`
}

KeyRingList struct for KeyRingList

func NewKeyRingList

func NewKeyRingList(keyRings KeyRingListGetKeyRingsArgType) *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() (ret KeyRingListGetKeyRingsRetType)

GetKeyRings returns the KeyRings field value

func (*KeyRingList) GetKeyRingsOk

func (o *KeyRingList) GetKeyRingsOk() (ret KeyRingListGetKeyRingsRetType, ok bool)

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

func (*KeyRingList) SetKeyRings

func (o *KeyRingList) SetKeyRings(v KeyRingListGetKeyRingsRetType)

SetKeyRings sets field value

func (KeyRingList) ToMap

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

type KeyRingListGetKeyRingsArgType

type KeyRingListGetKeyRingsArgType = []KeyRing

type KeyRingListGetKeyRingsAttributeType

type KeyRingListGetKeyRingsAttributeType = *[]KeyRing

isArray

type KeyRingListGetKeyRingsRetType

type KeyRingListGetKeyRingsRetType = []KeyRing

type KeyRingState added in v0.1.0

type KeyRingState string

KeyRingState The current state of the key ring. value type for enums

const (
	KEYRINGSTATE_CREATING KeyRingState = "creating"
	KEYRINGSTATE_ACTIVE   KeyRingState = "active"
	KEYRINGSTATE_DELETED  KeyRingState = "deleted"
)

List of State

func NewKeyRingStateFromValue added in v0.1.0

func NewKeyRingStateFromValue(v KeyRingState) (*KeyRingState, error)

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

func (KeyRingState) IsValid added in v0.1.0

func (v KeyRingState) IsValid() bool

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

func (KeyRingState) Ptr added in v0.1.0

func (v KeyRingState) Ptr() *KeyRingState

Ptr returns reference to StateState value

func (*KeyRingState) UnmarshalJSON added in v0.1.0

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

type KeyState added in v0.1.0

type KeyState string

KeyState The current state of the key. value type for enums

const (
	KEYSTATE_ACTIVE        KeyState = "active"
	KEYSTATE_DELETED       KeyState = "deleted"
	KEYSTATE_NOT_AVAILABLE KeyState = "not_available"
	KEYSTATE_ERRORS_EXIST  KeyState = "errors_exist"
	KEYSTATE_CREATING      KeyState = "creating"
	KEYSTATE_NO_VERSION    KeyState = "no_version"
)

List of State

func NewKeyStateFromValue added in v0.1.0

func NewKeyStateFromValue(v KeyState) (*KeyState, error)

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

func (KeyState) IsValid added in v0.1.0

func (v KeyState) IsValid() bool

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

func (KeyState) Ptr added in v0.1.0

func (v KeyState) Ptr() *KeyState

Ptr returns reference to StateState value

func (*KeyState) UnmarshalJSON added in v0.1.0

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

type KeygetImportOnlyArgType

type KeygetImportOnlyArgType = bool

type KeygetImportOnlyAttributeType

type KeygetImportOnlyAttributeType = *bool

isBoolean

type KeygetImportOnlyRetType

type KeygetImportOnlyRetType = bool

type ListKeyRingsRequest added in v0.2.0

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

func (ListKeyRingsRequest) Execute added in v0.2.0

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

type ListKeysRequest added in v0.2.0

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

func (ListKeysRequest) Execute added in v0.2.0

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

type ListVersionsRequest added in v0.2.0

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

func (ListVersionsRequest) Execute added in v0.2.0

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

type ListWrappingKeysRequest added in v0.2.0

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

func (ListWrappingKeysRequest) Execute added in v0.2.0

type MappedNullable

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

type NullableAccessScope added in v1.0.0

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

func NewNullableAccessScope added in v1.0.0

func NewNullableAccessScope(val *AccessScope) *NullableAccessScope

func (NullableAccessScope) Get added in v1.0.0

func (NullableAccessScope) IsSet added in v1.0.0

func (v NullableAccessScope) IsSet() bool

func (NullableAccessScope) MarshalJSON added in v1.0.0

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

func (*NullableAccessScope) Set added in v1.0.0

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

func (*NullableAccessScope) UnmarshalJSON added in v1.0.0

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

func (*NullableAccessScope) Unset added in v1.0.0

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 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 NullableKeyRingState added in v0.1.0

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

func NewNullableKeyRingState added in v0.1.0

func NewNullableKeyRingState(val *KeyRingState) *NullableKeyRingState

func (NullableKeyRingState) Get added in v0.1.0

func (NullableKeyRingState) IsSet added in v0.1.0

func (v NullableKeyRingState) IsSet() bool

func (NullableKeyRingState) MarshalJSON added in v0.1.0

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

func (*NullableKeyRingState) Set added in v0.1.0

func (v *NullableKeyRingState) Set(val *KeyRingState)

func (*NullableKeyRingState) UnmarshalJSON added in v0.1.0

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

func (*NullableKeyRingState) Unset added in v0.1.0

func (v *NullableKeyRingState) Unset()

type NullableKeyState added in v0.1.0

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

func NewNullableKeyState added in v0.1.0

func NewNullableKeyState(val *KeyState) *NullableKeyState

func (NullableKeyState) Get added in v0.1.0

func (v NullableKeyState) Get() *KeyState

func (NullableKeyState) IsSet added in v0.1.0

func (v NullableKeyState) IsSet() bool

func (NullableKeyState) MarshalJSON added in v0.1.0

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

func (*NullableKeyState) Set added in v0.1.0

func (v *NullableKeyState) Set(val *KeyState)

func (*NullableKeyState) UnmarshalJSON added in v0.1.0

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

func (*NullableKeyState) Unset added in v0.1.0

func (v *NullableKeyState) Unset()

type NullableProtection added in v1.0.0

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

func NewNullableProtection added in v1.0.0

func NewNullableProtection(val *Protection) *NullableProtection

func (NullableProtection) Get added in v1.0.0

func (v NullableProtection) Get() *Protection

func (NullableProtection) IsSet added in v1.0.0

func (v NullableProtection) IsSet() bool

func (NullableProtection) MarshalJSON added in v1.0.0

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

func (*NullableProtection) Set added in v1.0.0

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

func (*NullableProtection) UnmarshalJSON added in v1.0.0

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

func (*NullableProtection) Unset added in v1.0.0

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 NullableValue

type NullableValue[T any] struct {
	// contains filtered or unexported fields
}

func (NullableValue[T]) Get

func (v NullableValue[T]) Get() *T

func (NullableValue[T]) IsSet

func (v NullableValue[T]) IsSet() bool

func (*NullableValue[T]) Set

func (v *NullableValue[T]) Set(val *T)

func (*NullableValue[T]) Unset

func (v *NullableValue[T]) 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 NullableVersionState added in v0.1.0

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

func NewNullableVersionState added in v0.1.0

func NewNullableVersionState(val *VersionState) *NullableVersionState

func (NullableVersionState) Get added in v0.1.0

func (NullableVersionState) IsSet added in v0.1.0

func (v NullableVersionState) IsSet() bool

func (NullableVersionState) MarshalJSON added in v0.1.0

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

func (*NullableVersionState) Set added in v0.1.0

func (v *NullableVersionState) Set(val *VersionState)

func (*NullableVersionState) UnmarshalJSON added in v0.1.0

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

func (*NullableVersionState) Unset added in v0.1.0

func (v *NullableVersionState) 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 NullableWrappingKeyState added in v0.1.0

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

func NewNullableWrappingKeyState added in v0.1.0

func NewNullableWrappingKeyState(val *WrappingKeyState) *NullableWrappingKeyState

func (NullableWrappingKeyState) Get added in v0.1.0

func (NullableWrappingKeyState) IsSet added in v0.1.0

func (v NullableWrappingKeyState) IsSet() bool

func (NullableWrappingKeyState) MarshalJSON added in v0.1.0

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

func (*NullableWrappingKeyState) Set added in v0.1.0

func (*NullableWrappingKeyState) UnmarshalJSON added in v0.1.0

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

func (*NullableWrappingKeyState) Unset added in v0.1.0

func (v *NullableWrappingKeyState) 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 added in v1.0.0

type Protection string

Protection The underlying system that is responsible for protecting the key material.

const (
	PROTECTION_SOFTWARE Protection = "software"
)

List of protection

func NewProtectionFromValue added in v1.0.0

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 added in v1.0.0

func (v Protection) IsValid() bool

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

func (Protection) Ptr added in v1.0.0

func (v Protection) Ptr() *Protection

Ptr returns reference to protection value

func (*Protection) UnmarshalJSON added in v1.0.0

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 RestoreKeyRequest added in v0.2.0

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

func (RestoreKeyRequest) Execute added in v0.2.0

func (r RestoreKeyRequest) Execute() error

type RestoreVersionRequest added in v0.2.0

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

func (RestoreVersionRequest) Execute added in v0.2.0

func (r RestoreVersionRequest) Execute() error

type RotateKeyRequest added in v0.2.0

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

func (RotateKeyRequest) Execute added in v0.2.0

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

type SignPayload

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

SignPayload struct for SignPayload

func NewSignPayload

func NewSignPayload(data SignPayloadGetDataArgType) *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() (ret SignPayloadGetDataRetType)

GetData returns the Data field value

func (*SignPayload) GetDataOk

func (o *SignPayload) GetDataOk() (ret SignPayloadGetDataRetType, ok bool)

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

func (*SignPayload) SetData

func (o *SignPayload) SetData(v SignPayloadGetDataRetType)

SetData sets field value

func (SignPayload) ToMap

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

type SignPayloadGetDataArgType

type SignPayloadGetDataArgType = []byte

type SignPayloadGetDataAttributeType

type SignPayloadGetDataAttributeType = *[]byte

isByteArray

type SignPayloadGetDataRetType

type SignPayloadGetDataRetType = []byte

type SignRequest added in v0.2.0

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

func (SignRequest) Execute added in v0.2.0

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

func (SignRequest) SignPayload added in v0.2.0

func (r SignRequest) SignPayload(signPayload SignPayload) ApiSignRequest

type SignedData

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

SignedData struct for SignedData

func NewSignedData

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() (ret SignedDataGetDataRetType)

GetData returns the Data field value

func (*SignedData) GetDataOk

func (o *SignedData) GetDataOk() (ret SignedDataGetDataRetType, ok 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() (ret SignedDataGetSignatureRetType)

GetSignature returns the Signature field value

func (*SignedData) GetSignatureOk

func (o *SignedData) GetSignatureOk() (ret SignedDataGetSignatureRetType, ok bool)

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

func (*SignedData) SetData

func (o *SignedData) SetData(v SignedDataGetDataRetType)

SetData sets field value

func (*SignedData) SetSignature

func (o *SignedData) SetSignature(v SignedDataGetSignatureRetType)

SetSignature sets field value

func (SignedData) ToMap

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

type SignedDataGetDataArgType

type SignedDataGetDataArgType = []byte

type SignedDataGetDataAttributeType

type SignedDataGetDataAttributeType = *[]byte

isByteArray

type SignedDataGetDataRetType

type SignedDataGetDataRetType = []byte

type SignedDataGetSignatureArgType

type SignedDataGetSignatureArgType = []byte

type SignedDataGetSignatureAttributeType

type SignedDataGetSignatureAttributeType = *[]byte

isByteArray

type SignedDataGetSignatureRetType

type SignedDataGetSignatureRetType = []byte

type VerifiedData

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

VerifiedData struct for VerifiedData

func NewVerifiedData

func NewVerifiedData(valid VerifiedDatagetValidArgType) *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() (ret VerifiedDatagetValidRetType)

GetValid returns the Valid field value

func (*VerifiedData) GetValidOk

func (o *VerifiedData) GetValidOk() (ret VerifiedDatagetValidRetType, ok bool)

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

func (*VerifiedData) SetValid

SetValid sets field value

func (VerifiedData) ToMap

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

type VerifiedDatagetValidArgType

type VerifiedDatagetValidArgType = bool

type VerifiedDatagetValidAttributeType

type VerifiedDatagetValidAttributeType = *bool

isBoolean

type VerifiedDatagetValidRetType

type VerifiedDatagetValidRetType = bool

type VerifyPayload

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

VerifyPayload struct for VerifyPayload

func NewVerifyPayload

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() (ret VerifyPayloadGetDataRetType)

GetData returns the Data field value

func (*VerifyPayload) GetDataOk

func (o *VerifyPayload) GetDataOk() (ret VerifyPayloadGetDataRetType, ok 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() (ret VerifyPayloadGetSignatureRetType)

GetSignature returns the Signature field value

func (*VerifyPayload) GetSignatureOk

func (o *VerifyPayload) GetSignatureOk() (ret VerifyPayloadGetSignatureRetType, ok bool)

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

func (*VerifyPayload) SetData

SetData sets field value

func (*VerifyPayload) SetSignature

SetSignature sets field value

func (VerifyPayload) ToMap

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

type VerifyPayloadGetDataArgType

type VerifyPayloadGetDataArgType = []byte

type VerifyPayloadGetDataAttributeType

type VerifyPayloadGetDataAttributeType = *[]byte

isByteArray

type VerifyPayloadGetDataRetType

type VerifyPayloadGetDataRetType = []byte

type VerifyPayloadGetSignatureArgType

type VerifyPayloadGetSignatureArgType = []byte

type VerifyPayloadGetSignatureAttributeType

type VerifyPayloadGetSignatureAttributeType = *[]byte

isByteArray

type VerifyPayloadGetSignatureRetType

type VerifyPayloadGetSignatureRetType = []byte

type VerifyRequest added in v0.2.0

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

func (VerifyRequest) Execute added in v0.2.0

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

func (VerifyRequest) VerifyPayload added in v0.2.0

func (r VerifyRequest) VerifyPayload(verifyPayload VerifyPayload) ApiVerifyRequest

type Version

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

Version struct for Version

func NewVersion

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() (ret VersionGetCreatedAtRetType)

GetCreatedAt returns the CreatedAt field value

func (*Version) GetCreatedAtOk

func (o *Version) GetCreatedAtOk() (ret VersionGetCreatedAtRetType, ok 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() (res VersionGetDestroyDateRetType)

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

func (*Version) GetDestroyDateOk

func (o *Version) GetDestroyDateOk() (ret VersionGetDestroyDateRetType, ok 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() (res VersiongetDisabledRetType)

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*Version) GetDisabledOk

func (o *Version) GetDisabledOk() (ret VersiongetDisabledRetType, ok bool)

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

func (*Version) GetKeyId

func (o *Version) GetKeyId() (ret VersionGetKeyIdRetType)

GetKeyId returns the KeyId field value

func (*Version) GetKeyIdOk

func (o *Version) GetKeyIdOk() (ret VersionGetKeyIdRetType, ok 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() (ret VersionGetKeyRingIdRetType)

GetKeyRingId returns the KeyRingId field value

func (*Version) GetKeyRingIdOk

func (o *Version) GetKeyRingIdOk() (ret VersionGetKeyRingIdRetType, ok 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() (ret VersionGetNumberRetType)

GetNumber returns the Number field value

func (*Version) GetNumberOk

func (o *Version) GetNumberOk() (ret VersionGetNumberRetType, ok 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() (res VersionGetPublicKeyRetType)

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

func (*Version) GetPublicKeyOk

func (o *Version) GetPublicKeyOk() (ret VersionGetPublicKeyRetType, ok 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() (ret VersionGetStateRetType)

GetState returns the State field value

func (*Version) GetStateOk

func (o *Version) GetStateOk() (ret VersionGetStateRetType, ok 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) HasDisabled

func (o *Version) HasDisabled() bool

HasDisabled 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) SetCreatedAt

func (o *Version) SetCreatedAt(v VersionGetCreatedAtRetType)

SetCreatedAt sets field value

func (*Version) SetDestroyDate

func (o *Version) SetDestroyDate(v VersionGetDestroyDateRetType)

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

func (*Version) SetDisabled

func (o *Version) SetDisabled(v VersiongetDisabledRetType)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*Version) SetKeyId

func (o *Version) SetKeyId(v VersionGetKeyIdRetType)

SetKeyId sets field value

func (*Version) SetKeyRingId

func (o *Version) SetKeyRingId(v VersionGetKeyRingIdRetType)

SetKeyRingId sets field value

func (*Version) SetNumber

func (o *Version) SetNumber(v VersionGetNumberRetType)

SetNumber sets field value

func (*Version) SetPublicKey

func (o *Version) SetPublicKey(v VersionGetPublicKeyRetType)

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

func (*Version) SetState

func (o *Version) SetState(v VersionGetStateRetType)

SetState sets field value

func (Version) ToMap

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

type VersionGetCreatedAtArgType

type VersionGetCreatedAtArgType = time.Time

type VersionGetCreatedAtAttributeType

type VersionGetCreatedAtAttributeType = *time.Time

isDateTime

type VersionGetCreatedAtRetType

type VersionGetCreatedAtRetType = time.Time

type VersionGetDestroyDateArgType

type VersionGetDestroyDateArgType = time.Time

type VersionGetDestroyDateAttributeType

type VersionGetDestroyDateAttributeType = *time.Time

isDateTime

type VersionGetDestroyDateRetType

type VersionGetDestroyDateRetType = time.Time

type VersionGetKeyIdArgType

type VersionGetKeyIdArgType = string

type VersionGetKeyIdAttributeType

type VersionGetKeyIdAttributeType = *string

isNotNullableString

type VersionGetKeyIdRetType

type VersionGetKeyIdRetType = string

type VersionGetKeyRingIdArgType

type VersionGetKeyRingIdArgType = string

type VersionGetKeyRingIdAttributeType

type VersionGetKeyRingIdAttributeType = *string

isNotNullableString

type VersionGetKeyRingIdRetType

type VersionGetKeyRingIdRetType = string

type VersionGetNumberArgType

type VersionGetNumberArgType = int64

type VersionGetNumberAttributeType

type VersionGetNumberAttributeType = *int64

isLong

type VersionGetNumberRetType

type VersionGetNumberRetType = int64

type VersionGetPublicKeyArgType

type VersionGetPublicKeyArgType = string

type VersionGetPublicKeyAttributeType

type VersionGetPublicKeyAttributeType = *string

isNotNullableString

type VersionGetPublicKeyRetType

type VersionGetPublicKeyRetType = string

type VersionGetStateArgType

type VersionGetStateArgType = VersionState

type VersionGetStateAttributeType

type VersionGetStateAttributeType = *VersionState

type VersionGetStateRetType

type VersionGetStateRetType = VersionState

type VersionList

type VersionList struct {
	// REQUIRED
	Versions VersionListGetVersionsAttributeType `json:"versions" required:"true"`
}

VersionList struct for VersionList

func NewVersionList

func NewVersionList(versions VersionListGetVersionsArgType) *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() (ret VersionListGetVersionsRetType)

GetVersions returns the Versions field value

func (*VersionList) GetVersionsOk

func (o *VersionList) GetVersionsOk() (ret VersionListGetVersionsRetType, ok bool)

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

func (*VersionList) SetVersions

func (o *VersionList) SetVersions(v VersionListGetVersionsRetType)

SetVersions sets field value

func (VersionList) ToMap

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

type VersionListGetVersionsArgType

type VersionListGetVersionsArgType = []Version

type VersionListGetVersionsAttributeType

type VersionListGetVersionsAttributeType = *[]Version

isArray

type VersionListGetVersionsRetType

type VersionListGetVersionsRetType = []Version

type VersionState added in v0.1.0

type VersionState string

VersionState The current state of the key. value type for enums

const (
	VERSIONSTATE_ACTIVE                   VersionState = "active"
	VERSIONSTATE_CREATING                 VersionState = "creating"
	VERSIONSTATE_KEY_MATERIAL_INVALID     VersionState = "key_material_invalid"
	VERSIONSTATE_KEY_MATERIAL_UNAVAILABLE VersionState = "key_material_unavailable"
	VERSIONSTATE_DISABLED                 VersionState = "disabled"
	VERSIONSTATE_DESTROYED                VersionState = "destroyed"
)

List of State

func NewVersionStateFromValue added in v0.1.0

func NewVersionStateFromValue(v VersionState) (*VersionState, error)

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

func (VersionState) IsValid added in v0.1.0

func (v VersionState) IsValid() bool

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

func (VersionState) Ptr added in v0.1.0

func (v VersionState) Ptr() *VersionState

Ptr returns reference to StateState value

func (*VersionState) UnmarshalJSON added in v0.1.0

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

type VersiongetDisabledArgType

type VersiongetDisabledArgType = bool

type VersiongetDisabledAttributeType

type VersiongetDisabledAttributeType = *bool

isBoolean

type VersiongetDisabledRetType

type VersiongetDisabledRetType = bool

type WrappingAlgorithm

type WrappingAlgorithm string

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

const (
	WRAPPINGALGORITHM__2048_OAEP_SHA256                  WrappingAlgorithm = "rsa_2048_oaep_sha256"
	WRAPPINGALGORITHM__3072_OAEP_SHA256                  WrappingAlgorithm = "rsa_3072_oaep_sha256"
	WRAPPINGALGORITHM__4096_OAEP_SHA256                  WrappingAlgorithm = "rsa_4096_oaep_sha256"
	WRAPPINGALGORITHM__4096_OAEP_SHA512                  WrappingAlgorithm = "rsa_4096_oaep_sha512"
	WRAPPINGALGORITHM__2048_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_2048_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM__3072_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_3072_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM__4096_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM__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 {
	// REQUIRED
	AccessScope WrappingKeyGetAccessScopeAttributeType `json:"access_scope" required:"true"`
	// REQUIRED
	Algorithm WrappingKeyGetAlgorithmAttributeType `json:"algorithm" required:"true"`
	// The date and time the creation of the wrapping key was triggered.
	// REQUIRED
	CreatedAt WrappingKeyGetCreatedAtAttributeType `json:"createdAt" required:"true"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description WrappingKeyGetDescriptionAttributeType `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys.
	// REQUIRED
	DisplayName WrappingKeyGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// The date and time the wrapping key will expire.
	// REQUIRED
	ExpiresAt WrappingKeyGetExpiresAtAttributeType `json:"expiresAt" required:"true"`
	// A auto generated unique id which identifies the wrapping keys.
	// REQUIRED
	Id WrappingKeyGetIdAttributeType `json:"id" required:"true"`
	// The unique id of the key ring this wrapping key is assigned to.
	// REQUIRED
	KeyRingId WrappingKeyGetKeyRingIdAttributeType `json:"keyRingId" required:"true"`
	// REQUIRED
	Protection WrappingKeyGetProtectionAttributeType `json:"protection" required:"true"`
	// The public key of the wrapping key.
	PublicKey WrappingKeyGetPublicKeyAttributeType `json:"publicKey,omitempty"`
	// REQUIRED
	Purpose WrappingKeyGetPurposeAttributeType `json:"purpose" required:"true"`
	// The current state of the wrapping key.
	// REQUIRED
	State WrappingKeyGetStateAttributeType `json:"state" required:"true"`
}

WrappingKey struct for WrappingKey

func NewWrappingKey

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 added in v1.0.0

func (o *WrappingKey) GetAccessScope() (ret WrappingKeyGetAccessScopeRetType)

GetAccessScope returns the AccessScope field value

func (*WrappingKey) GetAccessScopeOk added in v1.0.0

func (o *WrappingKey) GetAccessScopeOk() (ret WrappingKeyGetAccessScopeRetType, ok 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() (ret WrappingKeyGetAlgorithmRetType)

GetAlgorithm returns the Algorithm field value

func (*WrappingKey) GetAlgorithmOk

func (o *WrappingKey) GetAlgorithmOk() (ret WrappingKeyGetAlgorithmRetType, ok bool)

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

func (*WrappingKey) GetCreatedAt

func (o *WrappingKey) GetCreatedAt() (ret WrappingKeyGetCreatedAtRetType)

GetCreatedAt returns the CreatedAt field value

func (*WrappingKey) GetCreatedAtOk

func (o *WrappingKey) GetCreatedAtOk() (ret WrappingKeyGetCreatedAtRetType, ok 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() (res WrappingKeyGetDescriptionRetType)

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

func (*WrappingKey) GetDescriptionOk

func (o *WrappingKey) GetDescriptionOk() (ret WrappingKeyGetDescriptionRetType, ok 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() (ret WrappingKeyGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*WrappingKey) GetDisplayNameOk

func (o *WrappingKey) GetDisplayNameOk() (ret WrappingKeyGetDisplayNameRetType, ok 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() (ret WrappingKeyGetExpiresAtRetType)

GetExpiresAt returns the ExpiresAt field value

func (*WrappingKey) GetExpiresAtOk

func (o *WrappingKey) GetExpiresAtOk() (ret WrappingKeyGetExpiresAtRetType, ok 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() (ret WrappingKeyGetIdRetType)

GetId returns the Id field value

func (*WrappingKey) GetIdOk

func (o *WrappingKey) GetIdOk() (ret WrappingKeyGetIdRetType, ok 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() (ret WrappingKeyGetKeyRingIdRetType)

GetKeyRingId returns the KeyRingId field value

func (*WrappingKey) GetKeyRingIdOk

func (o *WrappingKey) GetKeyRingIdOk() (ret WrappingKeyGetKeyRingIdRetType, ok bool)

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

func (*WrappingKey) GetProtection added in v1.0.0

func (o *WrappingKey) GetProtection() (ret WrappingKeyGetProtectionRetType)

GetProtection returns the Protection field value

func (*WrappingKey) GetProtectionOk added in v1.0.0

func (o *WrappingKey) GetProtectionOk() (ret WrappingKeyGetProtectionRetType, ok 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() (res WrappingKeyGetPublicKeyRetType)

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

func (*WrappingKey) GetPublicKeyOk

func (o *WrappingKey) GetPublicKeyOk() (ret WrappingKeyGetPublicKeyRetType, ok 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() (ret WrappingKeyGetPurposeRetType)

GetPurpose returns the Purpose field value

func (*WrappingKey) GetPurposeOk

func (o *WrappingKey) GetPurposeOk() (ret WrappingKeyGetPurposeRetType, ok 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() (ret WrappingKeyGetStateRetType)

GetState returns the State field value

func (*WrappingKey) GetStateOk

func (o *WrappingKey) GetStateOk() (ret WrappingKeyGetStateRetType, ok 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) SetAccessScope added in v1.0.0

func (o *WrappingKey) SetAccessScope(v WrappingKeyGetAccessScopeRetType)

SetAccessScope sets field value

func (*WrappingKey) SetAlgorithm

func (o *WrappingKey) SetAlgorithm(v WrappingKeyGetAlgorithmRetType)

SetAlgorithm sets field value

func (*WrappingKey) SetCreatedAt

func (o *WrappingKey) SetCreatedAt(v WrappingKeyGetCreatedAtRetType)

SetCreatedAt sets field value

func (*WrappingKey) SetDescription

func (o *WrappingKey) SetDescription(v WrappingKeyGetDescriptionRetType)

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

func (*WrappingKey) SetDisplayName

func (o *WrappingKey) SetDisplayName(v WrappingKeyGetDisplayNameRetType)

SetDisplayName sets field value

func (*WrappingKey) SetExpiresAt

func (o *WrappingKey) SetExpiresAt(v WrappingKeyGetExpiresAtRetType)

SetExpiresAt sets field value

func (*WrappingKey) SetId

SetId sets field value

func (*WrappingKey) SetKeyRingId

func (o *WrappingKey) SetKeyRingId(v WrappingKeyGetKeyRingIdRetType)

SetKeyRingId sets field value

func (*WrappingKey) SetProtection added in v1.0.0

func (o *WrappingKey) SetProtection(v WrappingKeyGetProtectionRetType)

SetProtection sets field value

func (*WrappingKey) SetPublicKey

func (o *WrappingKey) SetPublicKey(v WrappingKeyGetPublicKeyRetType)

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

func (*WrappingKey) SetPurpose

func (o *WrappingKey) SetPurpose(v WrappingKeyGetPurposeRetType)

SetPurpose sets field value

func (*WrappingKey) SetState

func (o *WrappingKey) SetState(v WrappingKeyGetStateRetType)

SetState sets field value

func (WrappingKey) ToMap

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

type WrappingKeyGetAccessScopeArgType added in v1.0.0

type WrappingKeyGetAccessScopeArgType = AccessScope

type WrappingKeyGetAccessScopeAttributeType added in v1.0.0

type WrappingKeyGetAccessScopeAttributeType = *AccessScope

isEnumRef

type WrappingKeyGetAccessScopeRetType added in v1.0.0

type WrappingKeyGetAccessScopeRetType = AccessScope

type WrappingKeyGetAlgorithmArgType

type WrappingKeyGetAlgorithmArgType = WrappingAlgorithm

type WrappingKeyGetAlgorithmAttributeType

type WrappingKeyGetAlgorithmAttributeType = *WrappingAlgorithm

isEnumRef

type WrappingKeyGetAlgorithmRetType

type WrappingKeyGetAlgorithmRetType = WrappingAlgorithm

type WrappingKeyGetCreatedAtArgType

type WrappingKeyGetCreatedAtArgType = time.Time

type WrappingKeyGetCreatedAtAttributeType

type WrappingKeyGetCreatedAtAttributeType = *time.Time

isDateTime

type WrappingKeyGetCreatedAtRetType

type WrappingKeyGetCreatedAtRetType = time.Time

type WrappingKeyGetDescriptionArgType

type WrappingKeyGetDescriptionArgType = string

type WrappingKeyGetDescriptionAttributeType

type WrappingKeyGetDescriptionAttributeType = *string

isNotNullableString

type WrappingKeyGetDescriptionRetType

type WrappingKeyGetDescriptionRetType = string

type WrappingKeyGetDisplayNameArgType

type WrappingKeyGetDisplayNameArgType = string

type WrappingKeyGetDisplayNameAttributeType

type WrappingKeyGetDisplayNameAttributeType = *string

isNotNullableString

type WrappingKeyGetDisplayNameRetType

type WrappingKeyGetDisplayNameRetType = string

type WrappingKeyGetExpiresAtArgType

type WrappingKeyGetExpiresAtArgType = time.Time

type WrappingKeyGetExpiresAtAttributeType

type WrappingKeyGetExpiresAtAttributeType = *time.Time

isDateTime

type WrappingKeyGetExpiresAtRetType

type WrappingKeyGetExpiresAtRetType = time.Time

type WrappingKeyGetIdArgType

type WrappingKeyGetIdArgType = string

type WrappingKeyGetIdAttributeType

type WrappingKeyGetIdAttributeType = *string

isNotNullableString

type WrappingKeyGetIdRetType

type WrappingKeyGetIdRetType = string

type WrappingKeyGetKeyRingIdArgType

type WrappingKeyGetKeyRingIdArgType = string

type WrappingKeyGetKeyRingIdAttributeType

type WrappingKeyGetKeyRingIdAttributeType = *string

isNotNullableString

type WrappingKeyGetKeyRingIdRetType

type WrappingKeyGetKeyRingIdRetType = string

type WrappingKeyGetProtectionArgType added in v1.0.0

type WrappingKeyGetProtectionArgType = Protection

type WrappingKeyGetProtectionAttributeType added in v1.0.0

type WrappingKeyGetProtectionAttributeType = *Protection

isEnumRef

type WrappingKeyGetProtectionRetType added in v1.0.0

type WrappingKeyGetProtectionRetType = Protection

type WrappingKeyGetPublicKeyArgType

type WrappingKeyGetPublicKeyArgType = string

type WrappingKeyGetPublicKeyAttributeType

type WrappingKeyGetPublicKeyAttributeType = *string

isNotNullableString

type WrappingKeyGetPublicKeyRetType

type WrappingKeyGetPublicKeyRetType = string

type WrappingKeyGetPurposeArgType

type WrappingKeyGetPurposeArgType = WrappingPurpose

type WrappingKeyGetPurposeAttributeType

type WrappingKeyGetPurposeAttributeType = *WrappingPurpose

isEnumRef

type WrappingKeyGetPurposeRetType

type WrappingKeyGetPurposeRetType = WrappingPurpose

type WrappingKeyGetStateArgType

type WrappingKeyGetStateArgType = WrappingKeyState

type WrappingKeyGetStateAttributeType

type WrappingKeyGetStateAttributeType = *WrappingKeyState

type WrappingKeyGetStateRetType

type WrappingKeyGetStateRetType = WrappingKeyState

type WrappingKeyList

type WrappingKeyList struct {
	// REQUIRED
	WrappingKeys WrappingKeyListGetWrappingKeysAttributeType `json:"wrappingKeys" required:"true"`
}

WrappingKeyList struct for WrappingKeyList

func NewWrappingKeyList

func NewWrappingKeyList(wrappingKeys WrappingKeyListGetWrappingKeysArgType) *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() (ret WrappingKeyListGetWrappingKeysRetType)

GetWrappingKeys returns the WrappingKeys field value

func (*WrappingKeyList) GetWrappingKeysOk

func (o *WrappingKeyList) GetWrappingKeysOk() (ret WrappingKeyListGetWrappingKeysRetType, ok bool)

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

func (*WrappingKeyList) SetWrappingKeys

SetWrappingKeys sets field value

func (WrappingKeyList) ToMap

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

type WrappingKeyListGetWrappingKeysArgType

type WrappingKeyListGetWrappingKeysArgType = []WrappingKey

type WrappingKeyListGetWrappingKeysAttributeType

type WrappingKeyListGetWrappingKeysAttributeType = *[]WrappingKey

isArray

type WrappingKeyListGetWrappingKeysRetType

type WrappingKeyListGetWrappingKeysRetType = []WrappingKey

type WrappingKeyState added in v0.1.0

type WrappingKeyState string

WrappingKeyState The current state of the wrapping key. value type for enums

const (
	WRAPPINGKEYSTATE_ACTIVE                   WrappingKeyState = "active"
	WRAPPINGKEYSTATE_CREATING                 WrappingKeyState = "creating"
	WRAPPINGKEYSTATE_EXPIRED                  WrappingKeyState = "expired"
	WRAPPINGKEYSTATE_DELETED                  WrappingKeyState = "deleted"
	WRAPPINGKEYSTATE_KEY_MATERIAL_UNAVAILABLE WrappingKeyState = "key_material_unavailable"
)

List of State

func NewWrappingKeyStateFromValue added in v0.1.0

func NewWrappingKeyStateFromValue(v WrappingKeyState) (*WrappingKeyState, error)

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

func (WrappingKeyState) IsValid added in v0.1.0

func (v WrappingKeyState) IsValid() bool

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

func (WrappingKeyState) Ptr added in v0.1.0

Ptr returns reference to StateState value

func (*WrappingKeyState) UnmarshalJSON added in v0.1.0

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

type WrappingPurpose

type WrappingPurpose string

WrappingPurpose The wrapping purpose for the wrapping key.

const (
	WRAPPINGPURPOSE_SYMMETRIC_KEY  WrappingPurpose = "wrap_symmetric_key"
	WRAPPINGPURPOSE_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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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