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