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