Conditions | 2 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package kms |
||
37 | func (r DecryptRequest) ToInput() *SDK.DecryptInput { |
||
38 | in := &SDK.DecryptInput{} |
||
39 | |||
40 | in.CiphertextBlob = r.CiphertextBlob |
||
41 | in.EncryptionAlgorithm = SDK.EncryptionAlgorithmSpec(r.EncryptionAlgorithm) |
||
42 | in.EncryptionContext = r.EncryptionContext |
||
43 | in.GrantTokens = r.GrantTokens |
||
44 | |||
45 | if r.KeyID != "" { |
||
46 | in.KeyId = pointers.String(r.KeyID) |
||
47 | } |
||
48 | return in |
||
49 | } |
||
70 |