AsymmetricAlgorithm.ExportSubjectPublicKeyInfoPem 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 키의 공개 키 부분을 PEM 인코딩된 X.509 SubjectPublicKeyInfo 형식으로 내보냅니다.
public:
System::String ^ ExportSubjectPublicKeyInfoPem();
public string ExportSubjectPublicKeyInfoPem ();
member this.ExportSubjectPublicKeyInfoPem : unit -> string
Public Function ExportSubjectPublicKeyInfoPem () As String
반환
PEM으로 인코딩된 X.509 SubjectPublicKeyInfo를 포함하는 문자열입니다.
예외
구현이 ExportSubjectPublicKeyInfo() 제공되었거나 TryExportSubjectPublicKeyInfo(Span<Byte>, Int32) 제공되지 않았습니다.
키를 내보낼 수 없습니다.
설명
A PEM-encoded X.509 SubjectPublicKeyInfo will begin with
-----BEGIN PUBLIC KEY-----
and end with
-----END PUBLIC KEY-----
, with the base64 encoded DER
contents of the key between the PEM boundaries.
The PEM is encoded according to the IETF RFC 7468 "strict"
encoding rules.