5 references to ToUnsignedIntegerBytes
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
48byte[] n = key.Modulus.ToUnsignedIntegerBytes(); 54Exponent = key.PublicExponent.ToUnsignedIntegerBytes(), 113Modulus = key.Modulus.ToUnsignedIntegerBytes(), 114Exponent = key.PublicExponent.ToUnsignedIntegerBytes(),
System\Security\Cryptography\EccKeyFormatHelper.cs (1)
448curve.Cofactor = specifiedParameters.Cofactor.Value.ToUnsignedIntegerBytes();