Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider.SymmetricKeyAlgorithmProvider C# (CSharp) Method

SymmetricKeyAlgorithmProvider() private method

private SymmetricKeyAlgorithmProvider ( string name, SymmetricAlgorithm algorithm ) : System
name string
algorithm System.Security.Cryptography.SymmetricAlgorithm
return System
		internal SymmetricKeyAlgorithmProvider (string name, SymmetricAlgorithm algorithm)
		{
			AlgorithmName = name;
			this.context = algorithm;

			KeySizes s = algorithm.LegalKeySizes[0];
			
			SupportedKeyLengths = new SupportedKeyLengths
			{
				Increment = (uint)s.SkipSize,
				Max = (uint)s.MaxSize,
				Min = (uint)s.MinSize
			};
		}