sharedSecretFromKeyAgreement(with:)
Computes a shared secret with the provided public key from another party.
Declaration
func sharedSecretFromKeyAgreement(with publicKeyShare: P256.KeyAgreement.PublicKey) throws -> SharedSecretParameters
- publicKeyShare:
The public key from another party to be combined with the private key from this user to create the shared secret.
Return Value
The computed shared secret.