RSA.TryExportRSAPublicKeyPem(Span<Char>, Int32) 메서드

정의

PEM으로 인코딩된 PKCS#1 RSAPublicKey 형식의 현재 키를 제공된 버퍼로 내보내려고 시도합니다.

public:
 bool TryExportRSAPublicKeyPem(Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public bool TryExportRSAPublicKeyPem (Span<char> destination, out int charsWritten);
member this.TryExportRSAPublicKeyPem : Span<char> * int -> bool
Public Function TryExportRSAPublicKeyPem (destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean

매개 변수

destination
Span<Char>

PEM으로 인코딩된 PKCS#1 RSAPublicKey 데이터를 받을 문자 범위입니다.

charsWritten
Int32

이 메서드가 반환되면 에 기록 destination된 문자 수를 나타내는 값이 포함됩니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반환

destination이 출력을 받을 충분한 크기이면 true, 아니면 false입니다.

예외

키를 내보낼 수 없습니다.

설명

PEM으로 인코딩된 PKCS#1 RSAPublicKey는 로 시작하고 -----BEGIN RSA PUBLIC KEY----- 로 끝나 -----END RSA PUBLIC KEY-----며 PEM 경계 간에 키의 base64로 인코딩된 DER 콘텐츠가 포함됩니다.

          The PEM is encoded according to the IETF RFC 7468 "strict"
          encoding rules.

적용 대상