다음을 통해 공유


X509CertificateLoader.LoadCertificate 메서드

정의

오버로드

LoadCertificate(Byte[])

PEM 또는 DER 인코딩에서 data단일 X.509 인증서를 로드합니다.

LoadCertificate(ReadOnlySpan<Byte>)

PEM 또는 DER 인코딩에서 data단일 X.509 인증서를 로드합니다.

LoadCertificate(Byte[])

Source:
X509CertificateLoader.netstandard.cs
Source:
X509CertificateLoader.netstandard.cs

PEM 또는 DER 인코딩에서 data단일 X.509 인증서를 로드합니다.

public:
 static System::Security::Cryptography::X509Certificates::X509Certificate2 ^ LoadCertificate(cli::array <System::Byte> ^ data);
public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadCertificate(byte[] data);
static member LoadCertificate : byte[] -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadCertificate (data As Byte()) As X509Certificate2

매개 변수

data
Byte[]

로드할 데이터입니다.

반환

data로드된 인증서입니다.

예외

데이터가 유효한 X.509 인증서로 로드되지 않았습니다.

설명

이 메서드는 GetCertContentType(Byte[]) 의해 Cert 식별되는 일반 인증서만 로드합니다.

추가 정보

적용 대상

LoadCertificate(ReadOnlySpan<Byte>)

Source:
X509CertificateLoader.netstandard.cs
Source:
X509CertificateLoader.netstandard.cs

PEM 또는 DER 인코딩에서 data단일 X.509 인증서를 로드합니다.

public:
 static System::Security::Cryptography::X509Certificates::X509Certificate2 ^ LoadCertificate(ReadOnlySpan<System::Byte> data);
public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadCertificate(ReadOnlySpan<byte> data);
static member LoadCertificate : ReadOnlySpan<byte> -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadCertificate (data As ReadOnlySpan(Of Byte)) As X509Certificate2

매개 변수

data
ReadOnlySpan<Byte>

로드할 데이터입니다.

반환

data로드된 인증서입니다.

예외

데이터가 유효한 X.509 인증서로 로드되지 않았습니다.

설명

이 메서드는 GetCertContentType(Byte[]) 의해 Cert 식별되는 일반 인증서만 로드합니다.

추가 정보

적용 대상