17 instantiations of CborReader
System.Formats.Cbor (1)
System\Formats\Cbor\Writer\CborWriter.cs (1)
158
var reader = new
CborReader
(manager.Memory, conformanceMode: conformanceMode, allowMultipleRootLevelValues: false);
System.Security.Cryptography.Cose (16)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
247
var reader = new
CborReader
(value.EncodedValue);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (4)
137
var reader = new
CborReader
(EncodedValue);
164
var reader = new
CborReader
(EncodedValue);
191
var reader = new
CborReader
(EncodedValue);
220
var reader = new
CborReader
(EncodedValue);
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
217
var reader = new
CborReader
(encodedAlg);
System\Security\Cryptography\Cose\CoseMessage.cs (10)
98
return DecodeCoseSign1Core(new
CborReader
(cborPayload));
115
return DecodeCoseSign1Core(new
CborReader
(manager.Memory));
138
reader = new
CborReader
(coseSignArray);
184
return DecodeCoseMultiSignCore(new
CborReader
(cborPayload));
201
return DecodeCoseMultiSignCore(new
CborReader
(manager.Memory));
224
reader = new
CborReader
(coseSignArray);
275
var protectedHeaderReader = new
CborReader
(protectedHeaderAsBstr);
358
var reader = new
CborReader
(coseSignature);
386
var reader = new
CborReader
(encodedArray);
566
var reader = new
CborReader
(critHeaderValue.EncodedValue);
25 references to CborReader
System.Formats.Cbor (6)
System\Formats\Cbor\Reader\CborReader.cs (2)
50
/// <summary>Initializes a <see cref="
CborReader
" /> instance over the specified <paramref name="data" /> with the given configuration.</summary>
85
/// Resets the <see cref="
CborReader
"/> instance over the specified <paramref name="data"/> with unchanged configuration.
System\Formats\Cbor\Reader\CborReader.Map.cs (2)
201
private readonly
CborReader
_reader;
203
public KeyEncodingComparer(
CborReader
reader)
System\Formats\Cbor\Reader\CborReaderState.cs (1)
71
/// <para>If <see cref="
CborReader
.AllowMultipleRootLevelValues" /> is set to <see langword="false" />,
System\Formats\Cbor\Writer\CborWriter.cs (1)
158
var
reader = new CborReader(manager.Memory, conformanceMode: conformanceMode, allowMultipleRootLevelValues: false);
System.Security.Cryptography.Cose (19)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
247
var
reader = new CborReader(value.EncodedValue);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (4)
137
var
reader = new CborReader(EncodedValue);
164
var
reader = new CborReader(EncodedValue);
191
var
reader = new CborReader(EncodedValue);
220
var
reader = new CborReader(EncodedValue);
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
217
var
reader = new CborReader(encodedAlg);
System\Security\Cryptography\Cose\CoseMessage.cs (13)
121
private static CoseSign1Message DecodeCoseSign1Core(
CborReader
reader)
207
private static CoseMultiSignMessage DecodeCoseMultiSignCore(
CborReader
reader)
258
private static CborTag? DecodeTag(
CborReader
reader)
267
private static void DecodeProtectedBucket(
CborReader
reader, CoseHeaderMap headerParameters, out byte[] protectedHeaderAsBstr)
275
var
protectedHeaderReader = new CborReader(protectedHeaderAsBstr);
291
private static void DecodeUnprotectedBucket(
CborReader
reader, CoseHeaderMap headerParameters)
296
private static void DecodeBucket(
CborReader
reader, CoseHeaderMap headerParameters)
314
private static byte[]? DecodePayload(
CborReader
reader)
330
private static byte[] DecodeSignature(
CborReader
reader)
335
private static List<CoseSignature> DecodeCoseSignaturesArray(
CborReader
reader)
358
var
reader = new CborReader(coseSignature);
386
var
reader = new CborReader(encodedArray);
566
var
reader = new CborReader(critHeaderValue.EncodedValue);