แก้ไข

แชร์ผ่าน


ECDiffieHellmanOpenSsl.DuplicateKeyHandle Method

Definition

Gets a SafeEvpPKeyHandle representation of the cryptographic key.

public:
 System::Security::Cryptography::SafeEvpPKeyHandle ^ DuplicateKeyHandle();
public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle ();
member this.DuplicateKeyHandle : unit -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Function DuplicateKeyHandle () As SafeEvpPKeyHandle

Returns

A SafeEvpPKeyHandle representation of the cryptographic key.

Remarks

Each call to this method produces a new SafeEvpPKeyHandle object with its own lifetime. The objects returned by this method can safely be used even after this ECDiffieHellmanOpenSsl instance has been disposed.

Applies to