ECDsaOpenSsl.DuplicateKeyHandle 方法

定义

获取加密密钥的 SafeEvpPKeyHandle 表示形式。

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

返回

SafeEvpPKeyHandle

加密密钥的 SafeEvpPKeyHandle 表示形式。

注解

每次调用此方法时,都会生成一个具有其生存期的新 SafeEvpPKeyHandle 对象。 即使释放了此 ECDsaOpenSsl 实例,此方法返回的对象也能安全地使用。

适用于