Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ KeyAlgorithm

unsafe string Internal.Cryptography.Pal.CertificatePal.KeyAlgorithm
get

Implements Internal.Cryptography.ICertificatePalCore.

Definition at line 45 of file CertificatePal.cs.

46 {
47 get
48 {
50 string result = Marshal.PtrToStringAnsi(certContext->pCertInfo->SubjectPublicKeyInfo.Algorithm.pszObjId);
51 GC.KeepAlive(this);
52 return result;
53 }
54 }
static void KeepAlive(object? obj)
Definition GC.cs:180
Definition GC.cs:8
static unsafe? string PtrToStringAnsi(IntPtr ptr)
Definition Marshal.cs:630