2 references to ThrowIfPublicKeyWrongSize
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (2)
114
ThrowIfPublicKeyWrongSize
(otherPartyPublicKey, nameof(otherPartyPublicKey));
184
ThrowIfPublicKeyWrongSize
(otherPartyPublicKey, nameof(otherPartyPublicKey));