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

◆ IsPublic()

static bool System.Security.Cryptography.RSACryptoServiceProvider.IsPublic ( byte[] keyBlob)
inlinestaticprivate

Definition at line 388 of file RSACryptoServiceProvider.cs.

389 {
390 if (keyBlob == null)
391 {
392 throw new ArgumentNullException("keyBlob");
393 }
394 if (keyBlob[0] != 6)
395 {
396 return false;
397 }
398 if (keyBlob[11] != 49 || keyBlob[10] != 65 || keyBlob[9] != 83 || keyBlob[8] != 82)
399 {
400 return false;
401 }
402 return true;
403 }

Referenced by System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob().