ECDiffieHellman.DeriveRawSecretAgreement(ECDiffieHellmanPublicKey) Metodo

Definizione

Derivare materiale chiave non elaborato.

public:
 virtual cli::array <System::Byte> ^ DeriveRawSecretAgreement(System::Security::Cryptography::ECDiffieHellmanPublicKey ^ otherPartyPublicKey);
public virtual byte[] DeriveRawSecretAgreement (System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey);
abstract member DeriveRawSecretAgreement : System.Security.Cryptography.ECDiffieHellmanPublicKey -> byte[]
override this.DeriveRawSecretAgreement : System.Security.Cryptography.ECDiffieHellmanPublicKey -> byte[]
Public Overridable Function DeriveRawSecretAgreement (otherPartyPublicKey As ECDiffieHellmanPublicKey) As Byte()

Parametri

otherPartyPublicKey
ECDiffieHellmanPublicKey

Chiave pubblica del partito con cui derivare un segreto reciproco.

Restituisce

Byte[]

Contratto chiave non elaborato.

Eccezioni

otherPartyPublicKey è null.

otherPartyPublicKey si trova su una curva diversa da questa chiave.

Un'implementazione derivata non ha fornito un'implementazione del metodo.

La piattaforma corrente non supporta il contratto non elaborato.

L'oggetto è già stato eliminato.

Commenti

È necessario prestare attenzione quando si usa il valore del contratto segreto derivato non elaborato. Il valore non elaborato deve essere usato come input in una funzione di derivazione chiave e non viene usato direttamente come materiale chiave.

Si applica a