RSA.TryExportRSAPublicKey(Span<Byte>, Int32) 메서드

정의

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

public:
 virtual bool TryExportRSAPublicKey(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public virtual bool TryExportRSAPublicKey (Span<byte> destination, out int bytesWritten);
abstract member TryExportRSAPublicKey : Span<byte> * int -> bool
override this.TryExportRSAPublicKey : Span<byte> * int -> bool
Public Overridable Function TryExportRSAPublicKey (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

매개 변수

destination
Span<Byte>

PKCS#1 RSAPublicKey 데이터를 받을 바이트 범위입니다.

bytesWritten
Int32

이 메서드가 반환될 때 destination에 쓴 바이트 수를 나타내는 값을 포함합니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반환

Boolean

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

예외

키를 내보낼 수 없습니다.

적용 대상

추가 정보