private GenerateKey ( ) : Microsoft.Win32.SafeHandles.SafeDsaHandle | ||
리턴 | Microsoft.Win32.SafeHandles.SafeDsaHandle |
private SafeDsaHandle GenerateKey()
{
SafeDsaHandle key;
if (!Interop.Crypto.DsaGenerateKey(out key, KeySize))
{
throw Interop.Crypto.CreateOpenSslCryptographicException();
}
return key;
}