3 references to GetSupportedKeyLengths
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
Cng\CachedAlgorithmHandlesTests.cs (1)
118
var supportedKeyLengths = algorithmHandle.
GetSupportedKeyLengths
();
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
135
algorithmHandle.
GetSupportedKeyLengths
().EnsureValidKeyLength((uint)configuration.EncryptionAlgorithmKeySize);
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
101
algorithmHandle.
GetSupportedKeyLengths
().EnsureValidKeyLength((uint)configuration.EncryptionAlgorithmKeySize);