3 instantiations of AesGcm
Microsoft.AspNetCore.DataProtection (2)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
135
using var aes = new
AesGcm
(derivedKey, TAG_SIZE_IN_BYTES);
279
using var aes = new
AesGcm
(derivedKey, TAG_SIZE_IN_BYTES);
System.Security.Cryptography (1)
System\Security\Cryptography\HpkeManagedAesAeadAdapter.cs (1)
13
_aes = new
AesGcm
(key, suite.AeadMetadata.Nt);
19 references to AesGcm
Microsoft.AspNetCore.DataProtection (2)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
135
using
var
aes = new AesGcm(derivedKey, TAG_SIZE_IN_BYTES);
279
using
var
aes = new AesGcm(derivedKey, TAG_SIZE_IN_BYTES);
Microsoft.Bcl.Cryptography (1)
Microsoft.Bcl.Cryptography.Forwards.cs (1)
5
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
AesGcm
))]
netstandard (1)
netstandard.cs (1)
1843
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
AesGcm
))]
System.Security.Cryptography (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AesGcm.cs (12)
59
/// Initializes a new instance of the <see cref="
AesGcm
" /> class with a provided key and required tag size.
95
/// Initializes a new instance of the <see cref="
AesGcm
" /> class with a provided key and required tag size.
157
/// <para>The <paramref name="nonce" /> parameter length is not permitted by <see cref="
AesGcm
.NonceByteSizes" />.</para>
159
/// <para>The <paramref name="tag" /> parameter length is not permitted by <see cref="
AesGcm
.TagByteSizes" />.</para>
198
/// <para>The <paramref name="nonce" /> parameter length is not permitted by <see cref="
AesGcm
.NonceByteSizes" />.</para>
200
/// <para>The <paramref name="tag" /> parameter length is not permitted by <see cref="
AesGcm
.TagByteSizes" />.</para>
233
/// <para>The <paramref name="nonce" /> parameter length is not permitted by <see cref="
AesGcm
.NonceByteSizes" />.</para>
235
/// <para>The <paramref name="tag" /> parameter length is not permitted by <see cref="
AesGcm
.TagByteSizes" />.</para>
274
/// <para>The <paramref name="nonce" /> parameter length is not permitted by <see cref="
AesGcm
.NonceByteSizes" />.</para>
276
/// <para>The <paramref name="tag" /> parameter length is not permitted by <see cref="
AesGcm
.TagByteSizes" />.</para>
294
/// Releases the resources used by the current instance of the <see cref="
AesGcm
"/> class.
330
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(
AesGcm
)));
System\Security\Cryptography\HpkeAeadMetadata.Managed.cs (1)
19
return
AesGcm
.IsSupported;
System\Security\Cryptography\HpkeManagedAesAeadAdapter.cs (1)
8
private readonly
AesGcm
_aes;
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
6
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
AesGcm
))]