Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ ReadSubjectPublicKeyInfo< TRet >() [2/2]

static unsafe void System.Security.Cryptography.KeyFormatHelper.ReadSubjectPublicKeyInfo< TRet > ( string[] validOids,
ReadOnlySpan< byte > source,
KeyReader< TRet > keyReader,
out int bytesRead,
out TRet ret )
inlinestaticpackage

Definition at line 12 of file KeyFormatHelper.cs.

13 {
14 fixed (byte* pointer = &MemoryMarshal.GetReference(source))
15 {
16 using MemoryManager<byte> memoryManager = new PointerMemoryManager<byte>(pointer, source.Length);
17 ReadSubjectPublicKeyInfo(validOids, memoryManager.Memory, keyReader, out bytesRead, out ret);
18 }
19 }
static ReadOnlyMemory< byte > ReadSubjectPublicKeyInfo(string[] validOids, ReadOnlyMemory< byte > source, out int bytesRead)

References System.pointer, System.Security.Cryptography.KeyFormatHelper.ReadSubjectPublicKeyInfo(), and System.source.