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

◆ Decode() [3/4]

static void System.Security.Cryptography.Asn1.EncryptedPrivateKeyInfoAsn.Decode ( ref System::Formats::Asn1::AsnValueReader reader,
Asn1Tag expectedTag,
ReadOnlyMemory< byte > rebind,
out System::Security::Cryptography::Asn1::EncryptedPrivateKeyInfoAsn decoded )
inlinestaticpackage

Definition at line 16 of file EncryptedPrivateKeyInfoAsn.cs.

17 {
18 try
19 {
20 DecodeCore(ref reader, expectedTag, rebind, out decoded);
21 }
22 catch (AsnContentException inner)
23 {
24 throw new CryptographicException(System.SR.Cryptography_Der_Invalid_Encoding, inner);
25 }
26 }
static string Cryptography_Der_Invalid_Encoding
Definition SR.cs:50
Definition SR.cs:7
static void DecodeCore(ref AsnValueReader reader, Asn1Tag expectedTag, ReadOnlyMemory< byte > rebind, out EncryptedPrivateKeyInfoAsn decoded)

References System.SR.Cryptography_Der_Invalid_Encoding, and System.Security.Cryptography.Asn1.EncryptedPrivateKeyInfoAsn.DecodeCore().