Επεξεργασία

Κοινή χρήση μέσω


PemEncoding.Find(ReadOnlySpan<Char>) Method

Definition

Finds the first PEM-encoded data.

public:
 static System::Security::Cryptography::PemFields Find(ReadOnlySpan<char> pemData);
public static System.Security.Cryptography.PemFields Find (ReadOnlySpan<char> pemData);
static member Find : ReadOnlySpan<char> -> System.Security.Cryptography.PemFields
Public Shared Function Find (pemData As ReadOnlySpan(Of Char)) As PemFields

Parameters

pemData
ReadOnlySpan<Char>

The text containing the PEM-encoded data.

Returns

A value that specifies the location, label, and data location of the encoded data.

Exceptions

pemData does not contain a well-formed PEM-encoded value.

Remarks

IETF RFC 7468 permits different decoding rules. This method always uses lax rules.

Applies to