There was an error while loading. Please reload this page.
1 parent 1ff4ac0 commit df22ac2Copy full SHA for df22ac2
2 files changed
src/Amazon.Cryptography/Actions/EncryptMessageRequest.cs
@@ -0,0 +1,12 @@
1
+namespace Amazon.Cryptography;
2
+
3
+public sealed class EncryptMessageRequest
4
+{
5
+ public required AlgorithmSuiteId AlgorithmId { get; init; }
6
7
+ public required EncryptionContext EncryptionContext { get; init; }
8
9
+ public uint FrameLength { get; } = 4096;
10
11
+ public required byte[] Plaintext { get; init; }
12
+}
src/Amazon.Cryptography/Keys/DataKey.cs
@@ -0,0 +1,10 @@
+public readonly ref struct DataKey
+ public byte[] RawKey { get; init; }
+ public Utf8String ProviderId { get; init; }
+ public Utf8String ProviderContext { get; init; }
0 commit comments