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