Skip to content

Commit

Permalink
Add support for UTF-8 in PemEncoding
Browse files Browse the repository at this point in the history
  • Loading branch information
vcsjones authored Nov 5, 2024
1 parent c024236 commit a757537
Show file tree
Hide file tree
Showing 4 changed files with 469 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1893,11 +1893,15 @@ public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encrypt
public static partial class PemEncoding
{
public static System.Security.Cryptography.PemFields Find(System.ReadOnlySpan<char> pemData) { throw null; }
public static System.Security.Cryptography.PemFields FindUtf8(System.ReadOnlySpan<byte> pemData) { throw null; }
public static int GetEncodedSize(int labelLength, int dataLength) { throw null; }
public static bool TryFind(System.ReadOnlySpan<char> pemData, out System.Security.Cryptography.PemFields fields) { throw null; }
public static bool TryFindUtf8(System.ReadOnlySpan<byte> pemData, out System.Security.Cryptography.PemFields fields) { throw null; }
public static bool TryWrite(System.ReadOnlySpan<char> label, System.ReadOnlySpan<byte> data, System.Span<char> destination, out int charsWritten) { throw null; }
public static bool TryWriteUtf8(System.ReadOnlySpan<byte> utf8Label, System.ReadOnlySpan<byte> data, System.Span<byte> destination, out int bytesWritten) { throw null; }
public static char[] Write(System.ReadOnlySpan<char> label, System.ReadOnlySpan<byte> data) { throw null; }
public static string WriteString(System.ReadOnlySpan<char> label, System.ReadOnlySpan<byte> data) { throw null; }
public static byte[] WriteUtf8(System.ReadOnlySpan<byte> utf8Label, System.ReadOnlySpan<byte> data) { throw null; }
}
public readonly partial struct PemFields
{
Expand Down
Loading

0 comments on commit a757537

Please sign in to comment.