Documentation
¶
Index ¶
- type CreateKeyRequest
- type CreateKeyResponse
- type DeleteKeyRequest
- type DeleteKeyResponse
- type DisableKeyRequest
- type DisableKeyResponse
- type EnableKeyRequest
- type EnableKeyResponse
- type ExtractKeyRegionRequest
- type ExtractKeyRegionResponse
- type GetImportParametersRequest
- type GetImportParametersResponse
- type GetKeyRequest
- type GetKeyResponse
- type ImportKeyMaterialRequest
- type ImportKeyMaterialResponse
- type KeyAlgorithm
- type KeyManagement
- type KeyType
- type RequestParameters
- type TransformCryptoAccessDataRequest
- type TransformCryptoAccessDataResponse
- type ValidateKeyAccessDataRequest
- type ValidateKeyAccessDataResponse
- type ValidateKeyRequest
- type ValidateKeyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateKeyRequest ¶
type CreateKeyRequest struct {
// V1 Fields
Config common.KeystoreConfig
KeyAlgorithm KeyAlgorithm
ID *string
Region string
KeyType KeyType
}
CreateKeyRequest contains parameters for key creation
type CreateKeyResponse ¶
type DeleteKeyRequest ¶
type DeleteKeyRequest struct {
// V1 Fields
Parameters RequestParameters
Window *int32
}
DeleteKeyRequest contains parameters for key deletion
type DeleteKeyResponse ¶
type DeleteKeyResponse struct{}
type DisableKeyRequest ¶
type DisableKeyRequest struct {
// V1 Fields
Parameters RequestParameters
}
DisableKeyRequest contains parameters for key disablement
type DisableKeyResponse ¶
type DisableKeyResponse struct{}
type EnableKeyRequest ¶
type EnableKeyRequest struct {
// V1 Fields
Parameters RequestParameters
}
EnableKeyRequest contains parameters for key enablement
type EnableKeyResponse ¶
type EnableKeyResponse struct{}
type ExtractKeyRegionRequest ¶
type ExtractKeyRegionResponse ¶
type ExtractKeyRegionResponse struct {
// V1 Fields
Region string
}
type GetImportParametersRequest ¶
type GetImportParametersRequest struct {
// V1 Fields
Parameters RequestParameters
KeyAlgorithm KeyAlgorithm
}
type GetKeyRequest ¶
type GetKeyRequest struct {
// V1 Fields
Parameters RequestParameters
}
type GetKeyResponse ¶
type GetKeyResponse struct {
// V1 Fields
KeyID string
KeyAlgorithm KeyAlgorithm
Status string
Usage string
}
type ImportKeyMaterialRequest ¶
type ImportKeyMaterialRequest struct {
// V1 Fields
Parameters RequestParameters
ImportParameters map[string]any
EncryptedKeyMaterial string
}
type ImportKeyMaterialResponse ¶
type ImportKeyMaterialResponse struct{}
type KeyAlgorithm ¶
type KeyAlgorithm int32
const ( UnspecifiedKeyAlgorithm KeyAlgorithm = iota AES256K RSA3072 RSA4096 )
type KeyManagement ¶
type KeyManagement interface {
ServiceInfo() api.Info
GetKey(ctx context.Context, req *GetKeyRequest) (*GetKeyResponse, error)
CreateKey(ctx context.Context, req *CreateKeyRequest) (*CreateKeyResponse, error)
DeleteKey(ctx context.Context, req *DeleteKeyRequest) (*DeleteKeyResponse, error)
EnableKey(ctx context.Context, req *EnableKeyRequest) (*EnableKeyResponse, error)
GetImportParameters(ctx context.Context, req *GetImportParametersRequest) (*GetImportParametersResponse, error)
ImportKeyMaterial(ctx context.Context, req *ImportKeyMaterialRequest) (*ImportKeyMaterialResponse, error)
ValidateKey(ctx context.Context, req *ValidateKeyRequest) (*ValidateKeyResponse, error)
ValidateKeyAccessData(
ctx context.Context,
req *ValidateKeyAccessDataRequest,
) (*ValidateKeyAccessDataResponse, error)
TransformCryptoAccessData(
ctx context.Context,
req *TransformCryptoAccessDataRequest,
) (*TransformCryptoAccessDataResponse, error)
ExtractKeyRegion(ctx context.Context, req *ExtractKeyRegionRequest) (*ExtractKeyRegionResponse, error)
}
type RequestParameters ¶
type RequestParameters struct {
// V1 Fields
Config common.KeystoreConfig
KeyID string
}
type ValidateKeyRequest ¶
type ValidateKeyRequest struct {
// V1 Fields
KeyType KeyType
KeyAlgorithm KeyAlgorithm
Region string
NativeKeyID string
}
type ValidateKeyResponse ¶
Click to show internal directories.
Click to hide internal directories.