Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type AccessScope
- type Algorithm
- type ApiCreateKeyRequest
- type ApiCreateKeyRingRequest
- type ApiCreateWrappingKeyRequest
- type ApiDecryptRequest
- type ApiDeleteKeyRequest
- type ApiDeleteKeyRingRequest
- type ApiDeleteWrappingKeyRequest
- type ApiDestroyVersionRequest
- type ApiDisableVersionRequest
- type ApiEnableVersionRequest
- type ApiEncryptRequest
- type ApiGetKeyRequest
- type ApiGetKeyRingRequest
- type ApiGetVersionRequest
- type ApiGetWrappingKeyRequest
- type ApiImportKeyRequest
- type ApiListKeyRingsRequest
- type ApiListKeysRequest
- type ApiListVersionsRequest
- type ApiListWrappingKeysRequest
- type ApiRestoreKeyRequest
- type ApiRestoreVersionRequest
- type ApiRotateKeyRequest
- type ApiSignRequest
- type ApiVerifyRequest
- type Backend
- type CreateKeyPayload
- func (o *CreateKeyPayload) GetAccessScope() AccessScope
- func (o *CreateKeyPayload) GetAccessScopeOk() (*AccessScope, bool)
- func (o *CreateKeyPayload) GetAlgorithm() Algorithm
- func (o *CreateKeyPayload) GetAlgorithmOk() (*Algorithm, bool)
- func (o *CreateKeyPayload) GetBackend() Backend
- func (o *CreateKeyPayload) GetBackendOk() (*Backend, bool)
- func (o *CreateKeyPayload) GetDescription() string
- func (o *CreateKeyPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateKeyPayload) GetDisplayName() string
- func (o *CreateKeyPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateKeyPayload) GetImportOnly() bool
- func (o *CreateKeyPayload) GetImportOnlyOk() (*bool, bool)
- func (o *CreateKeyPayload) GetProtection() Protection
- func (o *CreateKeyPayload) GetProtectionOk() (*Protection, bool)
- func (o *CreateKeyPayload) GetPurpose() Purpose
- func (o *CreateKeyPayload) GetPurposeOk() (*Purpose, bool)
- func (o *CreateKeyPayload) HasAccessScope() bool
- func (o *CreateKeyPayload) HasDescription() bool
- func (o *CreateKeyPayload) HasImportOnly() bool
- func (o *CreateKeyPayload) HasProtection() bool
- func (o CreateKeyPayload) MarshalJSON() ([]byte, error)
- func (o *CreateKeyPayload) SetAccessScope(v AccessScope)
- func (o *CreateKeyPayload) SetAlgorithm(v Algorithm)
- func (o *CreateKeyPayload) SetBackend(v Backend)
- func (o *CreateKeyPayload) SetDescription(v string)
- func (o *CreateKeyPayload) SetDisplayName(v string)
- func (o *CreateKeyPayload) SetImportOnly(v bool)
- func (o *CreateKeyPayload) SetProtection(v Protection)
- func (o *CreateKeyPayload) SetPurpose(v Purpose)
- func (o CreateKeyPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateKeyPayload) UnmarshalJSON(data []byte) (err error)
- type CreateKeyRingPayload
- func (o *CreateKeyRingPayload) GetDescription() string
- func (o *CreateKeyRingPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateKeyRingPayload) GetDisplayName() string
- func (o *CreateKeyRingPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateKeyRingPayload) HasDescription() bool
- func (o CreateKeyRingPayload) MarshalJSON() ([]byte, error)
- func (o *CreateKeyRingPayload) SetDescription(v string)
- func (o *CreateKeyRingPayload) SetDisplayName(v string)
- func (o CreateKeyRingPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateKeyRingPayload) UnmarshalJSON(data []byte) (err error)
- type CreateWrappingKeyPayload
- func (o *CreateWrappingKeyPayload) GetAccessScope() AccessScope
- func (o *CreateWrappingKeyPayload) GetAccessScopeOk() (*AccessScope, bool)
- func (o *CreateWrappingKeyPayload) GetAlgorithm() WrappingAlgorithm
- func (o *CreateWrappingKeyPayload) GetAlgorithmOk() (*WrappingAlgorithm, bool)
- func (o *CreateWrappingKeyPayload) GetBackend() Backend
- func (o *CreateWrappingKeyPayload) GetBackendOk() (*Backend, bool)
- func (o *CreateWrappingKeyPayload) GetDescription() string
- func (o *CreateWrappingKeyPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateWrappingKeyPayload) GetDisplayName() string
- func (o *CreateWrappingKeyPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateWrappingKeyPayload) GetProtection() Protection
- func (o *CreateWrappingKeyPayload) GetProtectionOk() (*Protection, bool)
- func (o *CreateWrappingKeyPayload) GetPurpose() WrappingPurpose
- func (o *CreateWrappingKeyPayload) GetPurposeOk() (*WrappingPurpose, bool)
- func (o *CreateWrappingKeyPayload) HasAccessScope() bool
- func (o *CreateWrappingKeyPayload) HasDescription() bool
- func (o *CreateWrappingKeyPayload) HasProtection() bool
- func (o CreateWrappingKeyPayload) MarshalJSON() ([]byte, error)
- func (o *CreateWrappingKeyPayload) SetAccessScope(v AccessScope)
- func (o *CreateWrappingKeyPayload) SetAlgorithm(v WrappingAlgorithm)
- func (o *CreateWrappingKeyPayload) SetBackend(v Backend)
- func (o *CreateWrappingKeyPayload) SetDescription(v string)
- func (o *CreateWrappingKeyPayload) SetDisplayName(v string)
- func (o *CreateWrappingKeyPayload) SetProtection(v Protection)
- func (o *CreateWrappingKeyPayload) SetPurpose(v WrappingPurpose)
- func (o CreateWrappingKeyPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateWrappingKeyPayload) UnmarshalJSON(data []byte) (err error)
- type DecryptPayload
- func (o *DecryptPayload) GetData() string
- func (o *DecryptPayload) GetDataOk() (*string, bool)
- func (o DecryptPayload) MarshalJSON() ([]byte, error)
- func (o *DecryptPayload) SetData(v string)
- func (o DecryptPayload) ToMap() (map[string]interface{}, error)
- func (o *DecryptPayload) UnmarshalJSON(data []byte) (err error)
- type DecryptedData
- func (o *DecryptedData) GetData() string
- func (o *DecryptedData) GetDataOk() (*string, bool)
- func (o DecryptedData) MarshalJSON() ([]byte, error)
- func (o *DecryptedData) SetData(v string)
- func (o DecryptedData) ToMap() (map[string]interface{}, error)
- func (o *DecryptedData) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
- func (a *DefaultAPIService) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)
- func (a *DefaultAPIService) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
- func (a *DefaultAPIService) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)
- func (a *DefaultAPIService) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
- func (a *DefaultAPIService) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
- func (a *DefaultAPIService) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDecryptRequest
- func (a *DefaultAPIService) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)
- func (a *DefaultAPIService) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDeleteKeyRequest
- func (a *DefaultAPIService) DeleteKeyExecute(r ApiDeleteKeyRequest) error
- func (a *DefaultAPIService) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
- func (a *DefaultAPIService) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error
- func (a *DefaultAPIService) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDeleteWrappingKeyRequest
- func (a *DefaultAPIService) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error
- func (a *DefaultAPIService) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDestroyVersionRequest
- func (a *DefaultAPIService) DestroyVersionExecute(r ApiDestroyVersionRequest) error
- func (a *DefaultAPIService) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDisableVersionRequest
- func (a *DefaultAPIService) DisableVersionExecute(r ApiDisableVersionRequest) error
- func (a *DefaultAPIService) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiEnableVersionRequest
- func (a *DefaultAPIService) EnableVersionExecute(r ApiEnableVersionRequest) error
- func (a *DefaultAPIService) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiEncryptRequest
- func (a *DefaultAPIService) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)
- func (a *DefaultAPIService) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetKeyRequest
- func (a *DefaultAPIService) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)
- func (a *DefaultAPIService) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
- func (a *DefaultAPIService) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)
- func (a *DefaultAPIService) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetVersionRequest
- func (a *DefaultAPIService) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)
- func (a *DefaultAPIService) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetWrappingKeyRequest
- func (a *DefaultAPIService) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
- func (a *DefaultAPIService) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiImportKeyRequest
- func (a *DefaultAPIService) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)
- func (a *DefaultAPIService) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
- func (a *DefaultAPIService) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)
- func (a *DefaultAPIService) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
- func (a *DefaultAPIService) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)
- func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiListVersionsRequest
- func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)
- func (a *DefaultAPIService) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
- func (a *DefaultAPIService) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
- func (a *DefaultAPIService) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRestoreKeyRequest
- func (a *DefaultAPIService) RestoreKeyExecute(r ApiRestoreKeyRequest) error
- func (a *DefaultAPIService) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRestoreVersionRequest
- func (a *DefaultAPIService) RestoreVersionExecute(r ApiRestoreVersionRequest) error
- func (a *DefaultAPIService) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRotateKeyRequest
- func (a *DefaultAPIService) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)
- func (a *DefaultAPIService) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiSignRequest
- func (a *DefaultAPIService) SignExecute(r ApiSignRequest) (*SignedData, error)
- func (a *DefaultAPIService) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiVerifyRequest
- func (a *DefaultAPIService) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
- func (a DefaultAPIServiceMock) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)deprecated
- func (a DefaultAPIServiceMock) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
- func (a DefaultAPIServiceMock) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)deprecated
- func (a DefaultAPIServiceMock) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
- func (a DefaultAPIServiceMock) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)deprecated
- func (a DefaultAPIServiceMock) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDecryptRequest
- func (a DefaultAPIServiceMock) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)deprecated
- func (a DefaultAPIServiceMock) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDeleteKeyRequest
- func (a DefaultAPIServiceMock) DeleteKeyExecute(r ApiDeleteKeyRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
- func (a DefaultAPIServiceMock) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDeleteWrappingKeyRequest
- func (a DefaultAPIServiceMock) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) errordeprecated
- func (a DefaultAPIServiceMock) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDestroyVersionRequest
- func (a DefaultAPIServiceMock) DestroyVersionExecute(r ApiDestroyVersionRequest) errordeprecated
- func (a DefaultAPIServiceMock) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiDisableVersionRequest
- func (a DefaultAPIServiceMock) DisableVersionExecute(r ApiDisableVersionRequest) errordeprecated
- func (a DefaultAPIServiceMock) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiEnableVersionRequest
- func (a DefaultAPIServiceMock) EnableVersionExecute(r ApiEnableVersionRequest) errordeprecated
- func (a DefaultAPIServiceMock) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiEncryptRequest
- func (a DefaultAPIServiceMock) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)deprecated
- func (a DefaultAPIServiceMock) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetKeyRequest
- func (a DefaultAPIServiceMock) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)deprecated
- func (a DefaultAPIServiceMock) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
- func (a DefaultAPIServiceMock) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)deprecated
- func (a DefaultAPIServiceMock) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetVersionRequest
- func (a DefaultAPIServiceMock) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)deprecated
- func (a DefaultAPIServiceMock) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiGetWrappingKeyRequest
- func (a DefaultAPIServiceMock) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)deprecated
- func (a DefaultAPIServiceMock) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiImportKeyRequest
- func (a DefaultAPIServiceMock) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)deprecated
- func (a DefaultAPIServiceMock) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
- func (a DefaultAPIServiceMock) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)deprecated
- func (a DefaultAPIServiceMock) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
- func (a DefaultAPIServiceMock) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)deprecated
- func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiListVersionsRequest
- func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)deprecated
- func (a DefaultAPIServiceMock) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
- func (a DefaultAPIServiceMock) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)deprecated
- func (a DefaultAPIServiceMock) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRestoreKeyRequest
- func (a DefaultAPIServiceMock) RestoreKeyExecute(r ApiRestoreKeyRequest) errordeprecated
- func (a DefaultAPIServiceMock) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRestoreVersionRequest
- func (a DefaultAPIServiceMock) RestoreVersionExecute(r ApiRestoreVersionRequest) errordeprecated
- func (a DefaultAPIServiceMock) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiRotateKeyRequest
- func (a DefaultAPIServiceMock) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)deprecated
- func (a DefaultAPIServiceMock) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiSignRequest
- func (a DefaultAPIServiceMock) SignExecute(r ApiSignRequest) (*SignedData, error)deprecated
- func (a DefaultAPIServiceMock) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, ...) ApiVerifyRequest
- func (a DefaultAPIServiceMock) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)deprecated
- type EncryptPayload
- func (o *EncryptPayload) GetData() string
- func (o *EncryptPayload) GetDataOk() (*string, bool)
- func (o EncryptPayload) MarshalJSON() ([]byte, error)
- func (o *EncryptPayload) SetData(v string)
- func (o EncryptPayload) ToMap() (map[string]interface{}, error)
- func (o *EncryptPayload) UnmarshalJSON(data []byte) (err error)
- type EncryptedData
- func (o *EncryptedData) GetData() string
- func (o *EncryptedData) GetDataOk() (*string, bool)
- func (o EncryptedData) MarshalJSON() ([]byte, error)
- func (o *EncryptedData) SetData(v string)
- func (o EncryptedData) ToMap() (map[string]interface{}, error)
- func (o *EncryptedData) UnmarshalJSON(data []byte) (err error)
- type HttpError
- type ImportKeyPayload
- func (o *ImportKeyPayload) GetWrappedKey() string
- func (o *ImportKeyPayload) GetWrappedKeyOk() (*string, bool)
- func (o *ImportKeyPayload) GetWrappingKeyId() string
- func (o *ImportKeyPayload) GetWrappingKeyIdOk() (*string, bool)
- func (o ImportKeyPayload) MarshalJSON() ([]byte, error)
- func (o *ImportKeyPayload) SetWrappedKey(v string)
- func (o *ImportKeyPayload) SetWrappingKeyId(v string)
- func (o ImportKeyPayload) ToMap() (map[string]interface{}, error)
- func (o *ImportKeyPayload) UnmarshalJSON(data []byte) (err error)
- type Key
- func (o *Key) GetAccessScope() AccessScope
- func (o *Key) GetAccessScopeOk() (*AccessScope, bool)
- func (o *Key) GetAlgorithm() Algorithm
- func (o *Key) GetAlgorithmOk() (*Algorithm, bool)
- func (o *Key) GetBackend() Backend
- func (o *Key) GetBackendOk() (*Backend, bool)
- func (o *Key) GetCreatedAt() time.Time
- func (o *Key) GetCreatedAtOk() (*time.Time, bool)
- func (o *Key) GetDeletionDate() time.Time
- func (o *Key) GetDeletionDateOk() (*time.Time, bool)
- func (o *Key) GetDescription() string
- func (o *Key) GetDescriptionOk() (*string, bool)
- func (o *Key) GetDisplayName() string
- func (o *Key) GetDisplayNameOk() (*string, bool)
- func (o *Key) GetId() string
- func (o *Key) GetIdOk() (*string, bool)
- func (o *Key) GetImportOnly() bool
- func (o *Key) GetImportOnlyOk() (*bool, bool)
- func (o *Key) GetKeyRingId() string
- func (o *Key) GetKeyRingIdOk() (*string, bool)
- func (o *Key) GetProtection() Protection
- func (o *Key) GetProtectionOk() (*Protection, bool)
- func (o *Key) GetPurpose() Purpose
- func (o *Key) GetPurposeOk() (*Purpose, bool)
- func (o *Key) GetState() string
- func (o *Key) GetStateOk() (*string, bool)
- func (o *Key) HasDeletionDate() bool
- func (o *Key) HasDescription() bool
- func (o Key) MarshalJSON() ([]byte, error)
- func (o *Key) SetAccessScope(v AccessScope)
- func (o *Key) SetAlgorithm(v Algorithm)
- func (o *Key) SetBackend(v Backend)
- func (o *Key) SetCreatedAt(v time.Time)
- func (o *Key) SetDeletionDate(v time.Time)
- func (o *Key) SetDescription(v string)
- func (o *Key) SetDisplayName(v string)
- func (o *Key) SetId(v string)
- func (o *Key) SetImportOnly(v bool)
- func (o *Key) SetKeyRingId(v string)
- func (o *Key) SetProtection(v Protection)
- func (o *Key) SetPurpose(v Purpose)
- func (o *Key) SetState(v string)
- func (o Key) ToMap() (map[string]interface{}, error)
- func (o *Key) UnmarshalJSON(data []byte) (err error)
- type KeyList
- type KeyRing
- func (o *KeyRing) GetCreatedAt() time.Time
- func (o *KeyRing) GetCreatedAtOk() (*time.Time, bool)
- func (o *KeyRing) GetDescription() string
- func (o *KeyRing) GetDescriptionOk() (*string, bool)
- func (o *KeyRing) GetDisplayName() string
- func (o *KeyRing) GetDisplayNameOk() (*string, bool)
- func (o *KeyRing) GetId() string
- func (o *KeyRing) GetIdOk() (*string, bool)
- func (o *KeyRing) GetState() string
- func (o *KeyRing) GetStateOk() (*string, bool)
- func (o *KeyRing) HasDescription() bool
- func (o KeyRing) MarshalJSON() ([]byte, error)
- func (o *KeyRing) SetCreatedAt(v time.Time)
- func (o *KeyRing) SetDescription(v string)
- func (o *KeyRing) SetDisplayName(v string)
- func (o *KeyRing) SetId(v string)
- func (o *KeyRing) SetState(v string)
- func (o KeyRing) ToMap() (map[string]interface{}, error)
- func (o *KeyRing) UnmarshalJSON(data []byte) (err error)
- type KeyRingList
- func (o *KeyRingList) GetKeyRings() []KeyRing
- func (o *KeyRingList) GetKeyRingsOk() ([]KeyRing, bool)
- func (o KeyRingList) MarshalJSON() ([]byte, error)
- func (o *KeyRingList) SetKeyRings(v []KeyRing)
- func (o KeyRingList) ToMap() (map[string]interface{}, error)
- func (o *KeyRingList) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAccessScope
- func (v NullableAccessScope) Get() *AccessScope
- func (v NullableAccessScope) IsSet() bool
- func (v NullableAccessScope) MarshalJSON() ([]byte, error)
- func (v *NullableAccessScope) Set(val *AccessScope)
- func (v *NullableAccessScope) UnmarshalJSON(src []byte) error
- func (v *NullableAccessScope) Unset()
- type NullableAlgorithm
- type NullableBackend
- type NullableBool
- type NullableCreateKeyPayload
- func (v NullableCreateKeyPayload) Get() *CreateKeyPayload
- func (v NullableCreateKeyPayload) IsSet() bool
- func (v NullableCreateKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateKeyPayload) Set(val *CreateKeyPayload)
- func (v *NullableCreateKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateKeyPayload) Unset()
- type NullableCreateKeyRingPayload
- func (v NullableCreateKeyRingPayload) Get() *CreateKeyRingPayload
- func (v NullableCreateKeyRingPayload) IsSet() bool
- func (v NullableCreateKeyRingPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateKeyRingPayload) Set(val *CreateKeyRingPayload)
- func (v *NullableCreateKeyRingPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateKeyRingPayload) Unset()
- type NullableCreateWrappingKeyPayload
- func (v NullableCreateWrappingKeyPayload) Get() *CreateWrappingKeyPayload
- func (v NullableCreateWrappingKeyPayload) IsSet() bool
- func (v NullableCreateWrappingKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWrappingKeyPayload) Set(val *CreateWrappingKeyPayload)
- func (v *NullableCreateWrappingKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWrappingKeyPayload) Unset()
- type NullableDecryptPayload
- func (v NullableDecryptPayload) Get() *DecryptPayload
- func (v NullableDecryptPayload) IsSet() bool
- func (v NullableDecryptPayload) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptPayload) Set(val *DecryptPayload)
- func (v *NullableDecryptPayload) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptPayload) Unset()
- type NullableDecryptedData
- func (v NullableDecryptedData) Get() *DecryptedData
- func (v NullableDecryptedData) IsSet() bool
- func (v NullableDecryptedData) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptedData) Set(val *DecryptedData)
- func (v *NullableDecryptedData) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptedData) Unset()
- type NullableEncryptPayload
- func (v NullableEncryptPayload) Get() *EncryptPayload
- func (v NullableEncryptPayload) IsSet() bool
- func (v NullableEncryptPayload) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptPayload) Set(val *EncryptPayload)
- func (v *NullableEncryptPayload) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptPayload) Unset()
- type NullableEncryptedData
- func (v NullableEncryptedData) Get() *EncryptedData
- func (v NullableEncryptedData) IsSet() bool
- func (v NullableEncryptedData) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptedData) Set(val *EncryptedData)
- func (v *NullableEncryptedData) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptedData) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHttpError
- type NullableImportKeyPayload
- func (v NullableImportKeyPayload) Get() *ImportKeyPayload
- func (v NullableImportKeyPayload) IsSet() bool
- func (v NullableImportKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableImportKeyPayload) Set(val *ImportKeyPayload)
- func (v *NullableImportKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableImportKeyPayload) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKey
- type NullableKeyList
- type NullableKeyRing
- type NullableKeyRingList
- func (v NullableKeyRingList) Get() *KeyRingList
- func (v NullableKeyRingList) IsSet() bool
- func (v NullableKeyRingList) MarshalJSON() ([]byte, error)
- func (v *NullableKeyRingList) Set(val *KeyRingList)
- func (v *NullableKeyRingList) UnmarshalJSON(src []byte) error
- func (v *NullableKeyRingList) Unset()
- type NullableProtection
- type NullablePurpose
- type NullableSignPayload
- func (v NullableSignPayload) Get() *SignPayload
- func (v NullableSignPayload) IsSet() bool
- func (v NullableSignPayload) MarshalJSON() ([]byte, error)
- func (v *NullableSignPayload) Set(val *SignPayload)
- func (v *NullableSignPayload) UnmarshalJSON(src []byte) error
- func (v *NullableSignPayload) Unset()
- type NullableSignedData
- type NullableString
- type NullableTime
- type NullableVerifiedData
- func (v NullableVerifiedData) Get() *VerifiedData
- func (v NullableVerifiedData) IsSet() bool
- func (v NullableVerifiedData) MarshalJSON() ([]byte, error)
- func (v *NullableVerifiedData) Set(val *VerifiedData)
- func (v *NullableVerifiedData) UnmarshalJSON(src []byte) error
- func (v *NullableVerifiedData) Unset()
- type NullableVerifyPayload
- func (v NullableVerifyPayload) Get() *VerifyPayload
- func (v NullableVerifyPayload) IsSet() bool
- func (v NullableVerifyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableVerifyPayload) Set(val *VerifyPayload)
- func (v *NullableVerifyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableVerifyPayload) Unset()
- type NullableVersion
- type NullableVersionList
- func (v NullableVersionList) Get() *VersionList
- func (v NullableVersionList) IsSet() bool
- func (v NullableVersionList) MarshalJSON() ([]byte, error)
- func (v *NullableVersionList) Set(val *VersionList)
- func (v *NullableVersionList) UnmarshalJSON(src []byte) error
- func (v *NullableVersionList) Unset()
- type NullableWrappingAlgorithm
- func (v NullableWrappingAlgorithm) Get() *WrappingAlgorithm
- func (v NullableWrappingAlgorithm) IsSet() bool
- func (v NullableWrappingAlgorithm) MarshalJSON() ([]byte, error)
- func (v *NullableWrappingAlgorithm) Set(val *WrappingAlgorithm)
- func (v *NullableWrappingAlgorithm) UnmarshalJSON(src []byte) error
- func (v *NullableWrappingAlgorithm) Unset()
- type NullableWrappingKey
- func (v NullableWrappingKey) Get() *WrappingKey
- func (v NullableWrappingKey) IsSet() bool
- func (v NullableWrappingKey) MarshalJSON() ([]byte, error)
- func (v *NullableWrappingKey) Set(val *WrappingKey)
- func (v *NullableWrappingKey) UnmarshalJSON(src []byte) error
- func (v *NullableWrappingKey) Unset()
- type NullableWrappingKeyList
- func (v NullableWrappingKeyList) Get() *WrappingKeyList
- func (v NullableWrappingKeyList) IsSet() bool
- func (v NullableWrappingKeyList) MarshalJSON() ([]byte, error)
- func (v *NullableWrappingKeyList) Set(val *WrappingKeyList)
- func (v *NullableWrappingKeyList) UnmarshalJSON(src []byte) error
- func (v *NullableWrappingKeyList) Unset()
- type NullableWrappingPurpose
- func (v NullableWrappingPurpose) Get() *WrappingPurpose
- func (v NullableWrappingPurpose) IsSet() bool
- func (v NullableWrappingPurpose) MarshalJSON() ([]byte, error)
- func (v *NullableWrappingPurpose) Set(val *WrappingPurpose)
- func (v *NullableWrappingPurpose) UnmarshalJSON(src []byte) error
- func (v *NullableWrappingPurpose) Unset()
- type Protection
- type Purpose
- type SignPayload
- func (o *SignPayload) GetData() string
- func (o *SignPayload) GetDataOk() (*string, bool)
- func (o SignPayload) MarshalJSON() ([]byte, error)
- func (o *SignPayload) SetData(v string)
- func (o SignPayload) ToMap() (map[string]interface{}, error)
- func (o *SignPayload) UnmarshalJSON(data []byte) (err error)
- type SignedData
- func (o *SignedData) GetData() string
- func (o *SignedData) GetDataOk() (*string, bool)
- func (o *SignedData) GetSignature() string
- func (o *SignedData) GetSignatureOk() (*string, bool)
- func (o SignedData) MarshalJSON() ([]byte, error)
- func (o *SignedData) SetData(v string)
- func (o *SignedData) SetSignature(v string)
- func (o SignedData) ToMap() (map[string]interface{}, error)
- func (o *SignedData) UnmarshalJSON(data []byte) (err error)
- type VerifiedData
- func (o *VerifiedData) GetValid() bool
- func (o *VerifiedData) GetValidOk() (*bool, bool)
- func (o VerifiedData) MarshalJSON() ([]byte, error)
- func (o *VerifiedData) SetValid(v bool)
- func (o VerifiedData) ToMap() (map[string]interface{}, error)
- func (o *VerifiedData) UnmarshalJSON(data []byte) (err error)
- type VerifyPayload
- func (o *VerifyPayload) GetData() string
- func (o *VerifyPayload) GetDataOk() (*string, bool)
- func (o *VerifyPayload) GetSignature() string
- func (o *VerifyPayload) GetSignatureOk() (*string, bool)
- func (o VerifyPayload) MarshalJSON() ([]byte, error)
- func (o *VerifyPayload) SetData(v string)
- func (o *VerifyPayload) SetSignature(v string)
- func (o VerifyPayload) ToMap() (map[string]interface{}, error)
- func (o *VerifyPayload) UnmarshalJSON(data []byte) (err error)
- type Version
- func (o *Version) GetCreatedAt() time.Time
- func (o *Version) GetCreatedAtOk() (*time.Time, bool)
- func (o *Version) GetDestroyDate() time.Time
- func (o *Version) GetDestroyDateOk() (*time.Time, bool)
- func (o *Version) GetDisabled() bool
- func (o *Version) GetDisabledOk() (*bool, bool)
- func (o *Version) GetKeyId() string
- func (o *Version) GetKeyIdOk() (*string, bool)
- func (o *Version) GetKeyRingId() string
- func (o *Version) GetKeyRingIdOk() (*string, bool)
- func (o *Version) GetNumber() int64
- func (o *Version) GetNumberOk() (*int64, bool)
- func (o *Version) GetPublicKey() string
- func (o *Version) GetPublicKeyOk() (*string, bool)
- func (o *Version) GetState() string
- func (o *Version) GetStateOk() (*string, bool)
- func (o *Version) HasDestroyDate() bool
- func (o *Version) HasPublicKey() bool
- func (o Version) MarshalJSON() ([]byte, error)
- func (o *Version) SetCreatedAt(v time.Time)
- func (o *Version) SetDestroyDate(v time.Time)
- func (o *Version) SetDisabled(v bool)
- func (o *Version) SetKeyId(v string)
- func (o *Version) SetKeyRingId(v string)
- func (o *Version) SetNumber(v int64)
- func (o *Version) SetPublicKey(v string)
- func (o *Version) SetState(v string)
- func (o Version) ToMap() (map[string]interface{}, error)
- func (o *Version) UnmarshalJSON(data []byte) (err error)
- type VersionList
- func (o *VersionList) GetVersions() []Version
- func (o *VersionList) GetVersionsOk() ([]Version, bool)
- func (o VersionList) MarshalJSON() ([]byte, error)
- func (o *VersionList) SetVersions(v []Version)
- func (o VersionList) ToMap() (map[string]interface{}, error)
- func (o *VersionList) UnmarshalJSON(data []byte) (err error)
- type WrappingAlgorithm
- type WrappingKey
- func (o *WrappingKey) GetAccessScope() AccessScope
- func (o *WrappingKey) GetAccessScopeOk() (*AccessScope, bool)
- func (o *WrappingKey) GetAlgorithm() WrappingAlgorithm
- func (o *WrappingKey) GetAlgorithmOk() (*WrappingAlgorithm, bool)
- func (o *WrappingKey) GetBackend() Backend
- func (o *WrappingKey) GetBackendOk() (*Backend, bool)
- func (o *WrappingKey) GetCreatedAt() time.Time
- func (o *WrappingKey) GetCreatedAtOk() (*time.Time, bool)
- func (o *WrappingKey) GetDescription() string
- func (o *WrappingKey) GetDescriptionOk() (*string, bool)
- func (o *WrappingKey) GetDisplayName() string
- func (o *WrappingKey) GetDisplayNameOk() (*string, bool)
- func (o *WrappingKey) GetExpiresAt() time.Time
- func (o *WrappingKey) GetExpiresAtOk() (*time.Time, bool)
- func (o *WrappingKey) GetId() string
- func (o *WrappingKey) GetIdOk() (*string, bool)
- func (o *WrappingKey) GetKeyRingId() string
- func (o *WrappingKey) GetKeyRingIdOk() (*string, bool)
- func (o *WrappingKey) GetProtection() Protection
- func (o *WrappingKey) GetProtectionOk() (*Protection, bool)
- func (o *WrappingKey) GetPublicKey() string
- func (o *WrappingKey) GetPublicKeyOk() (*string, bool)
- func (o *WrappingKey) GetPurpose() WrappingPurpose
- func (o *WrappingKey) GetPurposeOk() (*WrappingPurpose, bool)
- func (o *WrappingKey) GetState() string
- func (o *WrappingKey) GetStateOk() (*string, bool)
- func (o *WrappingKey) HasDescription() bool
- func (o *WrappingKey) HasPublicKey() bool
- func (o WrappingKey) MarshalJSON() ([]byte, error)
- func (o *WrappingKey) SetAccessScope(v AccessScope)
- func (o *WrappingKey) SetAlgorithm(v WrappingAlgorithm)
- func (o *WrappingKey) SetBackend(v Backend)
- func (o *WrappingKey) SetCreatedAt(v time.Time)
- func (o *WrappingKey) SetDescription(v string)
- func (o *WrappingKey) SetDisplayName(v string)
- func (o *WrappingKey) SetExpiresAt(v time.Time)
- func (o *WrappingKey) SetId(v string)
- func (o *WrappingKey) SetKeyRingId(v string)
- func (o *WrappingKey) SetProtection(v Protection)
- func (o *WrappingKey) SetPublicKey(v string)
- func (o *WrappingKey) SetPurpose(v WrappingPurpose)
- func (o *WrappingKey) SetState(v string)
- func (o WrappingKey) ToMap() (map[string]interface{}, error)
- func (o *WrappingKey) UnmarshalJSON(data []byte) (err error)
- type WrappingKeyList
- func (o *WrappingKeyList) GetWrappingKeys() []WrappingKey
- func (o *WrappingKeyList) GetWrappingKeysOk() ([]WrappingKey, bool)
- func (o WrappingKeyList) MarshalJSON() ([]byte, error)
- func (o *WrappingKeyList) SetWrappingKeys(v []WrappingKey)
- func (o WrappingKeyList) ToMap() (map[string]interface{}, error)
- func (o *WrappingKeyList) UnmarshalJSON(data []byte) (err error)
- type WrappingPurpose
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedAccessScopeEnumValues = []AccessScope{
"PUBLIC",
"SNA",
}
All allowed values of AccessScope enum
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
var AllowedBackendEnumValues = []Backend{
"software",
}
All allowed values of Backend enum
var AllowedProtectionEnumValues = []Protection{
"software",
}
All allowed values of Protection enum
var AllowedPurposeEnumValues = []Purpose{
"symmetric_encrypt_decrypt",
"asymmetric_encrypt_decrypt",
"message_authentication_code",
"asymmetric_sign_verify",
}
All allowed values of Purpose enum
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
var AllowedWrappingPurposeEnumValues = []WrappingPurpose{
"wrap_symmetric_key",
"wrap_asymmetric_key",
}
All allowed values of WrappingPurpose enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Key Management Service API API v1beta.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccessScope ¶
type AccessScope string
AccessScope The access scope of the key.
const ( ACCESSSCOPE_PUBLIC AccessScope = "PUBLIC" ACCESSSCOPE_SNA AccessScope = "SNA" )
List of access_scope
func NewAccessScopeFromValue ¶
func NewAccessScopeFromValue(v string) (*AccessScope, error)
NewAccessScopeFromValue returns a pointer to a valid AccessScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccessScope) IsValid ¶
func (v AccessScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccessScope) Ptr ¶
func (v AccessScope) Ptr() *AccessScope
Ptr returns reference to access_scope value
func (*AccessScope) UnmarshalJSON ¶
func (v *AccessScope) UnmarshalJSON(src []byte) error
type Algorithm ¶
type Algorithm string
Algorithm The algorithm the key material uses.
const ( ALGORITHM_AES_256_GCM Algorithm = "aes_256_gcm" ALGORITHM_RSA_2048_OAEP_SHA256 Algorithm = "rsa_2048_oaep_sha256" ALGORITHM_RSA_3072_OAEP_SHA256 Algorithm = "rsa_3072_oaep_sha256" ALGORITHM_RSA_4096_OAEP_SHA256 Algorithm = "rsa_4096_oaep_sha256" ALGORITHM_RSA_4096_OAEP_SHA512 Algorithm = "rsa_4096_oaep_sha512" ALGORITHM_HMAC_SHA256 Algorithm = "hmac_sha256" ALGORITHM_HMAC_SHA384 Algorithm = "hmac_sha384" ALGORITHM_HMAC_SHA512 Algorithm = "hmac_sha512" ALGORITHM_ECDSA_P256_SHA256 Algorithm = "ecdsa_p256_sha256" ALGORITHM_ECDSA_P384_SHA384 Algorithm = "ecdsa_p384_sha384" ALGORITHM_ECDSA_P521_SHA512 Algorithm = "ecdsa_p521_sha512" )
List of algorithm
func NewAlgorithmFromValue ¶
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) UnmarshalJSON ¶
type ApiCreateKeyRequest ¶
type ApiCreateKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateKeyRequest) CreateKeyPayload ¶
func (r ApiCreateKeyRequest) CreateKeyPayload(createKeyPayload CreateKeyPayload) ApiCreateKeyRequest
func (ApiCreateKeyRequest) Execute ¶
func (r ApiCreateKeyRequest) Execute() (*Key, error)
type ApiCreateKeyRingRequest ¶
type ApiCreateKeyRingRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateKeyRingRequest) CreateKeyRingPayload ¶
func (r ApiCreateKeyRingRequest) CreateKeyRingPayload(createKeyRingPayload CreateKeyRingPayload) ApiCreateKeyRingRequest
func (ApiCreateKeyRingRequest) Execute ¶
func (r ApiCreateKeyRingRequest) Execute() (*KeyRing, error)
type ApiCreateWrappingKeyRequest ¶
type ApiCreateWrappingKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload ¶
func (r ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload(createWrappingKeyPayload CreateWrappingKeyPayload) ApiCreateWrappingKeyRequest
func (ApiCreateWrappingKeyRequest) Execute ¶
func (r ApiCreateWrappingKeyRequest) Execute() (*WrappingKey, error)
type ApiDecryptRequest ¶
type ApiDecryptRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDecryptRequest) DecryptPayload ¶
func (r ApiDecryptRequest) DecryptPayload(decryptPayload DecryptPayload) ApiDecryptRequest
func (ApiDecryptRequest) Execute ¶
func (r ApiDecryptRequest) Execute() (*DecryptedData, error)
type ApiDeleteKeyRequest ¶
type ApiDeleteKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteKeyRequest) Execute ¶
func (r ApiDeleteKeyRequest) Execute() error
type ApiDeleteKeyRingRequest ¶
type ApiDeleteKeyRingRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteKeyRingRequest) Execute ¶
func (r ApiDeleteKeyRingRequest) Execute() error
type ApiDeleteWrappingKeyRequest ¶
type ApiDeleteWrappingKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteWrappingKeyRequest) Execute ¶
func (r ApiDeleteWrappingKeyRequest) Execute() error
type ApiDestroyVersionRequest ¶
type ApiDestroyVersionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDestroyVersionRequest) Execute ¶
func (r ApiDestroyVersionRequest) Execute() error
type ApiDisableVersionRequest ¶
type ApiDisableVersionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDisableVersionRequest) Execute ¶
func (r ApiDisableVersionRequest) Execute() error
type ApiEnableVersionRequest ¶
type ApiEnableVersionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEnableVersionRequest) Execute ¶
func (r ApiEnableVersionRequest) Execute() error
type ApiEncryptRequest ¶
type ApiEncryptRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEncryptRequest) EncryptPayload ¶
func (r ApiEncryptRequest) EncryptPayload(encryptPayload EncryptPayload) ApiEncryptRequest
func (ApiEncryptRequest) Execute ¶
func (r ApiEncryptRequest) Execute() (*EncryptedData, error)
type ApiGetKeyRequest ¶
type ApiGetKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetKeyRequest) Execute ¶
func (r ApiGetKeyRequest) Execute() (*Key, error)
type ApiGetKeyRingRequest ¶
type ApiGetKeyRingRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetKeyRingRequest) Execute ¶
func (r ApiGetKeyRingRequest) Execute() (*KeyRing, error)
type ApiGetVersionRequest ¶
type ApiGetVersionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVersionRequest) Execute ¶
func (r ApiGetVersionRequest) Execute() (*Version, error)
type ApiGetWrappingKeyRequest ¶
type ApiGetWrappingKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetWrappingKeyRequest) Execute ¶
func (r ApiGetWrappingKeyRequest) Execute() (*WrappingKey, error)
type ApiImportKeyRequest ¶
type ApiImportKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiImportKeyRequest) Execute ¶
func (r ApiImportKeyRequest) Execute() (*Version, error)
func (ApiImportKeyRequest) ImportKeyPayload ¶
func (r ApiImportKeyRequest) ImportKeyPayload(importKeyPayload ImportKeyPayload) ApiImportKeyRequest
type ApiListKeyRingsRequest ¶
type ApiListKeyRingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListKeyRingsRequest) Execute ¶
func (r ApiListKeyRingsRequest) Execute() (*KeyRingList, error)
type ApiListKeysRequest ¶
type ApiListKeysRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListKeysRequest) Execute ¶
func (r ApiListKeysRequest) Execute() (*KeyList, error)
type ApiListVersionsRequest ¶
type ApiListVersionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVersionsRequest) Execute ¶
func (r ApiListVersionsRequest) Execute() (*VersionList, error)
type ApiListWrappingKeysRequest ¶
type ApiListWrappingKeysRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListWrappingKeysRequest) Execute ¶
func (r ApiListWrappingKeysRequest) Execute() (*WrappingKeyList, error)
type ApiRestoreKeyRequest ¶
type ApiRestoreKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreKeyRequest) Execute ¶
func (r ApiRestoreKeyRequest) Execute() error
type ApiRestoreVersionRequest ¶
type ApiRestoreVersionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreVersionRequest) Execute ¶
func (r ApiRestoreVersionRequest) Execute() error
type ApiRotateKeyRequest ¶
type ApiRotateKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRotateKeyRequest) Execute ¶
func (r ApiRotateKeyRequest) Execute() (*Version, error)
type ApiSignRequest ¶
type ApiSignRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiSignRequest) Execute ¶
func (r ApiSignRequest) Execute() (*SignedData, error)
func (ApiSignRequest) SignPayload ¶
func (r ApiSignRequest) SignPayload(signPayload SignPayload) ApiSignRequest
type ApiVerifyRequest ¶
type ApiVerifyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiVerifyRequest) Execute ¶
func (r ApiVerifyRequest) Execute() (*VerifiedData, error)
func (ApiVerifyRequest) VerifyPayload ¶
func (r ApiVerifyRequest) VerifyPayload(verifyPayload VerifyPayload) ApiVerifyRequest
type Backend ¶
type Backend string
Backend The backend that is responsible for maintaining this key. Deprecated - use `protection`.
const (
BACKEND_SOFTWARE Backend = "software"
)
List of backend
func NewBackendFromValue ¶
NewBackendFromValue returns a pointer to a valid Backend for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Backend) UnmarshalJSON ¶
type CreateKeyPayload ¶
type CreateKeyPayload struct {
AccessScope *AccessScope `json:"access_scope,omitempty"`
Algorithm Algorithm `json:"algorithm"`
// Deprecated
Backend Backend `json:"backend"`
// A user chosen description to distinguish multiple keys.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
// States whether versions can be created or only imported.
ImportOnly *bool `json:"importOnly,omitempty"`
Protection *Protection `json:"protection,omitempty"`
Purpose Purpose `json:"purpose"`
}
CreateKeyPayload struct for CreateKeyPayload
func NewCreateKeyPayload ¶
func NewCreateKeyPayload(algorithm Algorithm, backend Backend, displayName string, purpose Purpose) *CreateKeyPayload
NewCreateKeyPayload instantiates a new CreateKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateKeyPayloadWithDefaults ¶
func NewCreateKeyPayloadWithDefaults() *CreateKeyPayload
NewCreateKeyPayloadWithDefaults instantiates a new CreateKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateKeyPayload) GetAccessScope ¶
func (o *CreateKeyPayload) GetAccessScope() AccessScope
GetAccessScope returns the AccessScope field value if set, zero value otherwise.
func (*CreateKeyPayload) GetAccessScopeOk ¶
func (o *CreateKeyPayload) GetAccessScopeOk() (*AccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetAlgorithm ¶
func (o *CreateKeyPayload) GetAlgorithm() Algorithm
GetAlgorithm returns the Algorithm field value
func (*CreateKeyPayload) GetAlgorithmOk ¶
func (o *CreateKeyPayload) GetAlgorithmOk() (*Algorithm, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetBackend ¶
func (o *CreateKeyPayload) GetBackend() Backend
GetBackend returns the Backend field value Deprecated
func (*CreateKeyPayload) GetBackendOk ¶
func (o *CreateKeyPayload) GetBackendOk() (*Backend, bool)
GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated
func (*CreateKeyPayload) GetDescription ¶
func (o *CreateKeyPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateKeyPayload) GetDescriptionOk ¶
func (o *CreateKeyPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetDisplayName ¶
func (o *CreateKeyPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*CreateKeyPayload) GetDisplayNameOk ¶
func (o *CreateKeyPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetImportOnly ¶
func (o *CreateKeyPayload) GetImportOnly() bool
GetImportOnly returns the ImportOnly field value if set, zero value otherwise.
func (*CreateKeyPayload) GetImportOnlyOk ¶
func (o *CreateKeyPayload) GetImportOnlyOk() (*bool, bool)
GetImportOnlyOk returns a tuple with the ImportOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetProtection ¶
func (o *CreateKeyPayload) GetProtection() Protection
GetProtection returns the Protection field value if set, zero value otherwise.
func (*CreateKeyPayload) GetProtectionOk ¶
func (o *CreateKeyPayload) GetProtectionOk() (*Protection, bool)
GetProtectionOk returns a tuple with the Protection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyPayload) GetPurpose ¶
func (o *CreateKeyPayload) GetPurpose() Purpose
GetPurpose returns the Purpose field value
func (*CreateKeyPayload) GetPurposeOk ¶
func (o *CreateKeyPayload) GetPurposeOk() (*Purpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*CreateKeyPayload) HasAccessScope ¶
func (o *CreateKeyPayload) HasAccessScope() bool
HasAccessScope returns a boolean if a field has been set.
func (*CreateKeyPayload) HasDescription ¶
func (o *CreateKeyPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateKeyPayload) HasImportOnly ¶
func (o *CreateKeyPayload) HasImportOnly() bool
HasImportOnly returns a boolean if a field has been set.
func (*CreateKeyPayload) HasProtection ¶
func (o *CreateKeyPayload) HasProtection() bool
HasProtection returns a boolean if a field has been set.
func (CreateKeyPayload) MarshalJSON ¶
func (o CreateKeyPayload) MarshalJSON() ([]byte, error)
func (*CreateKeyPayload) SetAccessScope ¶
func (o *CreateKeyPayload) SetAccessScope(v AccessScope)
SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.
func (*CreateKeyPayload) SetAlgorithm ¶
func (o *CreateKeyPayload) SetAlgorithm(v Algorithm)
SetAlgorithm sets field value
func (*CreateKeyPayload) SetBackend ¶
func (o *CreateKeyPayload) SetBackend(v Backend)
SetBackend sets field value Deprecated
func (*CreateKeyPayload) SetDescription ¶
func (o *CreateKeyPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateKeyPayload) SetDisplayName ¶
func (o *CreateKeyPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateKeyPayload) SetImportOnly ¶
func (o *CreateKeyPayload) SetImportOnly(v bool)
SetImportOnly gets a reference to the given bool and assigns it to the ImportOnly field.
func (*CreateKeyPayload) SetProtection ¶
func (o *CreateKeyPayload) SetProtection(v Protection)
SetProtection gets a reference to the given Protection and assigns it to the Protection field.
func (*CreateKeyPayload) SetPurpose ¶
func (o *CreateKeyPayload) SetPurpose(v Purpose)
SetPurpose sets field value
func (CreateKeyPayload) ToMap ¶
func (o CreateKeyPayload) ToMap() (map[string]interface{}, error)
func (*CreateKeyPayload) UnmarshalJSON ¶
func (o *CreateKeyPayload) UnmarshalJSON(data []byte) (err error)
type CreateKeyRingPayload ¶
type CreateKeyRingPayload struct {
// A user chosen description to distinguish multiple key rings.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
}
CreateKeyRingPayload struct for CreateKeyRingPayload
func NewCreateKeyRingPayload ¶
func NewCreateKeyRingPayload(displayName string) *CreateKeyRingPayload
NewCreateKeyRingPayload instantiates a new CreateKeyRingPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateKeyRingPayloadWithDefaults ¶
func NewCreateKeyRingPayloadWithDefaults() *CreateKeyRingPayload
NewCreateKeyRingPayloadWithDefaults instantiates a new CreateKeyRingPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateKeyRingPayload) GetDescription ¶
func (o *CreateKeyRingPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateKeyRingPayload) GetDescriptionOk ¶
func (o *CreateKeyRingPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyRingPayload) GetDisplayName ¶
func (o *CreateKeyRingPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*CreateKeyRingPayload) GetDisplayNameOk ¶
func (o *CreateKeyRingPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateKeyRingPayload) HasDescription ¶
func (o *CreateKeyRingPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateKeyRingPayload) MarshalJSON ¶
func (o CreateKeyRingPayload) MarshalJSON() ([]byte, error)
func (*CreateKeyRingPayload) SetDescription ¶
func (o *CreateKeyRingPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateKeyRingPayload) SetDisplayName ¶
func (o *CreateKeyRingPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (CreateKeyRingPayload) ToMap ¶
func (o CreateKeyRingPayload) ToMap() (map[string]interface{}, error)
func (*CreateKeyRingPayload) UnmarshalJSON ¶
func (o *CreateKeyRingPayload) UnmarshalJSON(data []byte) (err error)
type CreateWrappingKeyPayload ¶
type CreateWrappingKeyPayload struct {
AccessScope *AccessScope `json:"access_scope,omitempty"`
Algorithm WrappingAlgorithm `json:"algorithm"`
// Deprecated
Backend Backend `json:"backend"`
// A user chosen description to distinguish multiple wrapping keys.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
Protection *Protection `json:"protection,omitempty"`
Purpose WrappingPurpose `json:"purpose"`
}
CreateWrappingKeyPayload struct for CreateWrappingKeyPayload
func NewCreateWrappingKeyPayload ¶
func NewCreateWrappingKeyPayload(algorithm WrappingAlgorithm, backend Backend, displayName string, purpose WrappingPurpose) *CreateWrappingKeyPayload
NewCreateWrappingKeyPayload instantiates a new CreateWrappingKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWrappingKeyPayloadWithDefaults ¶
func NewCreateWrappingKeyPayloadWithDefaults() *CreateWrappingKeyPayload
NewCreateWrappingKeyPayloadWithDefaults instantiates a new CreateWrappingKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWrappingKeyPayload) GetAccessScope ¶
func (o *CreateWrappingKeyPayload) GetAccessScope() AccessScope
GetAccessScope returns the AccessScope field value if set, zero value otherwise.
func (*CreateWrappingKeyPayload) GetAccessScopeOk ¶
func (o *CreateWrappingKeyPayload) GetAccessScopeOk() (*AccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) GetAlgorithm ¶
func (o *CreateWrappingKeyPayload) GetAlgorithm() WrappingAlgorithm
GetAlgorithm returns the Algorithm field value
func (*CreateWrappingKeyPayload) GetAlgorithmOk ¶
func (o *CreateWrappingKeyPayload) GetAlgorithmOk() (*WrappingAlgorithm, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) GetBackend ¶
func (o *CreateWrappingKeyPayload) GetBackend() Backend
GetBackend returns the Backend field value Deprecated
func (*CreateWrappingKeyPayload) GetBackendOk ¶
func (o *CreateWrappingKeyPayload) GetBackendOk() (*Backend, bool)
GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated
func (*CreateWrappingKeyPayload) GetDescription ¶
func (o *CreateWrappingKeyPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateWrappingKeyPayload) GetDescriptionOk ¶
func (o *CreateWrappingKeyPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) GetDisplayName ¶
func (o *CreateWrappingKeyPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*CreateWrappingKeyPayload) GetDisplayNameOk ¶
func (o *CreateWrappingKeyPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) GetProtection ¶
func (o *CreateWrappingKeyPayload) GetProtection() Protection
GetProtection returns the Protection field value if set, zero value otherwise.
func (*CreateWrappingKeyPayload) GetProtectionOk ¶
func (o *CreateWrappingKeyPayload) GetProtectionOk() (*Protection, bool)
GetProtectionOk returns a tuple with the Protection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) GetPurpose ¶
func (o *CreateWrappingKeyPayload) GetPurpose() WrappingPurpose
GetPurpose returns the Purpose field value
func (*CreateWrappingKeyPayload) GetPurposeOk ¶
func (o *CreateWrappingKeyPayload) GetPurposeOk() (*WrappingPurpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*CreateWrappingKeyPayload) HasAccessScope ¶
func (o *CreateWrappingKeyPayload) HasAccessScope() bool
HasAccessScope returns a boolean if a field has been set.
func (*CreateWrappingKeyPayload) HasDescription ¶
func (o *CreateWrappingKeyPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateWrappingKeyPayload) HasProtection ¶
func (o *CreateWrappingKeyPayload) HasProtection() bool
HasProtection returns a boolean if a field has been set.
func (CreateWrappingKeyPayload) MarshalJSON ¶
func (o CreateWrappingKeyPayload) MarshalJSON() ([]byte, error)
func (*CreateWrappingKeyPayload) SetAccessScope ¶
func (o *CreateWrappingKeyPayload) SetAccessScope(v AccessScope)
SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.
func (*CreateWrappingKeyPayload) SetAlgorithm ¶
func (o *CreateWrappingKeyPayload) SetAlgorithm(v WrappingAlgorithm)
SetAlgorithm sets field value
func (*CreateWrappingKeyPayload) SetBackend ¶
func (o *CreateWrappingKeyPayload) SetBackend(v Backend)
SetBackend sets field value Deprecated
func (*CreateWrappingKeyPayload) SetDescription ¶
func (o *CreateWrappingKeyPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateWrappingKeyPayload) SetDisplayName ¶
func (o *CreateWrappingKeyPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateWrappingKeyPayload) SetProtection ¶
func (o *CreateWrappingKeyPayload) SetProtection(v Protection)
SetProtection gets a reference to the given Protection and assigns it to the Protection field.
func (*CreateWrappingKeyPayload) SetPurpose ¶
func (o *CreateWrappingKeyPayload) SetPurpose(v WrappingPurpose)
SetPurpose sets field value
func (CreateWrappingKeyPayload) ToMap ¶
func (o CreateWrappingKeyPayload) ToMap() (map[string]interface{}, error)
func (*CreateWrappingKeyPayload) UnmarshalJSON ¶
func (o *CreateWrappingKeyPayload) UnmarshalJSON(data []byte) (err error)
type DecryptPayload ¶
type DecryptPayload struct {
// The data that has to be decrypted. Encoded in base64.
Data string `json:"data"`
}
DecryptPayload struct for DecryptPayload
func NewDecryptPayload ¶
func NewDecryptPayload(data string) *DecryptPayload
NewDecryptPayload instantiates a new DecryptPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDecryptPayloadWithDefaults ¶
func NewDecryptPayloadWithDefaults() *DecryptPayload
NewDecryptPayloadWithDefaults instantiates a new DecryptPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DecryptPayload) GetData ¶
func (o *DecryptPayload) GetData() string
GetData returns the Data field value
func (*DecryptPayload) GetDataOk ¶
func (o *DecryptPayload) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (DecryptPayload) MarshalJSON ¶
func (o DecryptPayload) MarshalJSON() ([]byte, error)
func (*DecryptPayload) SetData ¶
func (o *DecryptPayload) SetData(v string)
SetData sets field value
func (DecryptPayload) ToMap ¶
func (o DecryptPayload) ToMap() (map[string]interface{}, error)
func (*DecryptPayload) UnmarshalJSON ¶
func (o *DecryptPayload) UnmarshalJSON(data []byte) (err error)
type DecryptedData ¶
type DecryptedData struct {
// The decrypted data. Encoded in base64.
Data string `json:"data"`
}
DecryptedData struct for DecryptedData
func NewDecryptedData ¶
func NewDecryptedData(data string) *DecryptedData
NewDecryptedData instantiates a new DecryptedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDecryptedDataWithDefaults ¶
func NewDecryptedDataWithDefaults() *DecryptedData
NewDecryptedDataWithDefaults instantiates a new DecryptedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DecryptedData) GetData ¶
func (o *DecryptedData) GetData() string
GetData returns the Data field value
func (*DecryptedData) GetDataOk ¶
func (o *DecryptedData) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (DecryptedData) MarshalJSON ¶
func (o DecryptedData) MarshalJSON() ([]byte, error)
func (DecryptedData) ToMap ¶
func (o DecryptedData) ToMap() (map[string]interface{}, error)
func (*DecryptedData) UnmarshalJSON ¶
func (o *DecryptedData) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateKey Create key
Creates a new key for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateKeyRequest
Deprecated
*/
CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
// CreateKeyExecute executes the request
// @return Key
// Deprecated
CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)
/*
CreateKeyRing Create key ring
Creates a new key ring within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiCreateKeyRingRequest
Deprecated
*/
CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
// CreateKeyRingExecute executes the request
// @return KeyRing
// Deprecated
CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)
/*
CreateWrappingKey Create wrapping key
Creates a new wrapping key for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateWrappingKeyRequest
Deprecated
*/
CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
// CreateWrappingKeyExecute executes the request
// @return WrappingKey
// Deprecated
CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
/*
Decrypt Decrypt
Decrypts data using the given key version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDecryptRequest
Deprecated
*/
Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest
// DecryptExecute executes the request
// @return DecryptedData
// Deprecated
DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)
/*
DeleteKey Delete key
Schedules the deletion of the given key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiDeleteKeyRequest
Deprecated
*/
DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest
// DeleteKeyExecute executes the request
// Deprecated
DeleteKeyExecute(r ApiDeleteKeyRequest) error
/*
DeleteKeyRing Delete keyring
Deletes the given key ring if it is empty
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiDeleteKeyRingRequest
Deprecated
*/
DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
// DeleteKeyRingExecute executes the request
// Deprecated
DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error
/*
DeleteWrappingKey Delete wrapping key
Deletes the given wrapping key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiDeleteWrappingKeyRequest
Deprecated
*/
DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest
// DeleteWrappingKeyExecute executes the request
// Deprecated
DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error
/*
DestroyVersion Destroy version
Removes the key material of a version permanently.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDestroyVersionRequest
Deprecated
*/
DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest
// DestroyVersionExecute executes the request
// Deprecated
DestroyVersionExecute(r ApiDestroyVersionRequest) error
/*
DisableVersion Disable version
Disables the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDisableVersionRequest
Deprecated
*/
DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest
// DisableVersionExecute executes the request
// Deprecated
DisableVersionExecute(r ApiDisableVersionRequest) error
/*
EnableVersion Enable version
Enables the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEnableVersionRequest
Deprecated
*/
EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest
// EnableVersionExecute executes the request
// Deprecated
EnableVersionExecute(r ApiEnableVersionRequest) error
/*
Encrypt Encrypt
Encrypts data using the given key version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEncryptRequest
Deprecated
*/
Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest
// EncryptExecute executes the request
// @return EncryptedData
// Deprecated
EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)
/*
GetKey Get key
Returns the details for the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiGetKeyRequest
Deprecated
*/
GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest
// GetKeyExecute executes the request
// @return Key
// Deprecated
GetKeyExecute(r ApiGetKeyRequest) (*Key, error)
/*
GetKeyRing Get key ring
Returns the details for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiGetKeyRingRequest
Deprecated
*/
GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
// GetKeyRingExecute executes the request
// @return KeyRing
// Deprecated
GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)
/*
GetVersion Get version
Returns the details for the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiGetVersionRequest
Deprecated
*/
GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest
// GetVersionExecute executes the request
// @return Version
// Deprecated
GetVersionExecute(r ApiGetVersionRequest) (*Version, error)
/*
GetWrappingKey Get wrapping key
Returns the details for the given wrapping key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiGetWrappingKeyRequest
Deprecated
*/
GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest
// GetWrappingKeyExecute executes the request
// @return WrappingKey
// Deprecated
GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
/*
ImportKey Import key
Imports a new version to the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiImportKeyRequest
Deprecated
*/
ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest
// ImportKeyExecute executes the request
// @return Version
// Deprecated
ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)
/*
ListKeyRings List key rings
Returns a list of all key rings within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiListKeyRingsRequest
Deprecated
*/
ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
// ListKeyRingsExecute executes the request
// @return KeyRingList
// Deprecated
ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)
/*
ListKeys List keys
Returns the keys for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListKeysRequest
Deprecated
*/
ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
// ListKeysExecute executes the request
// @return KeyList
// Deprecated
ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)
/*
ListVersions List versions
Returns a list of all versions of a given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiListVersionsRequest
Deprecated
*/
ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest
// ListVersionsExecute executes the request
// @return VersionList
// Deprecated
ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)
/*
ListWrappingKeys List wrapping keys
Returns the wrapping keys for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListWrappingKeysRequest
Deprecated
*/
ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
// ListWrappingKeysExecute executes the request
// @return WrappingKeyList
// Deprecated
ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
/*
RestoreKey Restore deleted key
Restores the given key from being deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRestoreKeyRequest
Deprecated
*/
RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest
// RestoreKeyExecute executes the request
// Deprecated
RestoreKeyExecute(r ApiRestoreKeyRequest) error
/*
RestoreVersion Restore version
Restores the given version from being destroyed
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiRestoreVersionRequest
Deprecated
*/
RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest
// RestoreVersionExecute executes the request
// Deprecated
RestoreVersionExecute(r ApiRestoreVersionRequest) error
/*
RotateKey Rotate key
Rotates the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRotateKeyRequest
Deprecated
*/
RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest
// RotateKeyExecute executes the request
// @return Version
// Deprecated
RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)
/*
Sign Sign
Sign data using the given key version as secret.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiSignRequest
Deprecated
*/
Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest
// SignExecute executes the request
// @return SignedData
// Deprecated
SignExecute(r ApiSignRequest) (*SignedData, error)
/*
Verify Verify
Verify data using the given key version as secret.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiVerifyRequest
Deprecated
*/
Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest
// VerifyExecute executes the request
// @return VerifiedData
// Deprecated
VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateKey ¶
func (a *DefaultAPIService) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
CreateKey Create key
Creates a new key for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiCreateKeyRequest
Deprecated
func (*DefaultAPIService) CreateKeyExecute ¶
func (a *DefaultAPIService) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)
Execute executes the request
@return Key
Deprecated
func (*DefaultAPIService) CreateKeyRing ¶
func (a *DefaultAPIService) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
CreateKeyRing Create key ring
Creates a new key ring within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @return ApiCreateKeyRingRequest
Deprecated
func (*DefaultAPIService) CreateKeyRingExecute ¶
func (a *DefaultAPIService) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)
Execute executes the request
@return KeyRing
Deprecated
func (*DefaultAPIService) CreateWrappingKey ¶
func (a *DefaultAPIService) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
CreateWrappingKey Create wrapping key
Creates a new wrapping key for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiCreateWrappingKeyRequest
Deprecated
func (*DefaultAPIService) CreateWrappingKeyExecute ¶
func (a *DefaultAPIService) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
Execute executes the request
@return WrappingKey
Deprecated
func (*DefaultAPIService) Decrypt ¶
func (a *DefaultAPIService) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest
Decrypt Decrypt
Decrypts data using the given key version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiDecryptRequest
Deprecated
func (*DefaultAPIService) DecryptExecute ¶
func (a *DefaultAPIService) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)
Execute executes the request
@return DecryptedData
Deprecated
func (*DefaultAPIService) DeleteKey ¶
func (a *DefaultAPIService) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest
DeleteKey Delete key
Schedules the deletion of the given key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiDeleteKeyRequest
Deprecated
func (*DefaultAPIService) DeleteKeyExecute ¶
func (a *DefaultAPIService) DeleteKeyExecute(r ApiDeleteKeyRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteKeyRing ¶
func (a *DefaultAPIService) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
DeleteKeyRing Delete keyring
Deletes the given key ring if it is empty
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiDeleteKeyRingRequest
Deprecated
func (*DefaultAPIService) DeleteKeyRingExecute ¶
func (a *DefaultAPIService) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteWrappingKey ¶
func (a *DefaultAPIService) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest
DeleteWrappingKey Delete wrapping key
Deletes the given wrapping key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param wrappingKeyId The wrapping key UUID. @return ApiDeleteWrappingKeyRequest
Deprecated
func (*DefaultAPIService) DeleteWrappingKeyExecute ¶
func (a *DefaultAPIService) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DestroyVersion ¶
func (a *DefaultAPIService) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest
DestroyVersion Destroy version
Removes the key material of a version permanently.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiDestroyVersionRequest
Deprecated
func (*DefaultAPIService) DestroyVersionExecute ¶
func (a *DefaultAPIService) DestroyVersionExecute(r ApiDestroyVersionRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DisableVersion ¶
func (a *DefaultAPIService) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest
DisableVersion Disable version
Disables the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiDisableVersionRequest
Deprecated
func (*DefaultAPIService) DisableVersionExecute ¶
func (a *DefaultAPIService) DisableVersionExecute(r ApiDisableVersionRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) EnableVersion ¶
func (a *DefaultAPIService) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest
EnableVersion Enable version
Enables the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiEnableVersionRequest
Deprecated
func (*DefaultAPIService) EnableVersionExecute ¶
func (a *DefaultAPIService) EnableVersionExecute(r ApiEnableVersionRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) Encrypt ¶
func (a *DefaultAPIService) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest
Encrypt Encrypt
Encrypts data using the given key version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiEncryptRequest
Deprecated
func (*DefaultAPIService) EncryptExecute ¶
func (a *DefaultAPIService) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)
Execute executes the request
@return EncryptedData
Deprecated
func (*DefaultAPIService) GetKey ¶
func (a *DefaultAPIService) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest
GetKey Get key
Returns the details for the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiGetKeyRequest
Deprecated
func (*DefaultAPIService) GetKeyExecute ¶
func (a *DefaultAPIService) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)
Execute executes the request
@return Key
Deprecated
func (*DefaultAPIService) GetKeyRing ¶
func (a *DefaultAPIService) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
GetKeyRing Get key ring
Returns the details for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiGetKeyRingRequest
Deprecated
func (*DefaultAPIService) GetKeyRingExecute ¶
func (a *DefaultAPIService) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)
Execute executes the request
@return KeyRing
Deprecated
func (*DefaultAPIService) GetVersion ¶
func (a *DefaultAPIService) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest
GetVersion Get version
Returns the details for the given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiGetVersionRequest
Deprecated
func (*DefaultAPIService) GetVersionExecute ¶
func (a *DefaultAPIService) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)
Execute executes the request
@return Version
Deprecated
func (*DefaultAPIService) GetWrappingKey ¶
func (a *DefaultAPIService) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest
GetWrappingKey Get wrapping key
Returns the details for the given wrapping key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param wrappingKeyId The wrapping key UUID. @return ApiGetWrappingKeyRequest
Deprecated
func (*DefaultAPIService) GetWrappingKeyExecute ¶
func (a *DefaultAPIService) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
Execute executes the request
@return WrappingKey
Deprecated
func (*DefaultAPIService) ImportKey ¶
func (a *DefaultAPIService) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest
ImportKey Import key
Imports a new version to the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiImportKeyRequest
Deprecated
func (*DefaultAPIService) ImportKeyExecute ¶
func (a *DefaultAPIService) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)
Execute executes the request
@return Version
Deprecated
func (*DefaultAPIService) ListKeyRings ¶
func (a *DefaultAPIService) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
ListKeyRings List key rings
Returns a list of all key rings within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @return ApiListKeyRingsRequest
Deprecated
func (*DefaultAPIService) ListKeyRingsExecute ¶
func (a *DefaultAPIService) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)
Execute executes the request
@return KeyRingList
Deprecated
func (*DefaultAPIService) ListKeys ¶
func (a *DefaultAPIService) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
ListKeys List keys
Returns the keys for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiListKeysRequest
Deprecated
func (*DefaultAPIService) ListKeysExecute ¶
func (a *DefaultAPIService) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)
Execute executes the request
@return KeyList
Deprecated
func (*DefaultAPIService) ListVersions ¶
func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest
ListVersions List versions
Returns a list of all versions of a given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiListVersionsRequest
Deprecated
func (*DefaultAPIService) ListVersionsExecute ¶
func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)
Execute executes the request
@return VersionList
Deprecated
func (*DefaultAPIService) ListWrappingKeys ¶
func (a *DefaultAPIService) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
ListWrappingKeys List wrapping keys
Returns the wrapping keys for the given key ring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @return ApiListWrappingKeysRequest
Deprecated
func (*DefaultAPIService) ListWrappingKeysExecute ¶
func (a *DefaultAPIService) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
Execute executes the request
@return WrappingKeyList
Deprecated
func (*DefaultAPIService) RestoreKey ¶
func (a *DefaultAPIService) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest
RestoreKey Restore deleted key
Restores the given key from being deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiRestoreKeyRequest
Deprecated
func (*DefaultAPIService) RestoreKeyExecute ¶
func (a *DefaultAPIService) RestoreKeyExecute(r ApiRestoreKeyRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RestoreVersion ¶
func (a *DefaultAPIService) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest
RestoreVersion Restore version
Restores the given version from being destroyed
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiRestoreVersionRequest
Deprecated
func (*DefaultAPIService) RestoreVersionExecute ¶
func (a *DefaultAPIService) RestoreVersionExecute(r ApiRestoreVersionRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RotateKey ¶
func (a *DefaultAPIService) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest
RotateKey Rotate key
Rotates the given key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @return ApiRotateKeyRequest
Deprecated
func (*DefaultAPIService) RotateKeyExecute ¶
func (a *DefaultAPIService) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)
Execute executes the request
@return Version
Deprecated
func (*DefaultAPIService) Sign ¶
func (a *DefaultAPIService) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest
Sign Sign
Sign data using the given key version as secret.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiSignRequest
Deprecated
func (*DefaultAPIService) SignExecute ¶
func (a *DefaultAPIService) SignExecute(r ApiSignRequest) (*SignedData, error)
Execute executes the request
@return SignedData
Deprecated
func (*DefaultAPIService) Verify ¶
func (a *DefaultAPIService) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest
Verify Verify
Verify data using the given key version as secret.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the key ring is part of. @param regionId The STACKIT region name the key ring is located in. @param keyRingId The key ring UUID. @param keyId The key UUID. @param versionNumber The version number. @return ApiVerifyRequest
Deprecated
func (*DefaultAPIService) VerifyExecute ¶
func (a *DefaultAPIService) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
Execute executes the request
@return VerifiedData
Deprecated
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// Deprecated: CreateKeyExecuteMock can be populated to implement the behavior of the CreateKeyExecute function of this mock
CreateKeyExecuteMock *func(r ApiCreateKeyRequest) (*Key, error)
// Deprecated: CreateKeyRingExecuteMock can be populated to implement the behavior of the CreateKeyRingExecute function of this mock
CreateKeyRingExecuteMock *func(r ApiCreateKeyRingRequest) (*KeyRing, error)
// Deprecated: CreateWrappingKeyExecuteMock can be populated to implement the behavior of the CreateWrappingKeyExecute function of this mock
CreateWrappingKeyExecuteMock *func(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
// Deprecated: DecryptExecuteMock can be populated to implement the behavior of the DecryptExecute function of this mock
DecryptExecuteMock *func(r ApiDecryptRequest) (*DecryptedData, error)
// Deprecated: DeleteKeyExecuteMock can be populated to implement the behavior of the DeleteKeyExecute function of this mock
DeleteKeyExecuteMock *func(r ApiDeleteKeyRequest) error
// Deprecated: DeleteKeyRingExecuteMock can be populated to implement the behavior of the DeleteKeyRingExecute function of this mock
DeleteKeyRingExecuteMock *func(r ApiDeleteKeyRingRequest) error
// Deprecated: DeleteWrappingKeyExecuteMock can be populated to implement the behavior of the DeleteWrappingKeyExecute function of this mock
DeleteWrappingKeyExecuteMock *func(r ApiDeleteWrappingKeyRequest) error
// Deprecated: DestroyVersionExecuteMock can be populated to implement the behavior of the DestroyVersionExecute function of this mock
DestroyVersionExecuteMock *func(r ApiDestroyVersionRequest) error
// Deprecated: DisableVersionExecuteMock can be populated to implement the behavior of the DisableVersionExecute function of this mock
DisableVersionExecuteMock *func(r ApiDisableVersionRequest) error
// Deprecated: EnableVersionExecuteMock can be populated to implement the behavior of the EnableVersionExecute function of this mock
EnableVersionExecuteMock *func(r ApiEnableVersionRequest) error
// Deprecated: EncryptExecuteMock can be populated to implement the behavior of the EncryptExecute function of this mock
EncryptExecuteMock *func(r ApiEncryptRequest) (*EncryptedData, error)
// Deprecated: GetKeyExecuteMock can be populated to implement the behavior of the GetKeyExecute function of this mock
GetKeyExecuteMock *func(r ApiGetKeyRequest) (*Key, error)
// Deprecated: GetKeyRingExecuteMock can be populated to implement the behavior of the GetKeyRingExecute function of this mock
GetKeyRingExecuteMock *func(r ApiGetKeyRingRequest) (*KeyRing, error)
// Deprecated: GetVersionExecuteMock can be populated to implement the behavior of the GetVersionExecute function of this mock
GetVersionExecuteMock *func(r ApiGetVersionRequest) (*Version, error)
// Deprecated: GetWrappingKeyExecuteMock can be populated to implement the behavior of the GetWrappingKeyExecute function of this mock
GetWrappingKeyExecuteMock *func(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
// Deprecated: ImportKeyExecuteMock can be populated to implement the behavior of the ImportKeyExecute function of this mock
ImportKeyExecuteMock *func(r ApiImportKeyRequest) (*Version, error)
// Deprecated: ListKeyRingsExecuteMock can be populated to implement the behavior of the ListKeyRingsExecute function of this mock
ListKeyRingsExecuteMock *func(r ApiListKeyRingsRequest) (*KeyRingList, error)
// Deprecated: ListKeysExecuteMock can be populated to implement the behavior of the ListKeysExecute function of this mock
ListKeysExecuteMock *func(r ApiListKeysRequest) (*KeyList, error)
// Deprecated: ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*VersionList, error)
// Deprecated: ListWrappingKeysExecuteMock can be populated to implement the behavior of the ListWrappingKeysExecute function of this mock
ListWrappingKeysExecuteMock *func(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
// Deprecated: RestoreKeyExecuteMock can be populated to implement the behavior of the RestoreKeyExecute function of this mock
RestoreKeyExecuteMock *func(r ApiRestoreKeyRequest) error
// Deprecated: RestoreVersionExecuteMock can be populated to implement the behavior of the RestoreVersionExecute function of this mock
RestoreVersionExecuteMock *func(r ApiRestoreVersionRequest) error
// Deprecated: RotateKeyExecuteMock can be populated to implement the behavior of the RotateKeyExecute function of this mock
RotateKeyExecuteMock *func(r ApiRotateKeyRequest) (*Version, error)
// Deprecated: SignExecuteMock can be populated to implement the behavior of the SignExecute function of this mock
SignExecuteMock *func(r ApiSignRequest) (*SignedData, error)
// Deprecated: VerifyExecuteMock can be populated to implement the behavior of the VerifyExecute function of this mock
VerifyExecuteMock *func(r ApiVerifyRequest) (*VerifiedData, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateKey ¶
func (a DefaultAPIServiceMock) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest
Deprecated
func (DefaultAPIServiceMock) CreateKeyExecute
deprecated
func (a DefaultAPIServiceMock) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)
Deprecated: CreateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateKeyRing ¶
func (a DefaultAPIServiceMock) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest
Deprecated
func (DefaultAPIServiceMock) CreateKeyRingExecute
deprecated
func (a DefaultAPIServiceMock) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)
Deprecated: CreateKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyRingExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateWrappingKey ¶
func (a DefaultAPIServiceMock) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest
Deprecated
func (DefaultAPIServiceMock) CreateWrappingKeyExecute
deprecated
func (a DefaultAPIServiceMock) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
Deprecated: CreateWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) Decrypt ¶
func (a DefaultAPIServiceMock) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest
Deprecated
func (DefaultAPIServiceMock) DecryptExecute
deprecated
func (a DefaultAPIServiceMock) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)
Deprecated: DecryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DecryptExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteKey ¶
func (a DefaultAPIServiceMock) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest
Deprecated
func (DefaultAPIServiceMock) DeleteKeyExecute
deprecated
func (a DefaultAPIServiceMock) DeleteKeyExecute(r ApiDeleteKeyRequest) error
Deprecated: DeleteKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteKeyRing ¶
func (a DefaultAPIServiceMock) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest
Deprecated
func (DefaultAPIServiceMock) DeleteKeyRingExecute
deprecated
func (a DefaultAPIServiceMock) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error
Deprecated: DeleteKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyRingExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteWrappingKey ¶
func (a DefaultAPIServiceMock) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest
Deprecated
func (DefaultAPIServiceMock) DeleteWrappingKeyExecute
deprecated
func (a DefaultAPIServiceMock) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error
Deprecated: DeleteWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DestroyVersion ¶
func (a DefaultAPIServiceMock) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest
Deprecated
func (DefaultAPIServiceMock) DestroyVersionExecute
deprecated
func (a DefaultAPIServiceMock) DestroyVersionExecute(r ApiDestroyVersionRequest) error
Deprecated: DestroyVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DestroyVersionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DisableVersion ¶
func (a DefaultAPIServiceMock) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest
Deprecated
func (DefaultAPIServiceMock) DisableVersionExecute
deprecated
func (a DefaultAPIServiceMock) DisableVersionExecute(r ApiDisableVersionRequest) error
Deprecated: DisableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableVersionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) EnableVersion ¶
func (a DefaultAPIServiceMock) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest
Deprecated
func (DefaultAPIServiceMock) EnableVersionExecute
deprecated
func (a DefaultAPIServiceMock) EnableVersionExecute(r ApiEnableVersionRequest) error
Deprecated: EnableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableVersionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) Encrypt ¶
func (a DefaultAPIServiceMock) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest
Deprecated
func (DefaultAPIServiceMock) EncryptExecute
deprecated
func (a DefaultAPIServiceMock) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)
Deprecated: EncryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EncryptExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetKey ¶
func (a DefaultAPIServiceMock) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest
Deprecated
func (DefaultAPIServiceMock) GetKeyExecute
deprecated
func (a DefaultAPIServiceMock) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)
Deprecated: GetKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetKeyRing ¶
func (a DefaultAPIServiceMock) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest
Deprecated
func (DefaultAPIServiceMock) GetKeyRingExecute
deprecated
func (a DefaultAPIServiceMock) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)
Deprecated: GetKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyRingExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetVersion ¶
func (a DefaultAPIServiceMock) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest
Deprecated
func (DefaultAPIServiceMock) GetVersionExecute
deprecated
func (a DefaultAPIServiceMock) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)
Deprecated: GetVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVersionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetWrappingKey ¶
func (a DefaultAPIServiceMock) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest
Deprecated
func (DefaultAPIServiceMock) GetWrappingKeyExecute
deprecated
func (a DefaultAPIServiceMock) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
Deprecated: GetWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ImportKey ¶
func (a DefaultAPIServiceMock) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest
Deprecated
func (DefaultAPIServiceMock) ImportKeyExecute
deprecated
func (a DefaultAPIServiceMock) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)
Deprecated: ImportKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ImportKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListKeyRings ¶
func (a DefaultAPIServiceMock) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest
Deprecated
func (DefaultAPIServiceMock) ListKeyRingsExecute
deprecated
func (a DefaultAPIServiceMock) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)
Deprecated: ListKeyRingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyRingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListKeys ¶
func (a DefaultAPIServiceMock) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest
Deprecated
func (DefaultAPIServiceMock) ListKeysExecute
deprecated
func (a DefaultAPIServiceMock) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)
Deprecated: ListKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeysExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListVersions ¶
func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest
Deprecated
func (DefaultAPIServiceMock) ListVersionsExecute
deprecated
func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)
Deprecated: ListVersionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVersionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListWrappingKeys ¶
func (a DefaultAPIServiceMock) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest
Deprecated
func (DefaultAPIServiceMock) ListWrappingKeysExecute
deprecated
func (a DefaultAPIServiceMock) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
Deprecated: ListWrappingKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWrappingKeysExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RestoreKey ¶
func (a DefaultAPIServiceMock) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest
Deprecated
func (DefaultAPIServiceMock) RestoreKeyExecute
deprecated
func (a DefaultAPIServiceMock) RestoreKeyExecute(r ApiRestoreKeyRequest) error
Deprecated: RestoreKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RestoreVersion ¶
func (a DefaultAPIServiceMock) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest
Deprecated
func (DefaultAPIServiceMock) RestoreVersionExecute
deprecated
func (a DefaultAPIServiceMock) RestoreVersionExecute(r ApiRestoreVersionRequest) error
Deprecated: RestoreVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreVersionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RotateKey ¶
func (a DefaultAPIServiceMock) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest
Deprecated
func (DefaultAPIServiceMock) RotateKeyExecute
deprecated
func (a DefaultAPIServiceMock) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)
Deprecated: RotateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RotateKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) Sign ¶
func (a DefaultAPIServiceMock) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest
Deprecated
func (DefaultAPIServiceMock) SignExecute
deprecated
func (a DefaultAPIServiceMock) SignExecute(r ApiSignRequest) (*SignedData, error)
Deprecated: SignExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SignExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) Verify ¶
func (a DefaultAPIServiceMock) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest
Deprecated
func (DefaultAPIServiceMock) VerifyExecute
deprecated
func (a DefaultAPIServiceMock) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
Deprecated: VerifyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the VerifyExecuteMock field in the DefaultAPIServiceMock struct.
type EncryptPayload ¶
type EncryptPayload struct {
// The data that has to be encrypted. Encoded in base64.
Data string `json:"data"`
}
EncryptPayload struct for EncryptPayload
func NewEncryptPayload ¶
func NewEncryptPayload(data string) *EncryptPayload
NewEncryptPayload instantiates a new EncryptPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptPayloadWithDefaults ¶
func NewEncryptPayloadWithDefaults() *EncryptPayload
NewEncryptPayloadWithDefaults instantiates a new EncryptPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptPayload) GetData ¶
func (o *EncryptPayload) GetData() string
GetData returns the Data field value
func (*EncryptPayload) GetDataOk ¶
func (o *EncryptPayload) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (EncryptPayload) MarshalJSON ¶
func (o EncryptPayload) MarshalJSON() ([]byte, error)
func (*EncryptPayload) SetData ¶
func (o *EncryptPayload) SetData(v string)
SetData sets field value
func (EncryptPayload) ToMap ¶
func (o EncryptPayload) ToMap() (map[string]interface{}, error)
func (*EncryptPayload) UnmarshalJSON ¶
func (o *EncryptPayload) UnmarshalJSON(data []byte) (err error)
type EncryptedData ¶
type EncryptedData struct {
// The encrypted data. Encoded in base64.
Data string `json:"data"`
}
EncryptedData struct for EncryptedData
func NewEncryptedData ¶
func NewEncryptedData(data string) *EncryptedData
NewEncryptedData instantiates a new EncryptedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptedDataWithDefaults ¶
func NewEncryptedDataWithDefaults() *EncryptedData
NewEncryptedDataWithDefaults instantiates a new EncryptedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptedData) GetData ¶
func (o *EncryptedData) GetData() string
GetData returns the Data field value
func (*EncryptedData) GetDataOk ¶
func (o *EncryptedData) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (EncryptedData) MarshalJSON ¶
func (o EncryptedData) MarshalJSON() ([]byte, error)
func (EncryptedData) ToMap ¶
func (o EncryptedData) ToMap() (map[string]interface{}, error)
func (*EncryptedData) UnmarshalJSON ¶
func (o *EncryptedData) UnmarshalJSON(data []byte) (err error)
type HttpError ¶
type HttpError struct {
// A string that gives a short information about what went wrong.
Message string `json:"message"`
}
HttpError struct for HttpError
func NewHttpError ¶
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 ¶
GetMessage returns the Message field value
func (*HttpError) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (HttpError) MarshalJSON ¶
func (*HttpError) UnmarshalJSON ¶
type ImportKeyPayload ¶
type ImportKeyPayload struct {
// The wrapped key material that has to be imported. Encoded in base64.
WrappedKey string `json:"wrappedKey"`
// The unique id of the wrapping key the key material has been wrapped with.
WrappingKeyId string `json:"wrappingKeyId"`
}
ImportKeyPayload struct for ImportKeyPayload
func NewImportKeyPayload ¶
func NewImportKeyPayload(wrappedKey string, wrappingKeyId string) *ImportKeyPayload
NewImportKeyPayload instantiates a new ImportKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImportKeyPayloadWithDefaults ¶
func NewImportKeyPayloadWithDefaults() *ImportKeyPayload
NewImportKeyPayloadWithDefaults instantiates a new ImportKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImportKeyPayload) GetWrappedKey ¶
func (o *ImportKeyPayload) GetWrappedKey() string
GetWrappedKey returns the WrappedKey field value
func (*ImportKeyPayload) GetWrappedKeyOk ¶
func (o *ImportKeyPayload) GetWrappedKeyOk() (*string, bool)
GetWrappedKeyOk returns a tuple with the WrappedKey field value and a boolean to check if the value has been set.
func (*ImportKeyPayload) GetWrappingKeyId ¶
func (o *ImportKeyPayload) GetWrappingKeyId() string
GetWrappingKeyId returns the WrappingKeyId field value
func (*ImportKeyPayload) GetWrappingKeyIdOk ¶
func (o *ImportKeyPayload) GetWrappingKeyIdOk() (*string, bool)
GetWrappingKeyIdOk returns a tuple with the WrappingKeyId field value and a boolean to check if the value has been set.
func (ImportKeyPayload) MarshalJSON ¶
func (o ImportKeyPayload) MarshalJSON() ([]byte, error)
func (*ImportKeyPayload) SetWrappedKey ¶
func (o *ImportKeyPayload) SetWrappedKey(v string)
SetWrappedKey sets field value
func (*ImportKeyPayload) SetWrappingKeyId ¶
func (o *ImportKeyPayload) SetWrappingKeyId(v string)
SetWrappingKeyId sets field value
func (ImportKeyPayload) ToMap ¶
func (o ImportKeyPayload) ToMap() (map[string]interface{}, error)
func (*ImportKeyPayload) UnmarshalJSON ¶
func (o *ImportKeyPayload) UnmarshalJSON(data []byte) (err error)
type Key ¶
type Key struct {
AccessScope AccessScope `json:"access_scope"`
Algorithm Algorithm `json:"algorithm"`
// Deprecated
Backend Backend `json:"backend"`
// The date and time the creation of the key was triggered.
CreatedAt time.Time `json:"createdAt"`
// This date is set when a key is pending deletion and refers to the scheduled date of deletion
DeletionDate *time.Time `json:"deletionDate,omitempty"`
// A user chosen description to distinguish multiple keys.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple keys.
DisplayName string `json:"displayName"`
// A auto generated unique id which identifies the keys.
Id string `json:"id"`
// States whether versions can be created or only imported.
ImportOnly bool `json:"importOnly"`
// The unique id of the key ring this key is assigned to.
KeyRingId string `json:"keyRingId"`
Protection Protection `json:"protection"`
Purpose Purpose `json:"purpose"`
// The current state of the key.
State string `json:"state"`
}
Key struct for Key
func NewKey ¶
func NewKey(accessScope AccessScope, algorithm Algorithm, backend Backend, createdAt time.Time, displayName string, id string, importOnly bool, keyRingId string, protection Protection, purpose Purpose, state string) *Key
NewKey instantiates a new Key object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeyWithDefaults ¶
func NewKeyWithDefaults() *Key
NewKeyWithDefaults instantiates a new Key object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Key) GetAccessScope ¶
func (o *Key) GetAccessScope() AccessScope
GetAccessScope returns the AccessScope field value
func (*Key) GetAccessScopeOk ¶
func (o *Key) GetAccessScopeOk() (*AccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value and a boolean to check if the value has been set.
func (*Key) GetAlgorithm ¶
GetAlgorithm returns the Algorithm field value
func (*Key) GetAlgorithmOk ¶
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*Key) GetBackend ¶
GetBackend returns the Backend field value Deprecated
func (*Key) GetBackendOk ¶
GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated
func (*Key) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Key) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Key) GetDeletionDate ¶
GetDeletionDate returns the DeletionDate field value if set, zero value otherwise.
func (*Key) GetDeletionDateOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Key) 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 (*Key) GetDisplayName ¶
GetDisplayName returns the DisplayName field value
func (*Key) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Key) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Key) GetImportOnly ¶
GetImportOnly returns the ImportOnly field value
func (*Key) GetImportOnlyOk ¶
GetImportOnlyOk returns a tuple with the ImportOnly field value and a boolean to check if the value has been set.
func (*Key) GetKeyRingId ¶
GetKeyRingId returns the KeyRingId field value
func (*Key) GetKeyRingIdOk ¶
GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.
func (*Key) GetProtection ¶
func (o *Key) GetProtection() Protection
GetProtection returns the Protection field value
func (*Key) GetProtectionOk ¶
func (o *Key) GetProtectionOk() (*Protection, bool)
GetProtectionOk returns a tuple with the Protection field value and a boolean to check if the value has been set.
func (*Key) GetPurpose ¶
GetPurpose returns the Purpose field value
func (*Key) GetPurposeOk ¶
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*Key) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Key) HasDeletionDate ¶
HasDeletionDate returns a boolean if a field has been set.
func (*Key) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Key) MarshalJSON ¶
func (*Key) SetAccessScope ¶
func (o *Key) SetAccessScope(v AccessScope)
SetAccessScope sets field value
func (*Key) SetDeletionDate ¶
SetDeletionDate gets a reference to the given time.Time and assigns it to the DeletionDate field.
func (*Key) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Key) SetProtection ¶
func (o *Key) SetProtection(v Protection)
SetProtection sets field value
func (*Key) UnmarshalJSON ¶
type KeyList ¶
type KeyList struct {
Keys []Key `json:"keys"`
}
KeyList struct for KeyList
func NewKeyList ¶
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) GetKeysOk ¶
GetKeysOk returns a tuple with the Keys field value and a boolean to check if the value has been set.
func (KeyList) MarshalJSON ¶
func (*KeyList) UnmarshalJSON ¶
type KeyRing ¶
type KeyRing struct {
// The date and time the creation of the key ring was triggered.
CreatedAt time.Time `json:"createdAt"`
// A user chosen description to distinguish multiple key rings.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple key rings.
DisplayName string `json:"displayName"`
// A auto generated unique id which identifies the key ring.
Id string `json:"id"`
// The current state of the key ring.
State string `json:"state"`
}
KeyRing struct for KeyRing
func NewKeyRing ¶
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 ¶
GetCreatedAt returns the CreatedAt field value
func (*KeyRing) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*KeyRing) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*KeyRing) 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 (*KeyRing) GetDisplayName ¶
GetDisplayName returns the DisplayName field value
func (*KeyRing) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*KeyRing) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*KeyRing) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*KeyRing) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (KeyRing) MarshalJSON ¶
func (*KeyRing) SetCreatedAt ¶
SetCreatedAt sets field value
func (*KeyRing) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*KeyRing) SetDisplayName ¶
SetDisplayName sets field value
func (*KeyRing) UnmarshalJSON ¶
type KeyRingList ¶
type KeyRingList struct {
KeyRings []KeyRing `json:"keyRings"`
}
KeyRingList struct for KeyRingList
func NewKeyRingList ¶
func NewKeyRingList(keyRings []KeyRing) *KeyRingList
NewKeyRingList instantiates a new KeyRingList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeyRingListWithDefaults ¶
func NewKeyRingListWithDefaults() *KeyRingList
NewKeyRingListWithDefaults instantiates a new KeyRingList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeyRingList) GetKeyRings ¶
func (o *KeyRingList) GetKeyRings() []KeyRing
GetKeyRings returns the KeyRings field value
func (*KeyRingList) GetKeyRingsOk ¶
func (o *KeyRingList) GetKeyRingsOk() ([]KeyRing, bool)
GetKeyRingsOk returns a tuple with the KeyRings field value and a boolean to check if the value has been set.
func (KeyRingList) MarshalJSON ¶
func (o KeyRingList) MarshalJSON() ([]byte, error)
func (*KeyRingList) SetKeyRings ¶
func (o *KeyRingList) SetKeyRings(v []KeyRing)
SetKeyRings sets field value
func (KeyRingList) ToMap ¶
func (o KeyRingList) ToMap() (map[string]interface{}, error)
func (*KeyRingList) UnmarshalJSON ¶
func (o *KeyRingList) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAccessScope ¶
type NullableAccessScope struct {
// contains filtered or unexported fields
}
func NewNullableAccessScope ¶
func NewNullableAccessScope(val *AccessScope) *NullableAccessScope
func (NullableAccessScope) Get ¶
func (v NullableAccessScope) Get() *AccessScope
func (NullableAccessScope) IsSet ¶
func (v NullableAccessScope) IsSet() bool
func (NullableAccessScope) MarshalJSON ¶
func (v NullableAccessScope) MarshalJSON() ([]byte, error)
func (*NullableAccessScope) Set ¶
func (v *NullableAccessScope) Set(val *AccessScope)
func (*NullableAccessScope) UnmarshalJSON ¶
func (v *NullableAccessScope) UnmarshalJSON(src []byte) error
func (*NullableAccessScope) Unset ¶
func (v *NullableAccessScope) Unset()
type NullableAlgorithm ¶
type NullableAlgorithm struct {
// contains filtered or unexported fields
}
func NewNullableAlgorithm ¶
func NewNullableAlgorithm(val *Algorithm) *NullableAlgorithm
func (NullableAlgorithm) Get ¶
func (v NullableAlgorithm) Get() *Algorithm
func (NullableAlgorithm) IsSet ¶
func (v NullableAlgorithm) IsSet() bool
func (NullableAlgorithm) MarshalJSON ¶
func (v NullableAlgorithm) MarshalJSON() ([]byte, error)
func (*NullableAlgorithm) Set ¶
func (v *NullableAlgorithm) Set(val *Algorithm)
func (*NullableAlgorithm) UnmarshalJSON ¶
func (v *NullableAlgorithm) UnmarshalJSON(src []byte) error
func (*NullableAlgorithm) Unset ¶
func (v *NullableAlgorithm) Unset()
type NullableBackend ¶
type NullableBackend struct {
// contains filtered or unexported fields
}
func NewNullableBackend ¶
func NewNullableBackend(val *Backend) *NullableBackend
func (NullableBackend) Get ¶
func (v NullableBackend) Get() *Backend
func (NullableBackend) IsSet ¶
func (v NullableBackend) IsSet() bool
func (NullableBackend) MarshalJSON ¶
func (v NullableBackend) MarshalJSON() ([]byte, error)
func (*NullableBackend) Set ¶
func (v *NullableBackend) Set(val *Backend)
func (*NullableBackend) UnmarshalJSON ¶
func (v *NullableBackend) UnmarshalJSON(src []byte) error
func (*NullableBackend) Unset ¶
func (v *NullableBackend) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateKeyPayload ¶
type NullableCreateKeyPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateKeyPayload ¶
func NewNullableCreateKeyPayload(val *CreateKeyPayload) *NullableCreateKeyPayload
func (NullableCreateKeyPayload) Get ¶
func (v NullableCreateKeyPayload) Get() *CreateKeyPayload
func (NullableCreateKeyPayload) IsSet ¶
func (v NullableCreateKeyPayload) IsSet() bool
func (NullableCreateKeyPayload) MarshalJSON ¶
func (v NullableCreateKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateKeyPayload) Set ¶
func (v *NullableCreateKeyPayload) Set(val *CreateKeyPayload)
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 (v NullableCreateKeyRingPayload) Get() *CreateKeyRingPayload
func (NullableCreateKeyRingPayload) IsSet ¶
func (v NullableCreateKeyRingPayload) IsSet() bool
func (NullableCreateKeyRingPayload) MarshalJSON ¶
func (v NullableCreateKeyRingPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateKeyRingPayload) Set ¶
func (v *NullableCreateKeyRingPayload) Set(val *CreateKeyRingPayload)
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 NewNullableCreateWrappingKeyPayload ¶
func NewNullableCreateWrappingKeyPayload(val *CreateWrappingKeyPayload) *NullableCreateWrappingKeyPayload
func (NullableCreateWrappingKeyPayload) Get ¶
func (v NullableCreateWrappingKeyPayload) Get() *CreateWrappingKeyPayload
func (NullableCreateWrappingKeyPayload) IsSet ¶
func (v NullableCreateWrappingKeyPayload) IsSet() bool
func (NullableCreateWrappingKeyPayload) MarshalJSON ¶
func (v NullableCreateWrappingKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateWrappingKeyPayload) Set ¶
func (v *NullableCreateWrappingKeyPayload) Set(val *CreateWrappingKeyPayload)
func (*NullableCreateWrappingKeyPayload) UnmarshalJSON ¶
func (v *NullableCreateWrappingKeyPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateWrappingKeyPayload) Unset ¶
func (v *NullableCreateWrappingKeyPayload) Unset()
type NullableDecryptPayload ¶
type NullableDecryptPayload struct {
// contains filtered or unexported fields
}
func NewNullableDecryptPayload ¶
func NewNullableDecryptPayload(val *DecryptPayload) *NullableDecryptPayload
func (NullableDecryptPayload) Get ¶
func (v NullableDecryptPayload) Get() *DecryptPayload
func (NullableDecryptPayload) IsSet ¶
func (v NullableDecryptPayload) IsSet() bool
func (NullableDecryptPayload) MarshalJSON ¶
func (v NullableDecryptPayload) MarshalJSON() ([]byte, error)
func (*NullableDecryptPayload) Set ¶
func (v *NullableDecryptPayload) Set(val *DecryptPayload)
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 (v NullableDecryptedData) Get() *DecryptedData
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 (v NullableEncryptPayload) Get() *EncryptPayload
func (NullableEncryptPayload) IsSet ¶
func (v NullableEncryptPayload) IsSet() bool
func (NullableEncryptPayload) MarshalJSON ¶
func (v NullableEncryptPayload) MarshalJSON() ([]byte, error)
func (*NullableEncryptPayload) Set ¶
func (v *NullableEncryptPayload) Set(val *EncryptPayload)
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 (v NullableEncryptedData) Get() *EncryptedData
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 (v NullableImportKeyPayload) Get() *ImportKeyPayload
func (NullableImportKeyPayload) IsSet ¶
func (v NullableImportKeyPayload) IsSet() bool
func (NullableImportKeyPayload) MarshalJSON ¶
func (v NullableImportKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableImportKeyPayload) Set ¶
func (v *NullableImportKeyPayload) Set(val *ImportKeyPayload)
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 (v NullableKeyRingList) Get() *KeyRingList
func (NullableKeyRingList) IsSet ¶
func (v NullableKeyRingList) IsSet() bool
func (NullableKeyRingList) MarshalJSON ¶
func (v NullableKeyRingList) MarshalJSON() ([]byte, error)
func (*NullableKeyRingList) Set ¶
func (v *NullableKeyRingList) Set(val *KeyRingList)
func (*NullableKeyRingList) UnmarshalJSON ¶
func (v *NullableKeyRingList) UnmarshalJSON(src []byte) error
func (*NullableKeyRingList) Unset ¶
func (v *NullableKeyRingList) Unset()
type NullableProtection ¶
type NullableProtection struct {
// contains filtered or unexported fields
}
func NewNullableProtection ¶
func NewNullableProtection(val *Protection) *NullableProtection
func (NullableProtection) Get ¶
func (v NullableProtection) Get() *Protection
func (NullableProtection) IsSet ¶
func (v NullableProtection) IsSet() bool
func (NullableProtection) MarshalJSON ¶
func (v NullableProtection) MarshalJSON() ([]byte, error)
func (*NullableProtection) Set ¶
func (v *NullableProtection) Set(val *Protection)
func (*NullableProtection) UnmarshalJSON ¶
func (v *NullableProtection) UnmarshalJSON(src []byte) error
func (*NullableProtection) Unset ¶
func (v *NullableProtection) Unset()
type NullablePurpose ¶
type NullablePurpose struct {
// contains filtered or unexported fields
}
func NewNullablePurpose ¶
func NewNullablePurpose(val *Purpose) *NullablePurpose
func (NullablePurpose) Get ¶
func (v NullablePurpose) Get() *Purpose
func (NullablePurpose) IsSet ¶
func (v NullablePurpose) IsSet() bool
func (NullablePurpose) MarshalJSON ¶
func (v NullablePurpose) MarshalJSON() ([]byte, error)
func (*NullablePurpose) Set ¶
func (v *NullablePurpose) Set(val *Purpose)
func (*NullablePurpose) UnmarshalJSON ¶
func (v *NullablePurpose) UnmarshalJSON(src []byte) error
func (*NullablePurpose) Unset ¶
func (v *NullablePurpose) Unset()
type NullableSignPayload ¶
type NullableSignPayload struct {
// contains filtered or unexported fields
}
func NewNullableSignPayload ¶
func NewNullableSignPayload(val *SignPayload) *NullableSignPayload
func (NullableSignPayload) Get ¶
func (v NullableSignPayload) Get() *SignPayload
func (NullableSignPayload) IsSet ¶
func (v NullableSignPayload) IsSet() bool
func (NullableSignPayload) MarshalJSON ¶
func (v NullableSignPayload) MarshalJSON() ([]byte, error)
func (*NullableSignPayload) Set ¶
func (v *NullableSignPayload) Set(val *SignPayload)
func (*NullableSignPayload) UnmarshalJSON ¶
func (v *NullableSignPayload) UnmarshalJSON(src []byte) error
func (*NullableSignPayload) Unset ¶
func (v *NullableSignPayload) Unset()
type NullableSignedData ¶
type NullableSignedData struct {
// contains filtered or unexported fields
}
func NewNullableSignedData ¶
func NewNullableSignedData(val *SignedData) *NullableSignedData
func (NullableSignedData) Get ¶
func (v NullableSignedData) Get() *SignedData
func (NullableSignedData) IsSet ¶
func (v NullableSignedData) IsSet() bool
func (NullableSignedData) MarshalJSON ¶
func (v NullableSignedData) MarshalJSON() ([]byte, error)
func (*NullableSignedData) Set ¶
func (v *NullableSignedData) Set(val *SignedData)
func (*NullableSignedData) UnmarshalJSON ¶
func (v *NullableSignedData) UnmarshalJSON(src []byte) error
func (*NullableSignedData) Unset ¶
func (v *NullableSignedData) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableVerifiedData ¶
type NullableVerifiedData struct {
// contains filtered or unexported fields
}
func NewNullableVerifiedData ¶
func NewNullableVerifiedData(val *VerifiedData) *NullableVerifiedData
func (NullableVerifiedData) Get ¶
func (v NullableVerifiedData) Get() *VerifiedData
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 (v NullableVerifyPayload) Get() *VerifyPayload
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 (v NullableVersionList) Get() *VersionList
func (NullableVersionList) IsSet ¶
func (v NullableVersionList) IsSet() bool
func (NullableVersionList) MarshalJSON ¶
func (v NullableVersionList) MarshalJSON() ([]byte, error)
func (*NullableVersionList) Set ¶
func (v *NullableVersionList) Set(val *VersionList)
func (*NullableVersionList) UnmarshalJSON ¶
func (v *NullableVersionList) UnmarshalJSON(src []byte) error
func (*NullableVersionList) Unset ¶
func (v *NullableVersionList) Unset()
type NullableWrappingAlgorithm ¶
type NullableWrappingAlgorithm struct {
// contains filtered or unexported fields
}
func NewNullableWrappingAlgorithm ¶
func NewNullableWrappingAlgorithm(val *WrappingAlgorithm) *NullableWrappingAlgorithm
func (NullableWrappingAlgorithm) Get ¶
func (v NullableWrappingAlgorithm) Get() *WrappingAlgorithm
func (NullableWrappingAlgorithm) IsSet ¶
func (v NullableWrappingAlgorithm) IsSet() bool
func (NullableWrappingAlgorithm) MarshalJSON ¶
func (v NullableWrappingAlgorithm) MarshalJSON() ([]byte, error)
func (*NullableWrappingAlgorithm) Set ¶
func (v *NullableWrappingAlgorithm) Set(val *WrappingAlgorithm)
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 (v NullableWrappingKey) Get() *WrappingKey
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 (v NullableWrappingKeyList) Get() *WrappingKeyList
func (NullableWrappingKeyList) IsSet ¶
func (v NullableWrappingKeyList) IsSet() bool
func (NullableWrappingKeyList) MarshalJSON ¶
func (v NullableWrappingKeyList) MarshalJSON() ([]byte, error)
func (*NullableWrappingKeyList) Set ¶
func (v *NullableWrappingKeyList) Set(val *WrappingKeyList)
func (*NullableWrappingKeyList) UnmarshalJSON ¶
func (v *NullableWrappingKeyList) UnmarshalJSON(src []byte) error
func (*NullableWrappingKeyList) Unset ¶
func (v *NullableWrappingKeyList) Unset()
type NullableWrappingPurpose ¶
type NullableWrappingPurpose struct {
// contains filtered or unexported fields
}
func NewNullableWrappingPurpose ¶
func NewNullableWrappingPurpose(val *WrappingPurpose) *NullableWrappingPurpose
func (NullableWrappingPurpose) Get ¶
func (v NullableWrappingPurpose) Get() *WrappingPurpose
func (NullableWrappingPurpose) IsSet ¶
func (v NullableWrappingPurpose) IsSet() bool
func (NullableWrappingPurpose) MarshalJSON ¶
func (v NullableWrappingPurpose) MarshalJSON() ([]byte, error)
func (*NullableWrappingPurpose) Set ¶
func (v *NullableWrappingPurpose) Set(val *WrappingPurpose)
func (*NullableWrappingPurpose) UnmarshalJSON ¶
func (v *NullableWrappingPurpose) UnmarshalJSON(src []byte) error
func (*NullableWrappingPurpose) Unset ¶
func (v *NullableWrappingPurpose) Unset()
type Protection ¶
type Protection string
Protection The underlying system that is responsible for protecting the key material. Overrides the deprecated 'backend' field.
const (
PROTECTION_SOFTWARE Protection = "software"
)
List of protection
func NewProtectionFromValue ¶
func NewProtectionFromValue(v string) (*Protection, error)
NewProtectionFromValue returns a pointer to a valid Protection for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Protection) IsValid ¶
func (v Protection) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (Protection) Ptr ¶
func (v Protection) Ptr() *Protection
Ptr returns reference to protection value
func (*Protection) UnmarshalJSON ¶
func (v *Protection) UnmarshalJSON(src []byte) error
type Purpose ¶
type Purpose string
Purpose The purpose of the key.
const ( PURPOSE_SYMMETRIC_ENCRYPT_DECRYPT Purpose = "symmetric_encrypt_decrypt" PURPOSE_ASYMMETRIC_ENCRYPT_DECRYPT Purpose = "asymmetric_encrypt_decrypt" PURPOSE_MESSAGE_AUTHENTICATION_CODE Purpose = "message_authentication_code" PURPOSE_ASYMMETRIC_SIGN_VERIFY Purpose = "asymmetric_sign_verify" )
List of purpose
func NewPurposeFromValue ¶
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) UnmarshalJSON ¶
type SignPayload ¶
type SignPayload struct {
// The data that has to be signed. Encoded in base64.
Data string `json:"data"`
}
SignPayload struct for SignPayload
func NewSignPayload ¶
func NewSignPayload(data string) *SignPayload
NewSignPayload instantiates a new SignPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignPayloadWithDefaults ¶
func NewSignPayloadWithDefaults() *SignPayload
NewSignPayloadWithDefaults instantiates a new SignPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignPayload) GetData ¶
func (o *SignPayload) GetData() string
GetData returns the Data field value
func (*SignPayload) GetDataOk ¶
func (o *SignPayload) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SignPayload) MarshalJSON ¶
func (o SignPayload) MarshalJSON() ([]byte, error)
func (SignPayload) ToMap ¶
func (o SignPayload) ToMap() (map[string]interface{}, error)
func (*SignPayload) UnmarshalJSON ¶
func (o *SignPayload) UnmarshalJSON(data []byte) (err error)
type SignedData ¶
type SignedData struct {
// The data that was signed. Encoded in base64.
Data string `json:"data"`
// The signature of the data. Encoded in base64.
Signature string `json:"signature"`
}
SignedData struct for SignedData
func NewSignedData ¶
func NewSignedData(data string, signature string) *SignedData
NewSignedData instantiates a new SignedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignedDataWithDefaults ¶
func NewSignedDataWithDefaults() *SignedData
NewSignedDataWithDefaults instantiates a new SignedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignedData) GetData ¶
func (o *SignedData) GetData() string
GetData returns the Data field value
func (*SignedData) GetDataOk ¶
func (o *SignedData) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*SignedData) GetSignature ¶
func (o *SignedData) GetSignature() string
GetSignature returns the Signature field value
func (*SignedData) GetSignatureOk ¶
func (o *SignedData) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (SignedData) MarshalJSON ¶
func (o SignedData) MarshalJSON() ([]byte, error)
func (*SignedData) SetSignature ¶
func (o *SignedData) SetSignature(v string)
SetSignature sets field value
func (SignedData) ToMap ¶
func (o SignedData) ToMap() (map[string]interface{}, error)
func (*SignedData) UnmarshalJSON ¶
func (o *SignedData) UnmarshalJSON(data []byte) (err error)
type VerifiedData ¶
type VerifiedData struct {
// Whether or not the data has a valid signature.
Valid bool `json:"valid"`
}
VerifiedData struct for VerifiedData
func NewVerifiedData ¶
func NewVerifiedData(valid bool) *VerifiedData
NewVerifiedData instantiates a new VerifiedData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifiedDataWithDefaults ¶
func NewVerifiedDataWithDefaults() *VerifiedData
NewVerifiedDataWithDefaults instantiates a new VerifiedData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifiedData) GetValid ¶
func (o *VerifiedData) GetValid() bool
GetValid returns the Valid field value
func (*VerifiedData) GetValidOk ¶
func (o *VerifiedData) GetValidOk() (*bool, bool)
GetValidOk returns a tuple with the Valid field value and a boolean to check if the value has been set.
func (VerifiedData) MarshalJSON ¶
func (o VerifiedData) MarshalJSON() ([]byte, error)
func (VerifiedData) ToMap ¶
func (o VerifiedData) ToMap() (map[string]interface{}, error)
func (*VerifiedData) UnmarshalJSON ¶
func (o *VerifiedData) UnmarshalJSON(data []byte) (err error)
type VerifyPayload ¶
type VerifyPayload struct {
// The data to be verified. Encoded in base64.
Data string `json:"data"`
// The signature of the data. Encoded in base64.
Signature string `json:"signature"`
}
VerifyPayload struct for VerifyPayload
func NewVerifyPayload ¶
func NewVerifyPayload(data string, signature string) *VerifyPayload
NewVerifyPayload instantiates a new VerifyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifyPayloadWithDefaults ¶
func NewVerifyPayloadWithDefaults() *VerifyPayload
NewVerifyPayloadWithDefaults instantiates a new VerifyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifyPayload) GetData ¶
func (o *VerifyPayload) GetData() string
GetData returns the Data field value
func (*VerifyPayload) GetDataOk ¶
func (o *VerifyPayload) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*VerifyPayload) GetSignature ¶
func (o *VerifyPayload) GetSignature() string
GetSignature returns the Signature field value
func (*VerifyPayload) GetSignatureOk ¶
func (o *VerifyPayload) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (VerifyPayload) MarshalJSON ¶
func (o VerifyPayload) MarshalJSON() ([]byte, error)
func (*VerifyPayload) SetSignature ¶
func (o *VerifyPayload) SetSignature(v string)
SetSignature sets field value
func (VerifyPayload) ToMap ¶
func (o VerifyPayload) ToMap() (map[string]interface{}, error)
func (*VerifyPayload) UnmarshalJSON ¶
func (o *VerifyPayload) UnmarshalJSON(data []byte) (err error)
type Version ¶
type Version struct {
// The date and time the creation of the key was triggered.
CreatedAt time.Time `json:"createdAt"`
// The scheduled date when a version's key material will be erased completely from the backend
DestroyDate *time.Time `json:"destroyDate,omitempty"`
// States whether versions is enabled or disabled.
Disabled bool `json:"disabled"`
// The unique id of the key this version is assigned to.
KeyId string `json:"keyId"`
// The unique id of the key ring the key of this version is assigned to.
KeyRingId string `json:"keyRingId"`
// A sequential number which identifies the key versions.
Number int64 `json:"number"`
// The public key of the key version. Only present in asymmetric keys.
PublicKey *string `json:"publicKey,omitempty"`
// The current state of the key.
State string `json:"state"`
}
Version struct for Version
func NewVersion ¶
func NewVersion(createdAt time.Time, disabled bool, keyId string, keyRingId string, number int64, state string) *Version
NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionWithDefaults ¶
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Version) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Version) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Version) GetDestroyDate ¶
GetDestroyDate returns the DestroyDate field value if set, zero value otherwise.
func (*Version) GetDestroyDateOk ¶
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 ¶
GetDisabled returns the Disabled field value
func (*Version) GetDisabledOk ¶
GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.
func (*Version) GetKeyIdOk ¶
GetKeyIdOk returns a tuple with the KeyId field value and a boolean to check if the value has been set.
func (*Version) GetKeyRingId ¶
GetKeyRingId returns the KeyRingId field value
func (*Version) GetKeyRingIdOk ¶
GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.
func (*Version) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*Version) GetPublicKey ¶
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*Version) GetPublicKeyOk ¶
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) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Version) HasDestroyDate ¶
HasDestroyDate returns a boolean if a field has been set.
func (*Version) HasPublicKey ¶
HasPublicKey returns a boolean if a field has been set.
func (Version) MarshalJSON ¶
func (*Version) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Version) SetDestroyDate ¶
SetDestroyDate gets a reference to the given time.Time and assigns it to the DestroyDate field.
func (*Version) SetKeyRingId ¶
SetKeyRingId sets field value
func (*Version) SetPublicKey ¶
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*Version) UnmarshalJSON ¶
type VersionList ¶
type VersionList struct {
Versions []Version `json:"versions"`
}
VersionList struct for VersionList
func NewVersionList ¶
func NewVersionList(versions []Version) *VersionList
NewVersionList instantiates a new VersionList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionListWithDefaults ¶
func NewVersionListWithDefaults() *VersionList
NewVersionListWithDefaults instantiates a new VersionList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VersionList) GetVersions ¶
func (o *VersionList) GetVersions() []Version
GetVersions returns the Versions field value
func (*VersionList) GetVersionsOk ¶
func (o *VersionList) GetVersionsOk() ([]Version, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (VersionList) MarshalJSON ¶
func (o VersionList) MarshalJSON() ([]byte, error)
func (*VersionList) SetVersions ¶
func (o *VersionList) SetVersions(v []Version)
SetVersions sets field value
func (VersionList) ToMap ¶
func (o VersionList) ToMap() (map[string]interface{}, error)
func (*VersionList) UnmarshalJSON ¶
func (o *VersionList) UnmarshalJSON(data []byte) (err error)
type WrappingAlgorithm ¶
type WrappingAlgorithm string
WrappingAlgorithm The wrapping algorithm used to wrap the key to import.
const ( WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256 WrappingAlgorithm = "rsa_2048_oaep_sha256" WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256 WrappingAlgorithm = "rsa_3072_oaep_sha256" WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256 WrappingAlgorithm = "rsa_4096_oaep_sha256" WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512 WrappingAlgorithm = "rsa_4096_oaep_sha512" WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_2048_oaep_sha256_aes_256_key_wrap" WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_3072_oaep_sha256_aes_256_key_wrap" WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha256_aes_256_key_wrap" WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha512_aes_256_key_wrap" )
List of wrappingAlgorithm
func NewWrappingAlgorithmFromValue ¶
func NewWrappingAlgorithmFromValue(v string) (*WrappingAlgorithm, error)
NewWrappingAlgorithmFromValue returns a pointer to a valid WrappingAlgorithm for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WrappingAlgorithm) IsValid ¶
func (v WrappingAlgorithm) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WrappingAlgorithm) Ptr ¶
func (v WrappingAlgorithm) Ptr() *WrappingAlgorithm
Ptr returns reference to wrappingAlgorithm value
func (*WrappingAlgorithm) UnmarshalJSON ¶
func (v *WrappingAlgorithm) UnmarshalJSON(src []byte) error
type WrappingKey ¶
type WrappingKey struct {
AccessScope AccessScope `json:"access_scope"`
Algorithm WrappingAlgorithm `json:"algorithm"`
// Deprecated
Backend Backend `json:"backend"`
// The date and time the creation of the wrapping key was triggered.
CreatedAt time.Time `json:"createdAt"`
// A user chosen description to distinguish multiple wrapping keys.
Description *string `json:"description,omitempty"`
// The display name to distinguish multiple wrapping keys.
DisplayName string `json:"displayName"`
// The date and time the wrapping key will expire.
ExpiresAt time.Time `json:"expiresAt"`
// A auto generated unique id which identifies the wrapping keys.
Id string `json:"id"`
// The unique id of the key ring this wrapping key is assigned to.
KeyRingId string `json:"keyRingId"`
Protection Protection `json:"protection"`
// The public key of the wrapping key.
PublicKey *string `json:"publicKey,omitempty"`
Purpose WrappingPurpose `json:"purpose"`
// The current state of the wrapping key.
State string `json:"state"`
}
WrappingKey struct for WrappingKey
func NewWrappingKey ¶
func NewWrappingKey(accessScope AccessScope, algorithm WrappingAlgorithm, backend Backend, createdAt time.Time, displayName string, expiresAt time.Time, id string, keyRingId string, protection Protection, purpose WrappingPurpose, state string) *WrappingKey
NewWrappingKey instantiates a new WrappingKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWrappingKeyWithDefaults ¶
func NewWrappingKeyWithDefaults() *WrappingKey
NewWrappingKeyWithDefaults instantiates a new WrappingKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WrappingKey) GetAccessScope ¶
func (o *WrappingKey) GetAccessScope() AccessScope
GetAccessScope returns the AccessScope field value
func (*WrappingKey) GetAccessScopeOk ¶
func (o *WrappingKey) GetAccessScopeOk() (*AccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value and a boolean to check if the value has been set.
func (*WrappingKey) GetAlgorithm ¶
func (o *WrappingKey) GetAlgorithm() WrappingAlgorithm
GetAlgorithm returns the Algorithm field value
func (*WrappingKey) GetAlgorithmOk ¶
func (o *WrappingKey) GetAlgorithmOk() (*WrappingAlgorithm, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*WrappingKey) GetBackend ¶
func (o *WrappingKey) GetBackend() Backend
GetBackend returns the Backend field value Deprecated
func (*WrappingKey) GetBackendOk ¶
func (o *WrappingKey) GetBackendOk() (*Backend, bool)
GetBackendOk returns a tuple with the Backend field value and a boolean to check if the value has been set. Deprecated
func (*WrappingKey) GetCreatedAt ¶
func (o *WrappingKey) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*WrappingKey) GetCreatedAtOk ¶
func (o *WrappingKey) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*WrappingKey) GetDescription ¶
func (o *WrappingKey) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*WrappingKey) GetDescriptionOk ¶
func (o *WrappingKey) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WrappingKey) GetDisplayName ¶
func (o *WrappingKey) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*WrappingKey) GetDisplayNameOk ¶
func (o *WrappingKey) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*WrappingKey) GetExpiresAt ¶
func (o *WrappingKey) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*WrappingKey) GetExpiresAtOk ¶
func (o *WrappingKey) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*WrappingKey) GetIdOk ¶
func (o *WrappingKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WrappingKey) GetKeyRingId ¶
func (o *WrappingKey) GetKeyRingId() string
GetKeyRingId returns the KeyRingId field value
func (*WrappingKey) GetKeyRingIdOk ¶
func (o *WrappingKey) GetKeyRingIdOk() (*string, bool)
GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.
func (*WrappingKey) GetProtection ¶
func (o *WrappingKey) GetProtection() Protection
GetProtection returns the Protection field value
func (*WrappingKey) GetProtectionOk ¶
func (o *WrappingKey) GetProtectionOk() (*Protection, bool)
GetProtectionOk returns a tuple with the Protection field value and a boolean to check if the value has been set.
func (*WrappingKey) GetPublicKey ¶
func (o *WrappingKey) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*WrappingKey) GetPublicKeyOk ¶
func (o *WrappingKey) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WrappingKey) GetPurpose ¶
func (o *WrappingKey) GetPurpose() WrappingPurpose
GetPurpose returns the Purpose field value
func (*WrappingKey) GetPurposeOk ¶
func (o *WrappingKey) GetPurposeOk() (*WrappingPurpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*WrappingKey) GetState ¶
func (o *WrappingKey) GetState() string
GetState returns the State field value
func (*WrappingKey) GetStateOk ¶
func (o *WrappingKey) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*WrappingKey) HasDescription ¶
func (o *WrappingKey) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*WrappingKey) HasPublicKey ¶
func (o *WrappingKey) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (WrappingKey) MarshalJSON ¶
func (o WrappingKey) MarshalJSON() ([]byte, error)
func (*WrappingKey) SetAccessScope ¶
func (o *WrappingKey) SetAccessScope(v AccessScope)
SetAccessScope sets field value
func (*WrappingKey) SetAlgorithm ¶
func (o *WrappingKey) SetAlgorithm(v WrappingAlgorithm)
SetAlgorithm sets field value
func (*WrappingKey) SetBackend ¶
func (o *WrappingKey) SetBackend(v Backend)
SetBackend sets field value Deprecated
func (*WrappingKey) SetCreatedAt ¶
func (o *WrappingKey) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*WrappingKey) SetDescription ¶
func (o *WrappingKey) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*WrappingKey) SetDisplayName ¶
func (o *WrappingKey) SetDisplayName(v string)
SetDisplayName sets field value
func (*WrappingKey) SetExpiresAt ¶
func (o *WrappingKey) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (*WrappingKey) SetKeyRingId ¶
func (o *WrappingKey) SetKeyRingId(v string)
SetKeyRingId sets field value
func (*WrappingKey) SetProtection ¶
func (o *WrappingKey) SetProtection(v Protection)
SetProtection sets field value
func (*WrappingKey) SetPublicKey ¶
func (o *WrappingKey) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*WrappingKey) SetPurpose ¶
func (o *WrappingKey) SetPurpose(v WrappingPurpose)
SetPurpose sets field value
func (WrappingKey) ToMap ¶
func (o WrappingKey) ToMap() (map[string]interface{}, error)
func (*WrappingKey) UnmarshalJSON ¶
func (o *WrappingKey) UnmarshalJSON(data []byte) (err error)
type WrappingKeyList ¶
type WrappingKeyList struct {
WrappingKeys []WrappingKey `json:"wrappingKeys"`
}
WrappingKeyList struct for WrappingKeyList
func NewWrappingKeyList ¶
func NewWrappingKeyList(wrappingKeys []WrappingKey) *WrappingKeyList
NewWrappingKeyList instantiates a new WrappingKeyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWrappingKeyListWithDefaults ¶
func NewWrappingKeyListWithDefaults() *WrappingKeyList
NewWrappingKeyListWithDefaults instantiates a new WrappingKeyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WrappingKeyList) GetWrappingKeys ¶
func (o *WrappingKeyList) GetWrappingKeys() []WrappingKey
GetWrappingKeys returns the WrappingKeys field value
func (*WrappingKeyList) GetWrappingKeysOk ¶
func (o *WrappingKeyList) GetWrappingKeysOk() ([]WrappingKey, bool)
GetWrappingKeysOk returns a tuple with the WrappingKeys field value and a boolean to check if the value has been set.
func (WrappingKeyList) MarshalJSON ¶
func (o WrappingKeyList) MarshalJSON() ([]byte, error)
func (*WrappingKeyList) SetWrappingKeys ¶
func (o *WrappingKeyList) SetWrappingKeys(v []WrappingKey)
SetWrappingKeys sets field value
func (WrappingKeyList) ToMap ¶
func (o WrappingKeyList) ToMap() (map[string]interface{}, error)
func (*WrappingKeyList) UnmarshalJSON ¶
func (o *WrappingKeyList) UnmarshalJSON(data []byte) (err error)
type WrappingPurpose ¶
type WrappingPurpose string
WrappingPurpose The wrapping purpose for the wrapping key.
const ( WRAPPINGPURPOSE_WRAP_SYMMETRIC_KEY WrappingPurpose = "wrap_symmetric_key" WRAPPINGPURPOSE_WRAP_ASYMMETRIC_KEY WrappingPurpose = "wrap_asymmetric_key" )
List of wrappingPurpose
func NewWrappingPurposeFromValue ¶
func NewWrappingPurposeFromValue(v string) (*WrappingPurpose, error)
NewWrappingPurposeFromValue returns a pointer to a valid WrappingPurpose for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WrappingPurpose) IsValid ¶
func (v WrappingPurpose) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WrappingPurpose) Ptr ¶
func (v WrappingPurpose) Ptr() *WrappingPurpose
Ptr returns reference to wrappingPurpose value
func (*WrappingPurpose) UnmarshalJSON ¶
func (v *WrappingPurpose) UnmarshalJSON(src []byte) error
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_access_scope.go
- model_algorithm.go
- model_backend.go
- model_create_key_payload.go
- model_create_key_ring_payload.go
- model_create_wrapping_key_payload.go
- model_decrypt_payload.go
- model_decrypted_data.go
- model_encrypt_payload.go
- model_encrypted_data.go
- model_http_error.go
- model_import_key_payload.go
- model_key.go
- model_key_list.go
- model_key_ring.go
- model_key_ring_list.go
- model_protection.go
- model_purpose.go
- model_sign_payload.go
- model_signed_data.go
- model_verified_data.go
- model_verify_payload.go
- model_version.go
- model_version_list.go
- model_wrapping_algorithm.go
- model_wrapping_key.go
- model_wrapping_key_list.go
- model_wrapping_purpose.go
- response.go
- utils.go