2 references to ThrowIfPublicKeyWrongSize
System.Security.Cryptography (2)
System\Security\Cryptography\X25519DiffieHellman.cs (2)
111ThrowIfPublicKeyWrongSize(otherPartyPublicKey, nameof(otherPartyPublicKey)); 181ThrowIfPublicKeyWrongSize(otherPartyPublicKey, nameof(otherPartyPublicKey));