Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PemEncoding Class
Definition
- Namespace:
- System.Security.Cryptography
- Assembly:
- System.Security.Cryptography.dll
- Assembly:
- System.Security.Cryptography.Encoding.dll
- Source:
- PemEncoding.cs
- Source:
- PemEncoding.cs
- Source:
- PemEncoding.cs
- Source:
- PemEncoding.cs
- Source:
- PemEncoding.cs
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.
Provides methods for reading and writing the IETF RFC 7468 subset of PEM (Privacy-Enhanced Mail) textual encodings. This class cannot be inherited.
public ref class PemEncoding abstract sealed
public static class PemEncoding
type PemEncoding = class
Public Class PemEncoding
- Inheritance
-
PemEncoding
Methods
| Name | Description |
|---|---|
| Find(ReadOnlySpan<Char>) |
Finds the first PEM-encoded data. |
| FindUtf8(ReadOnlySpan<Byte>) |
Finds the first PEM-encoded data. |
| GetEncodedSize(Int32, Int32) |
Determines the length of a PEM-encoded value, in characters, given the length of a label and binary data. |
| TryFind(ReadOnlySpan<Char>, PemFields) |
Attempts to find the first PEM-encoded data. |
| TryFindUtf8(ReadOnlySpan<Byte>, PemFields) |
Attempts to find the first PEM-encoded data. |
| TryWrite(ReadOnlySpan<Char>, ReadOnlySpan<Byte>, Span<Char>, Int32) |
Tries to write the provided data and label as PEM-encoded data into a provided buffer. |
| TryWriteUtf8(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, Int32) |
Tries to write the provided data and label as PEM-encoded data into a provided buffer. |
| Write(ReadOnlySpan<Char>, ReadOnlySpan<Byte>) |
Creates an encoded PEM with the given label and data. |
| WriteString(ReadOnlySpan<Char>, ReadOnlySpan<Byte>) |
Creates an encoded PEM with the given label and data. |
| WriteUtf8(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Creates an encoded PEM with the given label and data. |
Applies to
Feedback
Was this page helpful?
