PemEncoding.Find(ReadOnlySpan<Char>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.