DSAOpenSsl 생성자

정의

오버로드

Name Description
DSAOpenSsl()

기본 키 크기가 2048비트인 클래스의 새 인스턴스 DSAOpenSsl 를 초기화합니다.

DSAOpenSsl(Int32)

지정된 키 크기를 사용하여 클래스의 DSAOpenSsl 새 인스턴스를 초기화합니다.

DSAOpenSsl(IntPtr)

로 표시된 기존 OpenSSL 키에서 클래스의 DSAOpenSsl 새 인스턴스를 DSA*초기화합니다.

DSAOpenSsl(DSAParameters)

클래스의 새 인스턴스를 DSAOpenSsl 초기화하고 기존 키에서 매개 변수를 가져옵니다.

DSAOpenSsl(SafeEvpPKeyHandle)

로 표시된 기존 OpenSSL 키에서 클래스의 DSAOpenSsl 새 인스턴스를 EVP_PKEY*초기화합니다.

DSAOpenSsl()

Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

기본 키 크기가 2048비트인 클래스의 새 인스턴스 DSAOpenSsl 를 초기화합니다.

public:
 DSAOpenSsl();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl();
public DSAOpenSsl();
Public Sub New ()
특성

설명

이 생성자는 새 DSA 퍼블릭/프라이빗 키페어를 즉시 생성하지 않으며, 필요할 때 키를 생성하는 데 사용할 크기를 설정합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.

추가 정보

적용 대상

DSAOpenSsl(Int32)

Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

지정된 키 크기를 사용하여 클래스의 DSAOpenSsl 새 인스턴스를 초기화합니다.

public:
 DSAOpenSsl(int keySize);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(int keySize);
public DSAOpenSsl(int keySize);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (keySize As Integer)

매개 변수

keySize
Int32
특성

예외

keySize 구현에서는 값이 지원되지 않습니다.

설명

이 생성자는 새 DSA 퍼블릭/프라이빗 키페어를 즉시 생성하지 않으며, 필요할 때 키를 생성하는 데 사용할 크기를 설정합니다. 메서드 또는 다른 키 가져오기 메서드 keySizeImportParameters 통해 키를 로드하는 경우 이 생성자에 제공된 키는 아무런 의미가 없습니다.

추가 정보

적용 대상

DSAOpenSsl(IntPtr)

Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

로 표시된 기존 OpenSSL 키에서 클래스의 DSAOpenSsl 새 인스턴스를 DSA*초기화합니다.

public:
 DSAOpenSsl(IntPtr handle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(IntPtr handle);
public DSAOpenSsl(IntPtr handle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (handle As IntPtr)

매개 변수

handle
IntPtr

nativeint

특성

예외

handleZero입니다.

handle 유효한 DSA*아닙니다.

설명

Important

OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 왔는지 확인합니다. 자세한 내용은 OpenSslVersion를 참조하세요.

추가 정보

적용 대상

DSAOpenSsl(DSAParameters)

Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

클래스의 새 인스턴스를 DSAOpenSsl 초기화하고 기존 키에서 매개 변수를 가져옵니다.

public:
 DSAOpenSsl(System::Security::Cryptography::DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (parameters As DSAParameters)

매개 변수

parameters
DSAParameters
특성

예외

parameters 가 필수 필드가 없습니다.

-또는-

parameters 에는 유효한 키에 대한 길이가 일치하지 않는 필드가 있습니다.

parameters 는 유효한 DSA 키 매개 변수 집합을 나타내지 않습니다.

추가 정보

적용 대상

DSAOpenSsl(SafeEvpPKeyHandle)

Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

로 표시된 기존 OpenSSL 키에서 클래스의 DSAOpenSsl 새 인스턴스를 EVP_PKEY*초기화합니다.

public:
 DSAOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

매개 변수

pkeyHandle
SafeEvpPKeyHandle
특성

예외

pkeyHandle 는 잘못된 핸들을 나타냅니다.

pkeyHandlenull입니다.

pkeyHandle 은 DSA 키를 나타내지 않습니다.

설명

Important

OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 왔는지 확인합니다. 자세한 내용은 OpenSslVersion를 참조하세요.

추가 정보

적용 대상