Appearance
WithGcmSizes Method
Definition
- Namespace:
JASE.Crypto - Assembly:
JASE.Crypto.dll
AesGcmOptions WithGcmSizes(int nonceByteSize, int tagByteSize)
csharp
AesGcmOptions WithGcmSizes(int nonceByteSize, int tagByteSize)Overrides the AES-GCM nonce and tag sizes for this single operation, without mutating the process-wide Configuration defaults. Returns the same instance for chaining.
Parameters
| Name | Description |
|---|---|
nonceByteSize | Nonce length in bytes (must be within the AES-GCM legal range). |
tagByteSize | Authentication tag length in bytes (must be within the AES-GCM legal range). |
Returns
This AesGcmOptions instance.