29 references to TryReadInt32
System.Security.Cryptography (29)
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (1)
97if (!sequenceReader.TryReadInt32(out decoded.Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
88if (!sequenceReader.TryReadInt32(out decoded.IterationCount))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
112if (!sequenceReader.TryReadInt32(out decoded.IterationCount)) 121if (sequenceReader.TryReadInt32(out int tmpKeyLength))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (3)
28if (!reader.TryReadInt32(out decoded.IterationCount)) 126if (!sequenceReader.TryReadInt32(out decoded.IterationCount)) 136if (!defaultReader.TryReadInt32(out decoded.IterationCount))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (1)
82if (!sequenceReader.TryReadInt32(out decoded.Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (1)
91if (!sequenceReader.TryReadInt32(out decoded.Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
96if (!sequenceReader.TryReadInt32(out decoded.Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (6)
44if (!reader.TryReadInt32(out decoded.SaltLength)) 53if (!reader.TryReadInt32(out decoded.TrailerField)) 208if (!explicitReader.TryReadInt32(out decoded.SaltLength)) 219if (!defaultReader.TryReadInt32(out decoded.SaltLength)) 231if (!explicitReader.TryReadInt32(out decoded.TrailerField)) 242if (!defaultReader.TryReadInt32(out decoded.TrailerField))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (1)
78if (!sequenceReader.TryReadInt32(out decoded.Rc2Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (1)
89if (!sequenceReader.TryReadInt32(out decoded.Version))
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (1)
105if (!sequenceReader.TryReadInt32(out decoded.Version))
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (1)
121if (sequenceReader.TryReadInt32(out int tmpPathLengthConstraint))
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (2)
90if (!sequenceReader.TryReadInt32(out decoded.TemplateMajorVersion)) 99if (sequenceReader.TryReadInt32(out int tmpTemplateMinorVersion))
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
88if (sequenceReader.TryReadInt32(out int tmpRequireExplicitPolicyDepth, new Asn1Tag(TagClass.ContextSpecific, 0))) 103if (sequenceReader.TryReadInt32(out int tmpInhibitMappingDepth, new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (3)
36if (!reader.TryReadInt32(out decoded.Version)) 191if (!explicitReader.TryReadInt32(out decoded.Version)) 202if (!defaultReader.TryReadInt32(out decoded.Version))
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (1)
294reader.TryReadInt32(out inhibitAnyPolicy);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (1)
117if (!tbsCertList.TryReadInt32(out version) || version != 1)