254 references to UniversalTagNumber
System.Formats.Asn1 (114)
System\Formats\Asn1\Asn1Tag.Accelerators.cs (14)
11
internal static readonly Asn1Tag EndOfContents = new Asn1Tag(0, (int)
UniversalTagNumber
.EndOfContents);
16
public static readonly Asn1Tag Boolean = new Asn1Tag(0, (int)
UniversalTagNumber
.Boolean);
21
public static readonly Asn1Tag Integer = new Asn1Tag(0, (int)
UniversalTagNumber
.Integer);
26
public static readonly Asn1Tag PrimitiveBitString = new Asn1Tag(0, (int)
UniversalTagNumber
.BitString);
32
new Asn1Tag(ConstructedMask, (int)
UniversalTagNumber
.BitString);
37
public static readonly Asn1Tag PrimitiveOctetString = new Asn1Tag(0, (int)
UniversalTagNumber
.OctetString);
43
new Asn1Tag(ConstructedMask, (int)
UniversalTagNumber
.OctetString);
48
public static readonly Asn1Tag Null = new Asn1Tag(0, (int)
UniversalTagNumber
.Null);
53
public static readonly Asn1Tag ObjectIdentifier = new Asn1Tag(0, (int)
UniversalTagNumber
.ObjectIdentifier);
58
public static readonly Asn1Tag Enumerated = new Asn1Tag(0, (int)
UniversalTagNumber
.Enumerated);
63
public static readonly Asn1Tag Sequence = new Asn1Tag(ConstructedMask, (int)
UniversalTagNumber
.Sequence);
68
public static readonly Asn1Tag SetOf = new Asn1Tag(ConstructedMask, (int)
UniversalTagNumber
.SetOf);
73
public static readonly Asn1Tag UtcTime = new Asn1Tag(0, (int)
UniversalTagNumber
.UtcTime);
78
public static readonly Asn1Tag GeneralizedTime = new Asn1Tag(0, (int)
UniversalTagNumber
.GeneralizedTime);
System\Formats\Asn1\Asn1Tag.cs (7)
38
/// be interpreted as a <see cref="
UniversalTagNumber
"/>.
60
public Asn1Tag(
UniversalTagNumber
universalTagNumber, bool isConstructed = false)
64
const
UniversalTagNumber
ReservedIndex = (
UniversalTagNumber
)15;
66
if (universalTagNumber <
UniversalTagNumber
.EndOfContents ||
67
universalTagNumber >
UniversalTagNumber
.RelativeObjectIdentifierIRI ||
471
classAndValue = ((
UniversalTagNumber
)TagValue).ToString();
System\Formats\Asn1\AsnCharacterStringEncodings.cs (8)
22
internal static Encoding GetEncoding(
UniversalTagNumber
encodingType) =>
25
UniversalTagNumber
.UTF8String => s_utf8Encoding,
26
UniversalTagNumber
.NumericString => s_numericStringEncoding,
27
UniversalTagNumber
.PrintableString => s_printableStringEncoding,
28
UniversalTagNumber
.IA5String => s_ia5Encoding,
29
UniversalTagNumber
.VisibleString => s_visibleStringEncoding,
30
UniversalTagNumber
.BMPString => s_bmpEncoding,
31
UniversalTagNumber
.T61String => s_t61Encoding,
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
644
CheckExpectedTag(actualTag, expectedTag,
UniversalTagNumber
.BitString);
System\Formats\Asn1\AsnDecoder.Boolean.cs (1)
55
UniversalTagNumber
.Boolean,
System\Formats\Asn1\AsnDecoder.cs (2)
179
UniversalTagNumber
tagNumber,
708
private static void CheckExpectedTag(Asn1Tag tag, Asn1Tag expectedTag,
UniversalTagNumber
tagNumber)
System\Formats\Asn1\AsnDecoder.Enumerated.cs (3)
58
UniversalTagNumber
.Enumerated,
199
const
UniversalTagNumber
TagNumber =
UniversalTagNumber
.Enumerated;
System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs (1)
65
UniversalTagNumber
.GeneralizedTime,
System\Formats\Asn1\AsnDecoder.Integer.cs (8)
59
UniversalTagNumber
.Integer,
189
UniversalTagNumber
.Integer,
256
UniversalTagNumber
.Integer,
322
UniversalTagNumber
.Integer,
382
UniversalTagNumber
.Integer,
391
UniversalTagNumber
tagNumber,
430
UniversalTagNumber
tagNumber,
469
UniversalTagNumber
tagNumber,
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
332
CheckExpectedTag(actualTag, expectedTag.Value,
UniversalTagNumber
.BitString);
System\Formats\Asn1\AsnDecoder.Null.cs (1)
52
UniversalTagNumber
.Null,
System\Formats\Asn1\AsnDecoder.OctetString.cs (5)
80
UniversalTagNumber
.OctetString,
169
UniversalTagNumber
.OctetString,
188
UniversalTagNumber
universalTagNumber,
278
UniversalTagNumber
.OctetString,
480
UniversalTagNumber
universalTagNumber,
System\Formats\Asn1\AsnDecoder.Oid.cs (1)
61
UniversalTagNumber
.ObjectIdentifier,
System\Formats\Asn1\AsnDecoder.Sequence.cs (2)
64
CheckExpectedTag(tag, expectedTag ?? Asn1Tag.Sequence,
UniversalTagNumber
.Sequence);
73
UniversalTagNumber
.Sequence));
System\Formats\Asn1\AsnDecoder.SetOf.cs (2)
71
CheckExpectedTag(tag, expectedTag ?? Asn1Tag.SetOf,
UniversalTagNumber
.SetOf);
79
UniversalTagNumber
.SetOf));
System\Formats\Asn1\AsnDecoder.Text.cs (25)
70
UniversalTagNumber
universalTagNumber =
UniversalTagNumber
.IA5String;
74
universalTagNumber = (
UniversalTagNumber
)expectedTag.TagValue;
163
UniversalTagNumber
universalTagNumber =
UniversalTagNumber
.IA5String;
167
universalTagNumber = (
UniversalTagNumber
)expectedTag.TagValue;
246
UniversalTagNumber
encodingType,
318
UniversalTagNumber
encodingType,
338
UniversalTagNumber
universalTagNumber,
432
UniversalTagNumber
universalTagNumber,
484
UniversalTagNumber
universalTagNumber,
524
private static bool IsCharacterStringEncodingType(
UniversalTagNumber
encodingType)
529
case
UniversalTagNumber
.BMPString:
530
case
UniversalTagNumber
.GeneralString:
531
case
UniversalTagNumber
.GraphicString:
532
case
UniversalTagNumber
.IA5String:
533
case
UniversalTagNumber
.ISO646String:
534
case
UniversalTagNumber
.NumericString:
535
case
UniversalTagNumber
.PrintableString:
536
case
UniversalTagNumber
.TeletexString:
538
case
UniversalTagNumber
.UniversalString:
539
case
UniversalTagNumber
.UTF8String:
540
case
UniversalTagNumber
.VideotexString:
716
UniversalTagNumber
encodingType,
774
public string ReadCharacterString(
UniversalTagNumber
encodingType, Asn1Tag? expectedTag = null)
System\Formats\Asn1\AsnDecoder.UtcTime.cs (1)
90
UniversalTagNumber
.UtcTime,
System\Formats\Asn1\AsnWriter.BitString.cs (1)
38
CheckUniversalTag(tag,
UniversalTagNumber
.BitString);
System\Formats\Asn1\AsnWriter.Boolean.cs (1)
23
CheckUniversalTag(tag,
UniversalTagNumber
.Boolean);
System\Formats\Asn1\AsnWriter.Enumerated.cs (1)
75
CheckUniversalTag(tag,
UniversalTagNumber
.Enumerated);
System\Formats\Asn1\AsnWriter.GeneralizedTime.cs (1)
33
CheckUniversalTag(tag,
UniversalTagNumber
.GeneralizedTime);
System\Formats\Asn1\AsnWriter.Integer.cs (5)
25
CheckUniversalTag(tag,
UniversalTagNumber
.Integer);
44
CheckUniversalTag(tag,
UniversalTagNumber
.Integer);
62
CheckUniversalTag(tag,
UniversalTagNumber
.Integer);
87
CheckUniversalTag(tag,
UniversalTagNumber
.Integer);
108
CheckUniversalTag(tag,
UniversalTagNumber
.Integer);
System\Formats\Asn1\AsnWriter.NamedBitList.cs (3)
42
CheckUniversalTag(tag,
UniversalTagNumber
.BitString);
72
CheckUniversalTag(tag,
UniversalTagNumber
.BitString);
104
CheckUniversalTag(tag,
UniversalTagNumber
.BitString);
System\Formats\Asn1\AsnWriter.Null.cs (1)
22
CheckUniversalTag(tag,
UniversalTagNumber
.Null);
System\Formats\Asn1\AsnWriter.OctetString.cs (5)
29
CheckUniversalTag(tag,
UniversalTagNumber
.OctetString);
33
UniversalTagNumber
.OctetString);
58
CheckUniversalTag(tag,
UniversalTagNumber
.OctetString);
59
PopTag(tag?.AsConstructed() ?? Asn1Tag.ConstructedOctetString,
UniversalTagNumber
.OctetString);
75
CheckUniversalTag(tag,
UniversalTagNumber
.OctetString);
System\Formats\Asn1\AsnWriter.Oid.cs (1)
60
CheckUniversalTag(tag,
UniversalTagNumber
.ObjectIdentifier);
System\Formats\Asn1\AsnWriter.Sequence.cs (4)
26
CheckUniversalTag(tag,
UniversalTagNumber
.Sequence);
50
CheckUniversalTag(tag,
UniversalTagNumber
.Sequence);
60
return PushTag(tag,
UniversalTagNumber
.Sequence);
67
PopTag(tag,
UniversalTagNumber
.Sequence);
System\Formats\Asn1\AsnWriter.SetOf.cs (4)
30
CheckUniversalTag(tag,
UniversalTagNumber
.SetOf);
57
CheckUniversalTag(tag,
UniversalTagNumber
.SetOf);
69
return PushTag(tag,
UniversalTagNumber
.SetOf);
80
PopTag(tag,
UniversalTagNumber
.SetOf, sortContents);
System\Formats\Asn1\AsnWriter.Text.cs (2)
39
public void WriteCharacterString(
UniversalTagNumber
encodingType, string value, Asn1Tag? tag = null)
75
public void WriteCharacterString(
UniversalTagNumber
encodingType, ReadOnlySpan<char> str, Asn1Tag? tag = null)
System\Formats\Asn1\AsnWriter.UtcTime.cs (2)
28
CheckUniversalTag(tag,
UniversalTagNumber
.UtcTime);
59
CheckUniversalTag(tag,
UniversalTagNumber
.UtcTime);
System.Net.Security (1)
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (1)
206
internal string ReadCharacterString(
UniversalTagNumber
encodingType, Asn1Tag? expectedTag = default)
System.Security.Cryptography (106)
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (19)
34
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.T61String), "TeletexString");
35
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.PrintableString), "PrintableString");
36
ensureUniqueTag(new Asn1Tag((
UniversalTagNumber
)28), "UniversalString");
37
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.UTF8String), "Utf8String");
38
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.BMPString), "BmpString");
51
writer.WriteCharacterString(
UniversalTagNumber
.T61String, TeletexString);
60
writer.WriteCharacterString(
UniversalTagNumber
.PrintableString, PrintableString);
72
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)28)))
94
writer.WriteCharacterString(
UniversalTagNumber
.UTF8String, Utf8String);
103
writer.WriteCharacterString(
UniversalTagNumber
.BMPString, BmpString);
149
if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.T61String)))
151
decoded.TeletexString = reader.ReadCharacterString(
UniversalTagNumber
.T61String);
153
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.PrintableString)))
155
decoded.PrintableString = reader.ReadCharacterString(
UniversalTagNumber
.PrintableString);
157
else if (tag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)28)))
162
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.UTF8String)))
164
decoded.Utf8String = reader.ReadCharacterString(
UniversalTagNumber
.UTF8String);
166
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.BMPString)))
168
decoded.BmpString = reader.ReadCharacterString(
UniversalTagNumber
.BMPString);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (6)
68
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, Rfc822Name, new Asn1Tag(TagClass.ContextSpecific, 1));
77
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, DnsName, new Asn1Tag(TagClass.ContextSpecific, 2));
138
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, Uri, new Asn1Tag(TagClass.ContextSpecific, 6));
219
decoded.Rfc822Name = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 1));
223
decoded.DnsName = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 2));
246
decoded.Uri = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 6));
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (1)
206
internal string ReadCharacterString(
UniversalTagNumber
encodingType, Asn1Tag? expectedTag = default)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
121
expected.TagValue == (int)
UniversalTagNumber
.ObjectIdentifier,
System\Security\Cryptography\Helpers.cs (6)
285
switch ((
UniversalTagNumber
)tag.TagValue)
287
case
UniversalTagNumber
.External:
288
case
UniversalTagNumber
.Embedded:
289
case
UniversalTagNumber
.Sequence:
290
case
UniversalTagNumber
.Set:
291
case
UniversalTagNumber
.UnrestrictedCharacterString:
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (2)
33
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
107
if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (4)
74
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
92
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
212
if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
220
if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.CdpExtension.cs (1)
90
UniversalTagNumber
.IA5String,
System\Security\Cryptography\X509Certificates\SubjectAlternativeNameBuilder.cs (1)
56
writer.WriteCharacterString(
UniversalTagNumber
.UTF8String, upn);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
196
attrBytes[0] = (byte)
UniversalTagNumber
.OctetString;
System\Security\Cryptography\X509Certificates\X500DirectoryStringHelper.cs (16)
19
switch ((
UniversalTagNumber
)tag.TagValue)
21
case
UniversalTagNumber
.BMPString:
22
case
UniversalTagNumber
.IA5String:
23
case
UniversalTagNumber
.NumericString:
24
case
UniversalTagNumber
.PrintableString:
25
case
UniversalTagNumber
.UTF8String:
26
case
UniversalTagNumber
.T61String:
30
return tavReader.ReadCharacterString((
UniversalTagNumber
)tag.TagValue).TrimEnd('\0');
46
switch ((
UniversalTagNumber
)tag.TagValue)
48
case
UniversalTagNumber
.BMPString:
49
case
UniversalTagNumber
.IA5String:
50
case
UniversalTagNumber
.NumericString:
51
case
UniversalTagNumber
.PrintableString:
52
case
UniversalTagNumber
.UTF8String:
53
case
UniversalTagNumber
.T61String:
57
return tavReader.ReadCharacterString((
UniversalTagNumber
)tag.TagValue).TrimEnd('\0');
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (23)
62
public void Add(string oidValue, string value,
UniversalTagNumber
? stringEncodingType = null)
67
UniversalTagNumber
tag = GetAndValidateTagNumber(stringEncodingType);
96
public void Add(Oid oid, string value,
UniversalTagNumber
? stringEncodingType = null)
102
UniversalTagNumber
tag = GetAndValidateTagNumber(stringEncodingType);
140
EncodeComponent(Oids.EmailAddress, emailAddress,
UniversalTagNumber
.IA5String);
163
EncodeComponent(Oids.CommonName, commonName,
UniversalTagNumber
.UTF8String);
186
EncodeComponent(Oids.LocalityName, localityName,
UniversalTagNumber
.UTF8String);
236
UniversalTagNumber
.PrintableString,
260
EncodeComponent(Oids.Organization, organizationName,
UniversalTagNumber
.UTF8String);
283
EncodeComponent(Oids.OrganizationalUnit, organizationalUnitName,
UniversalTagNumber
.UTF8String);
306
EncodeComponent(Oids.StateOrProvinceName, stateOrProvinceName,
UniversalTagNumber
.UTF8String);
332
EncodeComponent(Oids.DomainComponent, domainComponent,
UniversalTagNumber
.IA5String);
359
UniversalTagNumber
stringEncodingType,
382
private static
UniversalTagNumber
GetAndValidateTagNumber(
UniversalTagNumber
? stringEncodingType)
387
return
UniversalTagNumber
.UTF8String;
388
case
UniversalTagNumber
.UTF8String:
389
case
UniversalTagNumber
.NumericString:
390
case
UniversalTagNumber
.PrintableString:
391
case
UniversalTagNumber
.IA5String:
392
case
UniversalTagNumber
.VisibleString:
393
case
UniversalTagNumber
.BMPString:
394
case
UniversalTagNumber
.T61String:
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (8)
528
WriteCryptoCharacterString(writer,
UniversalTagNumber
.IA5String, data);
532
WriteCryptoCharacterString(writer,
UniversalTagNumber
.UTF8String, data);
535
WriteCryptoCharacterString(writer,
UniversalTagNumber
.NumericString, data);
538
WriteCryptoCharacterString(writer,
UniversalTagNumber
.PrintableString, data);
544
writer.WriteCharacterString(
UniversalTagNumber
.PrintableString, data);
548
WriteCryptoCharacterString(writer,
UniversalTagNumber
.UTF8String, data);
645
private static void WriteCryptoCharacterString(AsnWriter writer,
UniversalTagNumber
tagNumber, ReadOnlySpan<char> data)
653
if (tagNumber ==
UniversalTagNumber
.IA5String)
System\Security\Cryptography\X509Certificates\X500NameEncoder.ManagedDecode.cs (9)
157
switch ((
UniversalTagNumber
)tag.TagValue)
159
case
UniversalTagNumber
.BMPString:
160
case
UniversalTagNumber
.IA5String:
161
case
UniversalTagNumber
.NumericString:
162
case
UniversalTagNumber
.PrintableString:
163
case
UniversalTagNumber
.UTF8String:
164
case
UniversalTagNumber
.T61String:
169
return tavReader.ReadCharacterString((
UniversalTagNumber
)tag.TagValue).TrimEnd('\0');
170
case
UniversalTagNumber
.OctetString:
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (7)
135
switch ((
UniversalTagNumber
)tag.TagValue)
137
case
UniversalTagNumber
.BMPString:
138
case
UniversalTagNumber
.UTF8String:
139
case
UniversalTagNumber
.IA5String:
140
case
UniversalTagNumber
.PrintableString:
141
case
UniversalTagNumber
.NumericString:
142
case
UniversalTagNumber
.T61String:
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
294
UniversalTagNumber
.IA5String,
System.Security.Cryptography.Pkcs (33)
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (19)
34
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.T61String), "TeletexString");
35
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.PrintableString), "PrintableString");
36
ensureUniqueTag(new Asn1Tag((
UniversalTagNumber
)28), "UniversalString");
37
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.UTF8String), "Utf8String");
38
ensureUniqueTag(new Asn1Tag(
UniversalTagNumber
.BMPString), "BmpString");
51
writer.WriteCharacterString(
UniversalTagNumber
.T61String, TeletexString);
60
writer.WriteCharacterString(
UniversalTagNumber
.PrintableString, PrintableString);
72
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)28)))
94
writer.WriteCharacterString(
UniversalTagNumber
.UTF8String, Utf8String);
103
writer.WriteCharacterString(
UniversalTagNumber
.BMPString, BmpString);
149
if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.T61String)))
151
decoded.TeletexString = reader.ReadCharacterString(
UniversalTagNumber
.T61String);
153
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.PrintableString)))
155
decoded.PrintableString = reader.ReadCharacterString(
UniversalTagNumber
.PrintableString);
157
else if (tag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)28)))
162
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.UTF8String)))
164
decoded.Utf8String = reader.ReadCharacterString(
UniversalTagNumber
.UTF8String);
166
else if (tag.HasSameClassAndValue(new Asn1Tag(
UniversalTagNumber
.BMPString)))
168
decoded.BmpString = reader.ReadCharacterString(
UniversalTagNumber
.BMPString);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (6)
68
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, Rfc822Name, new Asn1Tag(TagClass.ContextSpecific, 1));
77
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, DnsName, new Asn1Tag(TagClass.ContextSpecific, 2));
138
writer.WriteCharacterString(
UniversalTagNumber
.IA5String, Uri, new Asn1Tag(TagClass.ContextSpecific, 6));
219
decoded.Rfc822Name = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 1));
223
decoded.DnsName = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 2));
246
decoded.Uri = reader.ReadCharacterString(
UniversalTagNumber
.IA5String, new Asn1Tag(TagClass.ContextSpecific, 6));
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (1)
206
internal string ReadCharacterString(
UniversalTagNumber
encodingType, Asn1Tag? expectedTag = default)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
121
expected.TagValue == (int)
UniversalTagNumber
.ObjectIdentifier,
System\Security\Cryptography\Pkcs\Asn1\CertificateChoiceAsn.xml.cs (3)
34
ensureUniqueTag(new Asn1Tag((
UniversalTagNumber
)16), "Certificate");
54
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
197
if (tag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
System\Security\Cryptography\Pkcs\Asn1\IssuerAndSerialNumberAsn.xml.cs (2)
29
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
93
if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (1)
34
!validateTag.HasSameClassAndValue(new Asn1Tag((
UniversalTagNumber
)16)))