Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ReadEncryptedPkcs8< TRet >()
[4/5]
static unsafe void System.Security.Cryptography.KeyFormatHelper.ReadEncryptedPkcs8< TRet >
(
string
[]
validOids
,
ReadOnlySpan
< byte >
source
,
ReadOnlySpan
< byte >
passwordBytes
,
KeyReader< TRet >
keyReader
,
out int
bytesRead
,
out TRet
ret
)
inline
static
package
Definition at line
140
of file
KeyFormatHelper.cs
.
141
{
142
fixed (
byte
*
pointer
= &
MemoryMarshal
.GetReference(
source
))
143
{
144
using
MemoryManager
<
byte
> memoryManager =
new
PointerMemoryManager<byte>
(
pointer
,
source
.Length);
145
ReadEncryptedPkcs8(validOids, memoryManager.Memory, passwordBytes, keyReader, out bytesRead, out ret);
146
}
147
}
System.Buffers.MemoryManager
Definition
MemoryManager.cs:6
System.Buffers.PointerMemoryManager
Definition
PointerMemoryManager.cs:4
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:11
System.ExceptionArgument.source
@ source
System.ExceptionArgument.pointer
@ pointer
References
System.pointer
, and
System.source
.
System
Security
Cryptography
KeyFormatHelper
Generated by
1.10.0