다음을 통해 공유


X509Certificate.CreateFromSignedFile(String) 메서드

정의

주의

Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.

지정된 서명된 파일에서 X.509v3 인증서를 만듭니다.

public:
 static System::Security::Cryptography::X509Certificates::X509Certificate ^ CreateFromSignedFile(System::String ^ filename);
public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile (string filename);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile (string filename);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Obsolete("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile (string filename);
static member CreateFromSignedFile : string -> System.Security.Cryptography.X509Certificates.X509Certificate
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member CreateFromSignedFile : string -> System.Security.Cryptography.X509Certificates.X509Certificate
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Obsolete("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member CreateFromSignedFile : string -> System.Security.Cryptography.X509Certificates.X509Certificate
Public Shared Function CreateFromSignedFile (filename As String) As X509Certificate

매개 변수

filename
String

X.509 인증서를 만들 서명된 파일의 경로입니다.

반환

새로 만든 X.509 인증서입니다.

특성

설명

ASN.1 DER는 이 클래스에서 지원하는 유일한 인증서 형식입니다.

적용 대상