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

◆ EncodeX509SubjectKeyIdentifierExtension()

unsafe byte[] Internal.Cryptography.Pal.X509Pal.EncodeX509SubjectKeyIdentifierExtension ( ReadOnlySpan< byte > subjectKeyIdentifier)
inline

Implements Internal.Cryptography.Pal.IX509Pal.

Definition at line 101 of file X509Pal.cs.

102 {
103 fixed (byte* pbData = subjectKeyIdentifier)
104 {
105 CRYPTOAPI_BLOB cRYPTOAPI_BLOB = new CRYPTOAPI_BLOB(subjectKeyIdentifier.Length, pbData);
106 return global::Interop.crypt32.EncodeObject("2.5.29.14", &cRYPTOAPI_BLOB);
107 }
108 }

References System.ReadOnlySpan< T >.Length.