File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -18,31 +18,38 @@ import (
1818type CreateKeysRequest struct {
1919 Keys []CreateKeyRequest
2020}
21+
2122type CreateKeyRequest struct {
2223 KeyName string
2324 KeyType KeyType
2425}
26+
2527type CreateKeysResponse struct {
2628 Keys []CreateKeyResponse
2729}
30+
2831type CreateKeyResponse struct {
2932 KeyInfo KeyInfo
3033}
34+
3135type DeleteKeysRequest struct {
3236 KeyNames []string
3337}
3438
3539type DeleteKeysResponse struct {}
40+
3641type ImportKeysRequest struct {
3742 Keys []ImportKeyRequest
3843}
44+
3945type ImportKeyRequest struct {
4046 KeyName string
4147 KeyType KeyType
4248 Data []byte
4349}
4450
4551type ImportKeysResponse struct {}
52+
4653type ExportKeyParam struct {
4754 KeyName string
4855 Enc EncryptionParams
@@ -51,9 +58,11 @@ type ExportKeyParam struct {
5158type ExportKeysRequest struct {
5259 Keys []ExportKeyParam
5360}
61+
5462type ExportKeysResponse struct {
5563 Keys []ExportKeyResponse
5664}
65+
5766type ExportKeyResponse struct {
5867 KeyName string
5968 Data []byte
@@ -62,6 +71,7 @@ type ExportKeyResponse struct {
6271type SetMetadataRequest struct {
6372 Updates []SetMetadataUpdate
6473}
74+
6575type SetMetadataUpdate struct {
6676 KeyName string
6777 Metadata []byte
You can’t perform that action at this time.
0 commit comments