17 references to TryDecode
System.Formats.Asn1 (2)
System\Formats\Asn1\Asn1Tag.cs (1)
255
if (
TryDecode
(source, out Asn1Tag tag, out bytesConsumed))
System\Formats\Asn1\AsnDecoder.cs (1)
73
if (Asn1Tag.
TryDecode
(source, out Asn1Tag localTag, out int tagLength) &&
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (1)
71
if (!Asn1Tag.
TryDecode
(UniversalString.Value.Span, out Asn1Tag validateTag, out _) ||
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (1)
88
if (!Asn1Tag.
TryDecode
(X400Address.Value.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (1)
32
if (!Asn1Tag.
TryDecode
(Subject.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (1)
64
if (!Asn1Tag.
TryDecode
(NameRelativeToCRLIssuer.Value.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (2)
73
if (!Asn1Tag.
TryDecode
(Issuer.Span, out Asn1Tag validateTag, out _) ||
91
if (!Asn1Tag.
TryDecode
(Subject.Span, out Asn1Tag validateTag, out _) ||
System.Security.Cryptography.Pkcs (9)
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (1)
71
if (!Asn1Tag.
TryDecode
(UniversalString.Value.Span, out Asn1Tag validateTag, out _) ||
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (1)
88
if (!Asn1Tag.
TryDecode
(X400Address.Value.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\Pkcs\Asn1\CertificateChoiceAsn.xml.cs (4)
53
if (!Asn1Tag.
TryDecode
(Certificate.Value.Span, out Asn1Tag validateTag, out _) ||
78
if (!Asn1Tag.
TryDecode
(ExtendedCertificate.Value.Span, out Asn1Tag validateTag, out _) ||
103
if (!Asn1Tag.
TryDecode
(AttributeCertificateV1.Value.Span, out Asn1Tag validateTag, out _) ||
128
if (!Asn1Tag.
TryDecode
(AttributeCertificateV2.Value.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\Pkcs\Asn1\IssuerAndSerialNumberAsn.xml.cs (1)
28
if (!Asn1Tag.
TryDecode
(Issuer.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (1)
33
if (!Asn1Tag.
TryDecode
(StatusString.Value.Span, out Asn1Tag validateTag, out _) ||
System\Security\Cryptography\Pkcs\Asn1\SignerInfoAsn.xml.cs (1)
40
if (!Asn1Tag.
TryDecode
(SignedAttributes.Value.Span, out Asn1Tag validateTag, out _) ||